Send approval nudge for procurement requests to approver
When a procurement request reaches approval, the approver gets a Slack message with the key details and a link, so requests stop sitting unseen.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-approval-nudge-for-procurement-requests-to-approver/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Business Owners · Procurement operations
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/send-approval-nudge-for-procurement-requests-to-approver
Set it up with the CLI
- Add it. Copies the folder into
zaps/send-approval-nudge-for-procurement-requests-to-approver/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/send-approval-nudge-for-procurement-requests-to-approver - 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-approval-nudge-for-procurement-requests-to-approver - Check it. Its recent runs, with status and errors.
npx zap-pack logs send-approval-nudge-for-procurement-requests-to-approver
zaps/send-approval-nudge-for-procurement-requests-to-approver/
- 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/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 procurement system posts a request to the Webhooks by Zapier catch hook (
webhook,hook_v2). The payload must carryrecord_id,approver_emailandphase. - Phase check: if the request's
phaseis not the approval phase, the run stops and sends nothing. - Slack finds the approver by the
approver_emailin the payload. If no Slack user matches, the run stops and sends nothing. - Slack sends the approver a direct message: the request title, vendor, cost center, requester, the summary if there is one, and a link to the record.
Anyone with the catch-hook URL can post requests into this Zap, so keep that URL private.
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_RECORD_URL_PREFIX |
config.ts |
The start of the procurement system's request page URL, up to the request ID and ending in a slash |
Defaults worth reviewing with them:
APPROVAL_PHASE: the exact phase string that means "waiting for approval" in their system. Defaults to"Awaiting approval".
Prerequisite questions:
- Does the procurement system send the payload's fields as
record_id,approver_email,phase,title,vendor,cost_center,requester_emailandsummary? If it uses other names, rename them inworkflow.tsbefore building. - Should the nudge go to each approver directly (the default), or to a team channel for group approvals?
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-approval-nudge-for-procurement-requests-to-approver, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-approval-nudge-for-procurement-requests-to-approver, 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 where approvers sit. 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 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 an approver email that has a Slack account in the connected workspace, and with the request URL pointed at a page the user controls:
{
"record_id": "PR-INSTALL-TEST-1001",
"approver_email": "approver@example.com",
"title": "[install-test] Office chairs",
"phase": "Awaiting approval",
"vendor": "[install-test] Example Furniture Co",
"cost_center": "CC-000 (test)",
"requester_email": "requester@example.com",
"summary": "[install-test] 12 ergonomic chairs, $4,800 total"
}
Check that the run finishes with both steps completed, that the output has sent: true, and that the approver receives one direct message with the title, vendor, cost center, requester, summary and an Open request PR-INSTALL-TEST-1001 link. If run-status tools aren't available, check the result in Slack directly. Then publish, confirm the trigger is active, and do the real thing once. Ask the user to delete the test message, not the agent.
Notes
- A request whose approver is not in Slack is skipped, not retried. The run output says
approver-not-found, so check the run log if nudges go missing. - The Zap reads everything from the webhook payload and doesn't call the procurement system. Add a step that fetches the full request if the payload is too thin.
- To send to a team channel instead of a direct message, change the Slack action to post to that channel.
- To copy the requester's manager on high-value requests, add a second Slack message gated on a cost threshold.