Archive Slack channel when case closes in Salesforce
BotsCollaborationCRMMarketing
What it does
When someone runs the archive channel command in Slack, this automation finds the related case in Salesforce. If the conversation ID matches a case ID, it updates the case and archives the channel so the team knows the work is complete.
Who it's for
Customer support teams who archive Slack channels when cases close in Salesforce.
Apps used
How teams use this
Close cases and archive channels together
Run the archive channel command to update the case status in Salesforce and remove the channel from the active list at the same time. Both systems stay synchronized with one command.
Prevent orphaned channels after case closure
Archive the channel automatically when the case closes so no one continues work in a channel tied to a resolved issue. The team avoids confusion about which channels are still active.
Add a notification before archiving
Include a Slack message that alerts the channel members before the archive happens so they can save important details. Set a delay to give the team time to react.
Filter channels by case type
Only archive the channel if the Salesforce case type matches a specific category like billing or technical support. This prevents accidental archiving of channels tied to other case types.
How it works
- Run the archive channel command. Type the archive channel command in Slack to start the automation and provide the conversation ID.
- Search for the related case. Search Salesforce for a case with an ID that matches the Slack conversation ID from the command.
- Update the case status. Update the Salesforce case to mark it as closed or resolved when a match is found.
- Archive the channel. Archive the Slack channel so the team sees the work is done and the channel is no longer active.