Create delay log for deals entering document delay stage
When a deal moves into the document delay stage, a row is added to your delay log with the deal, the time and an open triage flag, so nothing stuck on paperwork goes unnoticed.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-delay-log-for-deals-entering-document-delay-stage/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Sales · Pipeline management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-delay-log-for-deals-entering-document-delay-stage
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-delay-log-for-deals-entering-document-delay-stage/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-delay-log-for-deals-entering-document-delay-stage - 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 create-delay-log-for-deals-entering-document-delay-stage - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-delay-log-for-deals-entering-document-delay-stage
zaps/create-delay-log-for-deals-entering-document-delay-stage/
- 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 2 to fill in
- connections/pipedrive.tsThe
pipedriveaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/updated-deal-stage.tsWhat starts it:
pipedriveupdated_deal_stage_v3 - 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 Pipedrive deal's stage is updated (Pipedrive, Updated Deal Stage:
pipedrive,updated_deal_stage_v3). Its stage setting is left empty, because the workflow filters on the stage itself. - The workflow stops unless the deal moved into the document-delay stage set in
DELAY_STAGE_ID. - Zapier Tables looks for a row with the same deal ID. If one exists, the run stops and writes nothing.
- Zapier Tables creates a row: the deal ID, the update time from Pipedrive, the stage ID as the delay status, and
Openin the triage status column.
Each deal gets one log row, so a deal that re-enters the delay stage later adds nothing.
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 |
|---|---|
DELAY_STAGE_ID |
The Pipedrive stage that holds deals waiting on documents. Look it up with the user's Pipedrive connection; deals moving into any other stage are skipped. |
DELAY_LOG_TABLE_ID |
The Zapier Table that holds the delay log. Its columns, in order, must be Deal ID (Text), Updated at (Date & Time), Delay status (Text) and Triage status (Text). Look it up with the user's Zapier Tables connection. |
Also review the default with them: INITIAL_TRIAGE_STATUS ("Open") is the text written to each new row's Triage status column. Ask whether they want new deals to start at something else.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-delay-log-for-deals-entering-document-delay-stage, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-delay-log-for-deals-entering-document-delay-stage, 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
zapier-tablesto the user's Zapier Tables connection, which holds the delay log. The trigger usespipedrive, the user's Pipedrive connection for the account that owns the deals. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/updated-deal-stage.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 with a deal ID that is not yet in the log, and with stage_id set to the DELAY_STAGE_ID you chose so the run is not skipped:
{
"id": "1001",
"stage_id": "5",
"update_time": "2026-10-29T10:15:00Z"
}
Check that the log gained one row for that deal, with the update time, the stage in Delay status, and Open in Triage status. Run it again with the same deal ID and check that no second row appears. If run-status tools aren't available, check the result in Zapier Tables directly. Ask the user to delete the test rows; the agent does not delete data. Then publish, and confirm the trigger is active.
Notes
- Zapier Tables shows the update time in the table's own format and time zone.
- To log only some pipelines or deal types, add a check on the deal's pipeline or type before the lookup step.
- To flag high-value deals for expedited triage, add a check on the deal's value and write a higher-priority status for deals above the threshold.
- Never commit a real table ID or stage ID to a shared copy of this workflow.