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.

difficulty Beginnersetup 20 minresult A hands-off pipeline where every new Stripe payment is automatically send an email via Gmail in Gmail.
  1. 1

    Add the Stripe Trigger node

    Start with a Stripe Trigger node — connect your Stripe account with your API key as a credential, then set Events to payment_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. 2

    Map the fields with a Set node

    Add a Set node after the trigger to shape the data cleanly. Create fields: amount to {{ $json.data.object.amount_received / 100 }} (cents to dollars), email to {{ $json.data.object.receipt_email }}, payment_id to {{ $json.data.object.id }}, and currency to {{ $json.data.object.currency }}. This turns the raw payload into tidy values your destination can use.

  3. 3

    Send it to Gmail

    Add a Gmail node set to operation Send. Connect your Google account, set To, Subject and Message from the Set-node fields to fire off a clean notification or confirmation email.

  4. 4

    Activate and test

    Click Activate in 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.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.