Notify finance of new payment charges by email
Every new Stripe charge sends your finance team a short email with the amount, status and a link to the charge, so issues get triaged the same day.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/notify-finance-of-new-payment-charges-by-email/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Finance · Payment operations
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/notify-finance-of-new-payment-charges-by-email
Set it up with the CLI
- Add it. Copies the folder into
zaps/notify-finance-of-new-payment-charges-by-email/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/notify-finance-of-new-payment-charges-by-email - 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 notify-finance-of-new-payment-charges-by-email - Check it. Its recent runs, with status and errors.
npx zap-pack logs notify-finance-of-new-payment-charges-by-email
zaps/notify-finance-of-new-payment-charges-by-email/
- 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/stripe.tsThe
stripeaccount it uses - triggers/charge.tsWhat starts it:
stripenew_charge - 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 completed charge in Stripe (
stripe,new_charge). Each charge starts one run. Failed payments are a separate Stripe trigger and don't start this one (see Notes). - Email by Zapier sends one plain-text email to the finance recipients. The subject carries the charge ID and status. The body has the amount, currency, status and a link to the charge in the Stripe dashboard.
The Zap only sends email. It never changes or refunds a charge.
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 |
|---|---|
FINANCE_RECIPIENTS |
The finance and billing email addresses that get each charge email, comma separated, up to five |
Also review the default with them: SEND_EMAIL in workflow.ts (true sends the email; false only logs the charge).
Before turning it on, confirm the user has a Stripe connection for the account whose charges they want. The trigger cannot run without it.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/notify-finance-of-new-payment-charges-by-email, replace each REPLACE_… value as this file says, then run npx zap-pack deploy notify-finance-of-new-payment-charges-by-email, 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
stripeto the user's Stripe connection. The trigger uses it. Email by Zapier needs no connection and gets no alias. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/charge.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, if it has one) 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 FINANCE_RECIPIENTS set to an address the user controls so no one else gets the test email:
{
"id": "ch_test_0001",
"amount": 2500,
"currency": "usd",
"status": "succeeded"
}
Check that one email arrived with the subject New Stripe charge ch_test_0001 (succeeded) and that the body shows the amount, currency, status and the dashboard link. If run-status tools aren't available, check the inbox directly. Then publish, confirm the trigger is active, and ask the user to delete the test emails. The user deletes test data, not the agent.
Notes
- Email by Zapier sends from a zapiermail.com address and is limited to 10 sends an hour on paid plans. A busy account will hit that limit; use Gmail or SMTP for higher volume.
- Stripe amounts are in the smallest currency unit (cents), and the email shows the raw number.
- To escalate high-value charges, add a Filter before the email that routes charges above a threshold to a second list. To also email failed payments, build a second Zap from this folder under its own name with Stripe's
failed_paymenttrigger, and inspect its sample first: it carries the payment attempt, so its fields may not matchInputSchema. - Never commit a real finance address. Anyone with it can read charge details.