Route Slack commands to Zendesk with natural language
BotsArtificial IntelligenceRecipe ToolsDeveloper Tool
What it does
When someone sends a natural language command to Slack Workbot, this automation searches a lookup table to find the matching Zendesk handler. It then routes the command or asks for clarification based on what it finds.
Who it's for
Customer support teams who want to handle Zendesk tickets through Slack using conversational commands.
How teams use this
Handle GitHub issues from Slack
Someone sends nlu_github to Slack Workbot and this automation finds the GitHub handler in the lookup table, extracts the issue details, and routes it to Zendesk. The team stays in Slack without switching tools.
Add tickets through conversational commands
Set up the lookup table to include nlu_add so someone can create a Zendesk ticket by typing a natural language phrase in Slack. The automation finds the entry and routes to the ticket creation handler.
Route commands across multiple support teams
Extend the lookup table with handlers for different teams so commands sent to Slack Workbot route to the right Zendesk queue. Each team gets tickets matched to their specialty.
Clarify ambiguous commands with the user
When a command matches multiple entries in the lookup table, this automation replies in Slack asking the person to be more specific. It prevents the wrong Zendesk handler from running.
How it works
- Receive a natural language command. Someone sends a command like nlu_github, nlu_add, or nlu_issue to Slack Workbot in real time after the natural language processor confirms their intent.
- Post NLU command reply. Slack Workbot posts a message back to the channel so the person knows the command was received and what happens next.
- Search the Zendesk NLU lookup table. Search for matching entries in the lookup table to find which Zendesk handler corresponds to the command the person sent.
- Extract context with Ruby code. Workato Custom Code runs Ruby to extract details from the command so the right Zendesk handler receives all the information it needs.
- Route to Zendesk or request clarification. If one match is found, call the Zendesk Search Main flow. If no match or multiple matches exist, reply in Slack so the person can refine the command.