CHATBOTS

HR Bot Escalation: Open an Email Case When the Bot Can't Answer

When the Slack HR bot fails to resolve a question, this flow gathers the thread, opens a tracked case by emailing People Ops, and tells the employee a human is now on it.

CategoryChatbots
Enginesim
Difficultybeginner
Triggerevent
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMessage tagged 'unresolved' in SlackSlack
  • ActionCollect question and thread contextSlack
  • ActionWrite case summary and categoryOpenAI
  • ActionEmail structured case to People Ops inboxGmailGmail
  • OutputConfirm handoff in Slack threadSlack

What it does

This is the human-handoff half of the helpdesk bot. When a Slack question is flagged unresolved, the flow captures the full thread context, sends a structured case email to the People Ops inbox via Gmail, and posts a confirmation back to the employee so they know it's no longer with the bot.

When to use it

Use this alongside your handbook bot when you want every unanswered question to become a real, trackable HR case instead of disappearing into a channel nobody re-reads.

How it works

  1. 1The flow triggers when a message is tagged `unresolved` (the bot's escalation reaction or label).
  2. 2It collects the original question and any thread replies for context.
  3. 3An LLM step writes a concise case summary with a suggested category (leave, benefits, payroll).
  4. 4A Gmail action emails the People Ops inbox with the summary, employee name, and a Slack permalink.
  5. 5The bot replies in the Slack thread confirming a People team member will follow up.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect GmailRead, draft, send, label.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.