Bulk Operations Overview
Bulk operations allow you to perform actions on multiple campaigns simultaneously, saving time when managing many campaigns. All operations respect organization context and role-based permissions.Selecting Campaigns
Individual Selection
Select campaigns individually by clicking the checkbox next to each campaign in the list. Selection Behavior:- Checkbox toggles selection state
- Selected campaigns highlighted
- Selection persists during filtering/searching
- Cleared after bulk operation completes
Select All
Use the checkbox in the table header to select all visible campaigns. Scope:- Selects all campaigns currently displayed
- Respects current filters and search
- Does not select campaigns on other pages (pagination)
- Does not select campaigns not visible (filtered out)
- Only selects campaigns you can see (based on permissions)
- In organization mode: Only selects campaigns you have access to
- In personal mode: Only selects your own campaigns
Deselecting
Methods:- Click individual checkboxes to deselect
- Click header checkbox again to deselect all
- Use “Clear Selection” button in bulk actions bar
- Selection cleared automatically after bulk operation
Bulk Actions Bar
When campaigns are selected, a bulk actions bar appears showing: Information:- Number of selected campaigns
- Available bulk actions (based on selection)
- Clear selection button
- Enable (if any disabled)
- Disable (if any enabled)
- Launch (if any draft/paused)
- Stop (if any active)
- Delete (if permitted)
- Actions only shown if you have permissions
- Some actions may be disabled based on campaign status
- Error messages shown for unauthorized operations
Available Bulk Operations
Enable Campaigns
Enable multiple disabled campaigns at once. Requirements:- Selected campaigns must be disabled (
enabled = false) - You must have edit permissions for all selected campaigns
- Campaigns can be in any status
- Select disabled campaigns
- Click “Enable” in bulk actions bar
- Each campaign’s
enabledflag set totrue - Campaigns can now be launched (if status allows)
- Owner: Can enable own campaigns
- Admin: Can enable own campaigns
- Member: Can enable own campaigns
- Owner/Admin: Can enable other members’ campaigns (if can edit)
- Member: Cannot enable other members’ campaigns
- Success count: Number of campaigns successfully enabled
- Error count: Number of campaigns that failed
- Error details: Specific errors for failed campaigns
Disable Campaigns
Disable multiple campaigns to prevent launching and stop active executions. Requirements:- Selected campaigns can be in any status
- You must have edit permissions for all selected campaigns
- Select campaigns to disable
- Click “Disable” in bulk actions bar
- Each campaign’s
enabledflag set tofalse - All active executions cancelled immediately
- Campaigns cannot be launched until re-enabled
- Owner: Can disable own campaigns
- Admin: Can disable own campaigns
- Member: Can disable own campaigns
- Owner/Admin: Can disable other members’ campaigns (if can edit)
- Member: Cannot disable other members’ campaigns
- Active executions cancelled immediately
- Campaigns cannot be launched
- Different from pause (cannot launch when disabled)
- Success count: Number of campaigns successfully disabled
- Cancelled executions: Total executions cancelled across all campaigns
- Error count: Number of campaigns that failed
Launch Campaigns
Start multiple campaigns simultaneously. Requirements:- Selected campaigns must be in
draftorpausedstatus - Campaigns must be enabled (
enabled = true) - Telegram accounts must be connected and healthy
- At least one contact selected per campaign
- You must have launch permissions for all selected campaigns
- Select campaigns in
draftorpausedstatus - Click “Launch” in bulk actions bar
- Each campaign’s status changes to
active(orscheduledif scheduled) - Paused executions resume
- Completed executions reset (if applicable)
- Workers pick up executions on next cycle
- Owner: Can launch own campaigns
- Admin: Can launch own campaigns
- Member: Can launch own campaigns
- Cannot launch other members’ campaigns (even with view access)
draft→active(orscheduled)paused→active- Other statuses skipped with error message
- Success count: Number of campaigns successfully launched
- Skipped count: Number of campaigns skipped (wrong status)
- Error count: Number of campaigns that failed
Stop Campaigns
Stop multiple active campaigns immediately. Requirements:- Selected campaigns must be
activeorpaused - You must have stop permissions for all selected campaigns
- Select active or paused campaigns
- Click “Stop” in bulk actions bar
- Confirm the stop action
- Each campaign’s status changes to
cancelled - All active executions cancelled immediately
- Progress lost (cannot resume)
- Owner: Can stop own campaigns
- Admin: Can stop own campaigns
- Member: Can stop own campaigns
- Owner/Admin: Can stop other members’ campaigns (if can edit)
- Member: Cannot stop other members’ campaigns
- All active executions cancelled
- Progress lost (cannot resume)
- Must duplicate to restart
- Success count: Number of campaigns successfully stopped
- Cancelled executions: Total executions cancelled across all campaigns
- Error count: Number of campaigns that failed
Delete Campaigns
Permanently remove multiple campaigns (soft delete). Requirements:- Selected campaigns can be in any status (except
active- must stop first) - You must have delete permissions for all selected campaigns
- Select campaigns to delete
- Click “Delete” in bulk actions bar
- Confirm the deletion
- Each campaign’s
deleted_attimestamp set - Campaigns hidden from list (soft delete)
- Statistics and logs preserved
- Owner: Can delete own campaigns
- Admin: Can delete own campaigns
- Member: Can delete own campaigns
- Owner/Admin: Can delete other members’ campaigns
- Member: Cannot delete other members’ campaigns
activecampaigns must be stopped first- Other statuses can be deleted directly
- Success count: Number of campaigns successfully deleted
- Skipped count: Number of campaigns skipped (active status)
- Error count: Number of campaigns that failed
Bulk Operation Results
After performing a bulk operation, you’ll see: Success Message:- Number of campaigns successfully processed
- Summary of operation results
- Updated status for affected campaigns
- Number of campaigns that couldn’t be processed
- Specific errors for each failed campaign
- Reasons for failures (permissions, status, etc.)
- Campaigns reflect their new status
- Selection automatically cleared
- List refreshed to show changes
- If some campaigns fail, operation continues for remaining campaigns
- Check error messages for details
- Retry failed campaigns individually if needed
Limitations
Operation Limits
Batch Processing:- Bulk operations process campaigns in batches
- Large selections may take time to process
- Progress indicator shown for long operations
- Some operations may have rate limits
- Large bulk operations may be throttled
- Wait between operations if rate limited
- Operations timeout after 60 seconds
- Large selections may need to be split
- Use smaller batches if timeout occurs
Status Restrictions
Enable/Disable:- Works on any status
- No status restrictions
- Only
draftandpausedcampaigns - Other statuses skipped with error
- Only
activeandpausedcampaigns - Other statuses skipped with error
- Any status except
active(must stop first) activecampaigns skipped with error
Permission Restrictions
Own Campaigns:- All roles can perform bulk operations on own campaigns
- Subject to status restrictions
- Owner: Can perform bulk operations (subject to status)
- Admin: Can perform bulk operations (subject to status)
- Member: Cannot perform bulk operations on other members’ campaigns
- If selection includes campaigns you cannot edit:
- Operation fails for unauthorized campaigns
- Authorized campaigns processed successfully
- Error message shows which campaigns failed
Organization Context
Personal Mode:- Only your own campaigns visible
- No organization campaigns in selection
- Complete isolation
- Selection respects view mode (
ownvsall) ownmode: Only your campaigns selectableallmode: All organization campaigns selectable (Owner/Admin only)- Members cannot select other members’ campaigns
Best Practices
Before Bulk Operations
- Review Selection: Double-check which campaigns are selected
- Verify Status: Ensure campaigns are in correct status for operation
- Check Permissions: Verify you have permissions for all selected campaigns
- Backup Important: Consider duplicating important campaigns before bulk delete
- Test First: Try bulk operations on small group first
During Bulk Operations
- Wait for Completion: Don’t navigate away during bulk operations
- Monitor Progress: Watch for success/error messages
- Check Results: Verify campaigns were processed correctly
- Handle Errors: Review error messages and retry if needed
After Bulk Operations
- Review Changes: Check that campaigns have expected status
- Verify Results: Confirm operation achieved your goals
- Document: Note what was changed and why
- Monitor: Watch for any unexpected behavior
Troubleshooting
Bulk Operation Fails
Check:- Selected campaigns are in correct status
- You have permissions for all selected campaigns
- Campaigns are not locked by another process
- Requirements met (contacts, accounts, etc.)
- Verify permissions and status
- Try smaller batches
- Check error messages for details
- Retry failed campaigns individually
Some Campaigns Not Processed
Check:- Their status (may not be eligible)
- Your permissions (may not have access)
- Requirements (contacts, accounts, etc.)
- Review error messages
- Check campaign status individually
- Verify permissions
- Try processing them individually
Selection Cleared Unexpectedly
Behavior:- Selection cleared automatically after bulk operation
- This is normal behavior
- Re-select campaigns if needed
- Re-select campaigns for next operation
- Use filters to narrow down campaigns
- Check if page was refreshed
Timeout Errors
Symptoms:- Operation times out after 60 seconds
- Large selections fail
- Split selection into smaller batches
- Process campaigns in groups
- Use individual operations for large sets
Use Cases
Campaign Cleanup
Use bulk delete to clean up:- Old test campaigns
- Completed campaigns no longer needed
- Duplicate campaigns
- Failed campaigns
- Filter campaigns to clean up
- Select all visible campaigns
- Bulk delete
- Confirm deletion
Campaign Launch
Use bulk launch to:- Start multiple campaigns at once
- Launch scheduled campaigns together
- Resume multiple paused campaigns
- Filter campaigns to launch
- Select campaigns in
draftorpausedstatus - Bulk launch
- Monitor progress
Campaign Management
Use bulk enable/disable to:- Temporarily disable multiple campaigns
- Enable campaigns after maintenance
- Manage campaign availability
- Select campaigns to manage
- Bulk enable or disable
- Verify status changes
Emergency Stop
Use bulk stop to:- Stop multiple problematic campaigns
- Emergency halt of all active campaigns
- Cancel executions across campaigns
- Filter active campaigns
- Select all active campaigns
- Bulk stop
- Confirm stop action
