Link new creative requests to related deal records
When a new creative request lands on your board, its matching deal is found and linked to it, so the request owner sees the opportunity context straight away.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/link-new-creative-requests-to-related-deal-records/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Marketing · Marketing creative
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/link-new-creative-requests-to-related-deal-records
Set it up with the CLI
- Add it. Copies the folder into
zaps/link-new-creative-requests-to-related-deal-records/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/link-new-creative-requests-to-related-deal-records - 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 link-new-creative-requests-to-related-deal-records - Check it. Its recent runs, with status and errors.
npx zap-pack logs link-new-creative-requests-to-related-deal-records
zaps/link-new-creative-requests-to-related-deal-records/
- 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/monday.tsThe
mondayaccount it uses - triggers/item-created-in-board.tsWhat starts it:
mondayitem_created_in_board1 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 item is created on the creative requests board in monday.com (
monday,item_created_in_board). - Normalize: the request's title is split on common separators and the first word is taken as the search token. If the title is empty, the run stops and writes nothing.
- monday searches the deal board for items whose name matches that token. If nothing matches, the run stops and no deal record is created.
- monday updates the new request item and sets its board-relation column to the first matching deal.
The Zap only reads the requests and deal boards and edits the request's relation column. Nothing is sent to anyone.
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 |
|---|---|---|
REPLACE_REQUESTS_BOARD_ID |
config.ts, REQUESTS_BOARD_ID; triggers/item-created-in-board.ts, board_id |
The creative requests board the trigger watches |
REPLACE_DEAL_BOARD_ID |
config.ts, DEAL_BOARD_ID |
The deal tracker board to search for a matching deal |
REPLACE_RELATION_COLUMN_ID |
config.ts, RELATION_COLUMN_ID |
The board-relation column on the requests board that receives the deal |
The trigger and config.ts share REPLACE_REQUESTS_BOARD_ID, so one answer fills both.
Also review the default with them: DEAL_NAME_COLUMN is name, the item name column of the deal board. The match uses the title's first word, so confirm that is specific enough for their titles.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/link-new-creative-requests-to-related-deal-records, replace each REPLACE_… value as this file says, then run npx zap-pack deploy link-new-creative-requests-to-related-deal-records, 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
mondayto the user's monday.com connection, for the account that can read the deal board and edit the requests board. It is the only account. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/item-created-in-board.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 connection and sample the trigger, since it has one, before the first test run. Fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test, using a test request on the requests board and a test deal on the deal board whose name starts with Acme:
{
"id": "1234567890",
"name": "Acme spring campaign banner"
}
Confirm that the request item's relation column now links to the deal whose name starts with Acme, and that no other item changed. If run-status tools aren't available, check the result in monday.com directly. Then publish and confirm the trigger is active. The user deletes test data, not the agent.
Notes
- The match uses only the first word of the title, so a short or generic first word can match the wrong deal. Make sure the deal name column is distinctive.
- If several deals match, the first result is linked, so duplicate deal names link to whichever monday.com returns first.
- To create a deal when none matches, add a create-item step on the deal board after the search. To copy the matched deal's owner onto the request, add a step after the link that sets the request's person column.