Automate HR support with AI helpdesk assistant
Each new HR question in your Slack channel gets an instant answer from your FAQ table, or is escalated to HR, and every request is logged in a Zapier Table.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/answer-hr-questions-from-slack-with-ai-helpdesk/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Human Resources (HR) · HR operations
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/answer-hr-questions-from-slack-with-ai-helpdesk
Set it up with the CLI
- Add it. Copies the folder into
zaps/answer-hr-questions-from-slack-with-ai-helpdesk/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/answer-hr-questions-from-slack-with-ai-helpdesk - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy answer-hr-questions-from-slack-with-ai-helpdesk - Check it. Its recent runs, with status and errors.
npx zap-pack logs answer-hr-questions-from-slack-with-ai-helpdesk
zaps/answer-hr-questions-from-slack-with-ai-helpdesk/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 3 to fill in
- connections/slack.tsThe
slackaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/channel-message.tsWhat starts it:
slackchannel_message1 to fill in - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new message is posted to the HR help channel (
slack,channel_message). Bot posts and threaded replies are ignored. - Slack replies in the thread: "Processing your request, hang tight!"
- Zapier Tables reads every row of the HR FAQ table.
- AI by Zapier answers the question using only those FAQ rows. If they don't cover it, it returns a fixed "NO RESPONSE" phrase.
- Zapier Tables adds a row to the HR request table with the question, the requester's email, the Slack link, the time, the AI answer (if any), and whether the request was escalated or answered.
- Slack replies in the thread with the answer, or says the request has been escalated to the HR team.
Every new question gets a request row. The Zap never edits Slack messages or anyone's HR records.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
channel (trigger) |
The Slack channel employees post HR questions in. Look up its ID (C…) with the user's Slack connection. |
SLACK_CHANNEL_ID |
The same channel. Keep it identical to the trigger's value. |
FAQ_TABLE_ID |
The Zapier Table of HR FAQs: ask which table it is, then look up its ID in the table's URL with the user's Zapier Tables connection. |
REQUEST_TABLE_ID |
The Zapier Table that logs HR requests, looked up the same way. It needs the columns named in config.ts. |
Also review the defaults with them:
MODEL_ID:standard/autolets Zapier pick a model. Change it only if the user wants a specific one.- The FAQ and request column keys (
FAQ_QUESTION_FIELD,REQUEST_TEXT_FIELDand the rest): keys such asf1are the table's columns in order, not header names. Map the user's headers to their column positions.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/answer-hr-questions-from-slack-with-ai-helpdesk, replace each REPLACE_… value as this file says, then run npx zap-pack deploy answer-hr-questions-from-slack-with-ai-helpdesk, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
slackto a Slack connection for a workspace member who can read and post in the HR channel, andzapier-tablesto the connection that owns both tables. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/channel-message.tsandconnections/are settings: set the workflow's trigger and connection bindings from them. For the trigger'sselected_api, callsearch_triggerswith the slugslack, find the row whosekeyischannel_message, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the trigger's fields, the Zapier Tables
find_recordsandcreate_recordactions, and the AIget_completionaction with the user's connections before the first test run. Fix any key inworkflow.tsthat doesn't match.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP), in a test channel the user owns, with a question that is in the FAQ table and a second one that is not:
{
"ts": "1700000000.000100",
"text": "How do I update my benefits?",
"permalink": "https://example.slack.com/archives/C0123456789/p1700000000000100",
"user": { "id": "U0000000000", "profile": { "email": "test@example.com" } }
}
Confirm that the thread gets the acknowledgement and then an answer, and that one row appears in the request table with the answer filled in and "Successfully deflected" set. Repeat with a question the FAQs don't cover: the thread should get the escalation message and the row should be marked escalated. If run-status tools aren't available, check the thread and the table directly. The user deletes the test rows, not the agent.
Notes
- Once the Zap is published and its trigger is active, every top-level message in the channel is answered or escalated. Keep the FAQ table current, because the AI answers only from it.
- The AI answers only from the FAQ rows it is given. It can be wrong when the FAQs are vague, so the HR team should review the request table.
- Never commit a real channel ID, table ID or email address.