Slack reaction to triage channel
React to a Slack message with :ticket: and it's posted to your triage channel with a link back to it.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/slack-reaction-triaging/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/slack-reaction-triaging
Set it up with the CLI
- Add it. Copies the folder into
zaps/slack-reaction-triaging/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/slack-reaction-triaging - 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 slack-reaction-triaging - Check it. Its recent runs, with status and errors.
npx zap-pack logs slack-reaction-triaging
zaps/slack-reaction-triaging/
- 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 1 to fill in
- connections/slack.tsThe
slackaccount it uses - triggers/new-reaction-added.tsWhat starts it:
slacknew_reaction_added_v31 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: someone adds the :ticket: reaction to a message in the watched channel (
slack,new_reaction_added_v3). The trigger brings the message text and its permalink. - Slack posts "Support request: <message text>" and the permalink to the triage channel.
Ask the user
Each REPLACE_… value is set per person. Resolve channel names to IDs with the user's Slack connection; don't ask them to paste an ID you can look up.
| Setting | Where | What goes there |
|---|---|---|
REPLACE_WATCHED_CHANNEL_ID |
triggers/new-reaction-added.ts, conversation |
The channel whose messages get the :ticket: reaction |
SLACK_CHANNEL_ID |
config.ts |
The channel that gets the triage posts |
The two must be different channels, or a :ticket: on a triage post posts it again.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/slack-reaction-triaging, replace each REPLACE_… value as this file says, then run npx zap-pack deploy slack-reaction-triaging, 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 both channels. The trigger and the action use the same one. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-reaction-added.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 action's fields with the user's connection before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test, with the triage channel set to one the user controls:
{
"message": {
"raw_text": "[install-test] customer cannot log in",
"permalink": "https://your-workspace.slack.com/archives/C0123456789/p0000000000000001"
}
}
Check that one message appears in the triage channel with that text. If run-status tools aren't available, read the triage channel directly. Then publish, confirm the trigger is active, and do the real thing once: react to a message in the watched channel with :ticket: and check the triage channel. Ask the user to delete the test messages.
Notes
- To watch every channel, remove
conversationfrom the trigger. The triage channel is then watched too, so keep :ticket: off triage posts. - To also open a helpdesk ticket, add a step after the post that creates one in the helpdesk app.