Log Every Stripe Payment to Gmail Automatically
Every time a new Stripe payment comes in, n8n instantly captures the details and send an email via Gmail — no manual exports, no missed data, no code.
- 1
Add the Stripe Trigger node
Start with a
Stripe Triggernode — connect your Stripe account with your API key as a credential, then setEventstopayment_intent.succeeded. Copy the webhook URL n8n shows and paste it into your Stripe Dashboard under Developers > Webhooks > Add Endpoint. This fires the workflow the moment a new payment arrives. - 2
Map the fields with a Set node
Add a
Setnode after the trigger to shape the data cleanly. Create fields:amountto{{ $json.data.object.amount_received / 100 }}(cents to dollars),emailto{{ $json.data.object.receipt_email }},payment_idto{{ $json.data.object.id }}, andcurrencyto{{ $json.data.object.currency }}. This turns the raw payload into tidy values your destination can use. - 3
Send it to Gmail
Add a
Gmailnode set to operationSend. Connect your Google account, setTo,SubjectandMessagefrom the Set-node fields to fire off a clean notification or confirmation email. - 4
Activate and test
Click
Activatein the top-right of the canvas. Trigger a test payment in Stripe, then confirm it appears in Gmail. Once it works, you're done — every new payment now flows through automatically.
Frequently asked questions
Do I need any coding skills to set this up?
No. n8n is a visual, drag-and-drop tool. You connect your Stripe and Gmail accounts, point the nodes at the right form/sheet/channel, map the fields, and activate. No code required.
What happens if my n8n workflow is off when a payment comes in?
It depends on the source. Services like Stripe, Shopify and HubSpot retry webhook deliveries for a period, so events are processed once the workflow is back on. For the most reliable capture, run this on n8n Cloud (always online) or keep your self-hosted instance up.
Can I send each payment to more than one place at once?
Absolutely. Branch the workflow after the Set node: connect it to multiple destination nodes so the same payment lands in Gmail and, say, Slack or a spreadsheet simultaneously.
Keep every recipe free
FlowRecipesHub is free and always will be. If a workflow saved you time, chip in what you like — it helps us keep the lights on and build the next batch of automations for everyone.
One-tap support is being set up — check back soon. 💚
Secure checkout via Paddle · one-time, no account needed