Create a Salesforce case from Slack

BotsCRMMarketing

What it does

When someone runs the Salesforce create case command in Slack, this automation searches for the account and creates a case when found. It replies in Slack so the channel knows whether the case was created.

Who it's for

Customer support teams who need to open a Salesforce case from Slack without leaving the conversation.

How teams use this

Open a case from a support conversation

Someone in a customer support channel runs the create case command with the account name and issue. The case appears in Salesforce and the channel gets confirmation without anyone leaving Slack.

Route cases to a different team

Move this automation to a dedicated support channel so cases are created from a single place. The flow stays the same and only the channel where the command runs changes.

Add priority and category to new cases

Extend the command to include priority and category fields so each new case in Salesforce is created with those details set. The automation checks for the account the same way and only adds the extra fields.

How it works

  1. Run the create case command. Type the Salesforce create case command in a Slack channel or direct message with the account name and case details.
  2. Search for the account. Search Salesforce for an account that matches the name provided in the command so the case links to the right customer.
  3. Create the case if account exists. When an account ID is found, create a new case in Salesforce tied to that account with the details from the command.
  4. Reply with the outcome. Post a message in Slack confirming the case was created or explaining why it was not so the channel knows the result.