Manage FAQs and requests from Slack with AI
Questions posted in your help channel get an answer from your FAQ table; anything it can't answer is logged as a request in your help requests table and the thread says so.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/answer-slack-faqs-and-log-requests-with-ai/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/answer-slack-faqs-and-log-requests-with-ai
Set it up with the CLI
- Add it. Copies the folder into
zaps/answer-slack-faqs-and-log-requests-with-ai/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/answer-slack-faqs-and-log-requests-with-ai - 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-slack-faqs-and-log-requests-with-ai - Check it. Its recent runs, with status and errors.
npx zap-pack logs answer-slack-faqs-and-log-requests-with-ai
zaps/answer-slack-faqs-and-log-requests-with-ai/
- 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 help channel (
slack,channel_message). Bot posts are ignored. - Workflow skips replies inside an existing thread and empty messages, since those are not new questions.
- Zapier Tables (
zapier-tables) reads every record in the FAQ table. - AI by Zapier (
ai) reads the question against those FAQ records. It answers only when the FAQ clearly covers the question. - If it answers, Slack replies in the question's thread with the answer.
- If it doesn't, Zapier Tables adds a record to the help requests table with the question, the requester's email, the Slack link and the thread timestamp, with the escalate box ticked. Slack replies in the thread that the support team has it.
The Zap only reads the FAQ table and adds to the help requests table. It never edits or deletes records, and it never changes Slack messages other than replying in the thread.
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 | Where | What goes there |
|---|---|---|
SLACK_CHANNEL_ID |
config.ts, and channel in triggers/channel-message.ts |
The help channel where questions are posted: look up its ID (C…) with the user's Slack connection |
FAQ_TABLE_ID |
config.ts |
The Zapier Table of FAQ questions and answers: ask which table it is, then take its ID from the table's URL |
HELP_TABLE_ID |
config.ts |
The Zapier Table where unanswered requests are logged: ask which table it is, then take its ID from the table's URL |
Use the same channel ID in both places, or the replies and the trigger will watch different channels.
Also review the field IDs with the user. FAQ_QUESTION_FIELD (f1) and FAQ_ANSWER_FIELD (f2) are the FAQ table's question and answer columns. The HELP_*_FIELD values (f1, f2, f3, f6, f7) are the help requests table's request, requester, escalate, Slack link and thread timestamp columns. Map them to the user's columns if they differ, and add a Checkbox column for the escalate flag.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/answer-slack-faqs-and-log-requests-with-ai, replace each REPLACE_… value as this file says, then run npx zap-pack deploy answer-slack-faqs-and-log-requests-with-ai, 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 the user's Slack connection for the workspace with the help channel, andzapier-tablesto the user's Zapier Tables connection for the account that owns both tables.airuns on AI by Zapier's managed credentials and needs no connection of its own. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/channel-message.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, 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 Slack
channel_messagetrigger's output, the Zapier Tablesfind_recordsandcreate_recordfields, and the AI by Zapierget_completionoutputs with the user's connections before the first test run. Confirm the Tables find-records output is a list of records whosedataholds the FAQ fields, and 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 test FAQ and a test help requests table, not their live ones:
{
"ts": "1700000000.000100",
"text": "How do I request a new laptop?",
"permalink": "https://example.slack.com/archives/C000000/p1700000000000100",
"user": { "profile": { "email": "test.user@example.com" } }
}
Confirm that the reply shows an answer from the test FAQ, or that one new help request row appears with the question and the escalate box ticked and the thread reply says the support team has it. If run-status tools aren't available, check the reply and the table directly. The user deletes the test reply and row, not the agent.
Notes
- Every top-level message in the channel is treated as a question. To answer only messages with a reaction, change the trigger to Slack's
new_reaction_added_v3event. - The AI only sees the FAQ table's records. Keep the FAQ short and current, since the AI cannot answer from anything else.
- The template this came from also ran ClickUp tasks, priority prompts, reaction-based feedback and an FAQ builder from the thread history. Those are not in this zap; add them as separate zaps if you need them.
- Never commit a real Slack channel ID, table ID or email address.