Send brand color palette to requesting user and log it
When someone asks for the brand colors with a slash command, they get the palette posted back in Slack and the request is logged in Airtable for tracking.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-brand-color-palette-to-requesting-user-and-log-it/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Design · Brand management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/send-brand-color-palette-to-requesting-user-and-log-it
Set it up with the CLI
- Add it. Copies the folder into
zaps/send-brand-color-palette-to-requesting-user-and-log-it/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/send-brand-color-palette-to-requesting-user-and-log-it - 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 send-brand-color-palette-to-requesting-user-and-log-it - Check it. Its recent runs, with status and errors.
npx zap-pack logs send-brand-color-palette-to-requesting-user-and-log-it
zaps/send-brand-color-palette-to-requesting-user-and-log-it/
- 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/airtable.tsThe
airtableaccount it uses - connections/slack.tsThe
slackaccount it uses - triggers/hook.tsWhat starts it:
webhookhook_v2 - 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 slash command arrives at a Webhooks by Zapier catch hook (
webhook,hook_v2). The chat platform posts the command to it. - Airtable looks for an existing request row with the same requester ID. If there is none, it creates a row with the requester, command, text and origin channel.
- Slack posts the brand palette to the channel, with the primary and complementary colors.
A requester gets one row: repeat requests post the palette again but add no second row.
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 |
|---|---|
REPLACE_AIRTABLE_BASE_ID |
The Airtable base that holds the request log |
REPLACE_AIRTABLE_TABLE_NAME |
The table in that base with one row per palette request |
REPLACE_SLACK_CHANNEL_ID |
The Slack channel that receives the palette |
Also review the defaults with them: the column names in config.ts (AIRTABLE_REQUESTER_ID_FIELD, AIRTABLE_REQUESTER_NAME_FIELD, AIRTABLE_COMMAND_FIELD, AIRTABLE_MESSAGE_FIELD, AIRTABLE_ORIGIN_FIELD), which must match the table's field names exactly; RESOURCE_PREFIX, which is [install-test] for testing and "" once installed; and PRIMARY_COLORS and COMPLEMENTARY_COLORS at the top of workflow.ts, which should be the brand's palette.
Confirm the chat platform posts the slash-command fields as user_id, user_name, command, text and channel_id. If it doesn't, tell the user before installing, because the code reads those names.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-brand-color-palette-to-requesting-user-and-log-it, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-brand-color-palette-to-requesting-user-and-log-it, 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
airtable(the account that owns the request log) andslack(a workspace account that can post to the channel) to the user's connections. Webhooks by Zapier needs no connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/hook.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 each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test (run_workflow_draft) before publishing:
{
"user_id": "UTEST0001",
"user_name": "install-test",
"command": "/brand-colors",
"text": "[install-test] palette request",
"channel_id": "C02M7813E"
}
Check that a row is created in the request table with [install-test] install-test as the requester name, that the palette message appears once in the test channel with the [install-test] prefix, and that running it again with the same user_id creates no second row. If run-status tools aren't available, check the result in Airtable and Slack directly. Then publish, confirm the trigger is active, and give the user their webhook URL to point their chat platform at. Ask the user to delete the test row and message, not the agent.
Notes
- Check the defaults on the first real run.
- Anyone who can post to the webhook URL can request the palette and create rows, so keep the URL private. Never commit a real base ID, channel ID or webhook URL.
- Not built here: a direct message to the requester (needs a DM target), Slack blocks for a richer layout (the channel message action takes plain text), a condensed mobile summary, and a log entry for requests from public channels.