Create Zendesk ticket from Slack

BotsArtificial IntelligenceCustomer ServiceCRMMarketing

What it does

When someone runs the Zendesk create ticket command in Slack, this automation searches Zendesk and Salesforce for that person and account. It creates the ticket with the Slack user as the requester, or stops if the customer record does not exist.

Who it's for

Customer support teams who need to open a Zendesk ticket from Slack without leaving the conversation.

How teams use this

Open a ticket without leaving Slack

Create a Zendesk ticket from a Slack conversation with the customer details already in the message. The team stays in Slack and the ticket is ready in Zendesk.

Escalate tickets to engineering in Jira

After the Zendesk ticket is created, add a step to prompt the Slack user to escalate the incident to Jira as an engineering issue. The flow stays the same and only the final step changes.

Validate customer before creating ticket

Check that both the Zendesk user and Salesforce account exist before the ticket is made. If either is missing, the automation stops and notifies Slack so no orphan tickets are created.

Assign ticket to a team based on account

After finding the Salesforce account, add a condition to set the Zendesk ticket assignee based on the account type or region. This keeps tickets routed to the right support group from the start.

How it works

  1. Run the create ticket command. Type the Zendesk create ticket command in a Slack channel or direct message with the details needed to open the ticket.
  2. Search for the person in Zendesk. Search Zendesk for a user record matching the Slack user's email so the ticket is linked to the right person.
  3. Search for the account in Salesforce. Search Salesforce for an account matching the customer so the ticket is tied to the right business relationship.
  4. Create the ticket or stop. Create an incident type ticket in Zendesk with the Slack user as the requester, or reply in Slack that the customer was not found and stop.
  5. Confirm the ticket in Slack. Reply in the same Slack conversation so the channel knows the Zendesk ticket was created or why it was not.