Back to Integrations
integrationWebhook node
integrationStripe node

Webhook and Stripe integration

Save yourself the work of writing custom integrations for Webhook and Stripe and use n8n instead. Build adaptable and scalable Development, Core Nodes, Finance & Accounting, and Sales workflows that work with your technology stack. All within a building experience you will love.

How to connect Webhook and Stripe

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Webhook and Stripe integration: Create a new workflow and add the first step

Step 2: Add and configure Webhook and Stripe nodes

You can find Webhook and Stripe in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Webhook and Stripe nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Webhook and Stripe integration: Add and configure Webhook and Stripe nodes

Step 3: Connect Webhook and Stripe

A connection establishes a link between Webhook and Stripe (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Webhook and Stripe integration: Connect Webhook and Stripe

Step 4: Customize and extend your Webhook and Stripe integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Webhook and Stripe with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Webhook and Stripe integration: Customize and extend your Webhook and Stripe integration

Step 5: Test and activate your Webhook and Stripe workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Webhook to Stripe or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Webhook and Stripe integration: Test and activate your Webhook and Stripe workflow

Automate QuickBooks sales receipts & customer creation from Stripe payments

This n8n template from Intuz provides a complete solution to automate your accounting by instantly creating QuickBooks sales receipts for every new Stripe payment.

This workflow automates the process of recording successful payments from Stripe into QuickBooks by creating corresponding Sales Receipts. It ensures payment data is captured accurately, checks whether the customer exists in QuickBooks, and creates a new customer if necessary before generating the receipt.

This integration streamlines bookkeeping by eliminating manual data entry and ensuring all payment records are synchronized between systems.

Who's this workflow for?
Accountants & Bookkeepers
Small Business Owners
E-commerce Managers
Finance Teams

How it works

  1. Trigger on Successful Payment: The workflow starts instantly when a payment_intent.succeeded event is received from Stripe via a webhook. This means it only runs after a payment is confirmed.

  2. Get Customer Details: It uses the customer ID from the payment to fetch the customer's full details (name and email) from Stripe.

  3. Check for Customer in QuickBooks: The workflow then searches your QuickBooks account to see if a customer with that name already exists.

  4. Create Customer if New: If the customer is not found in QuickBooks, a new customer record is automatically created using the information from Stripe.

  5. Generate Sales Receipt: Finally, using the correct customer record (either existing or newly created) and the payment amount, the workflow creates and saves a new sales receipt in QuickBooks, perfectly matching the Stripe transaction.

Key Requirements to Use This Template

  1. n8n Instance: An active n8n account (Cloud or self-hosted).
  2. Stripe Account: An active Stripe account with API access. You must be able to create and manage webhooks.
  3. QuickBooks Online Account: An active QuickBooks Online account with API access to manage customers and sales receipts.

Setup Instructions

  1. Configure the Webhook Trigger:
    Copy the webhook URL from the Capture Payment (Webhook) node in n8n.
    In your Stripe dashboard, go to Developers > Webhooks and add a new endpoint.
    Paste the n8n webhook URL and have it listen for the payment_intent.succeeded event.

  2. Connect Stripe:
    In the Get a customer node, connect your Stripe account credentials.

  3. Connect QuickBooks:
    In all three QuickBooks nodes (Find Customer, Create a customer, and Create a payment), connect your QuickBooks Online account using OAuth2 credentials.

  4. Activate Workflow:
    Save the workflow and toggle the "Active" switch to ON. Your accounting automation is now live!

Connect with us
Website: https://www.intuz.com/n8n-workflow-automation-templates
Email: [email protected]
LinkedIn: https://www.linkedin.com/company/intuz
Get Started: https://n8n.partnerlinks.io/intuz

For Custom Worflow Automation
Click here- Get Started

Nodes used in this workflow

Popular Webhook and Stripe workflows

Automate Cancellation Feedback Collection with Stripe and Google Sheets

Who's it for This template is perfect for any SaaS business or subscription service using Stripe. Product managers, customer success teams, and founders can use this to automatically collect cancellation feedback without manual follow-up. Ideal for companies looking to reduce churn by understanding why customers leave. What it does When a customer cancels their Stripe subscription, this workflow instantly: Detects the cancellation via Stripe webhook Fetches customer details from Stripe API Sends a personalized feedback survey email with embedded customer information Logs all cancellations to Google Sheets for tracking Receives survey responses via webhook Automatically routes feedback to different Google Sheets based on reason (pricing concerns, feature requests, or other feedback) This organized approach helps you identify patterns in cancellations and prioritize improvements that matter most. How it works Stripe triggers the workflow when a subscription is canceled Customer data is fetched from the Stripe API (email, name, plan details) Personalized email is sent with a survey link containing customer data as URL parameters Cancellation is logged to a Google Sheets "Cancellations" tab When the customer submits the survey, a webhook receives the response Feedback is routed to dedicated sheets based on cancellation reason: Price Concerns → for pricing-related issues Feature Requests → for missing functionality Other Feedback → for everything else Set up steps Setup time: ~20 minutes Prerequisites Stripe account (test mode recommended for initial setup) Google account with Google Sheets Email service (Gmail, Outlook, or SMTP) Survey tool with webhook support (Tally or Typeform recommended) Configuration Stripe webhook: Copy the webhook URL from the "Stripe Subscription Canceled" node and add it to your Stripe Dashboard → Webhooks. Select the customer.subscription.deleted event. Email credentials: Configure Gmail, Outlook, or SMTP credentials in the "Send Feedback Survey Email" node. Update the fromEmail parameter. Survey form: Create a survey form with these fields: Hidden fields (auto-populated from URL): email, customer_id, name, plan Visible fields: reason dropdown ("Too Expensive", "Missing Features", "Other"), comments textarea Configure webhook to POST responses to the "Survey Response Webhook" URL Google Sheets: Create a spreadsheet with 4 sheets: "Cancellations", "Price Concerns", "Feature Requests", and "Other Feedback". Connect your Google account in the Google Sheets nodes. Survey URL: Replace [SURVEY_URL] in the email template with your actual survey form URL. Test: Use Stripe test mode to trigger a test cancellation and verify the workflow executes correctly. Requirements Stripe account with API access Google Sheets (free) Email service: Gmail, Outlook, or SMTP server Survey tool: Tally (free), Typeform (paid), or custom form with webhook capability n8n instance: Cloud or self-hosted How to customize Different surveys by plan: Add an IF node after getting customer details to send different survey links based on subscription tier Slack notifications: Add a Slack node after "Route by Feedback Type" to alert your team about price concerns in real-time Delayed email: Insert a Wait node before sending the email to give customers a 24-hour cooldown period CRM integration: Add nodes to sync cancellation data with your CRM (HubSpot, Salesforce, etc.) Follow-up workflow: Create a separate workflow that triggers when feedback is received to send personalized follow-up offers Custom routing logic: Modify the Switch node conditions to match your specific survey options or add more categories Tips for success Use Stripe test mode initially to avoid sending emails to real customers during setup Customize the email tone to match your brand voice Keep the survey short (2-3 questions max) for higher response rates Review feedback weekly to identify patterns and prioritize improvements Consider offering a discount or incentive for completing the survey

Automate QuickBooks sales receipts & customer creation from Stripe payments

This n8n template from Intuz provides a complete solution to automate your accounting by instantly creating QuickBooks sales receipts for every new Stripe payment. This workflow automates the process of recording successful payments from Stripe into QuickBooks by creating corresponding Sales Receipts. It ensures payment data is captured accurately, checks whether the customer exists in QuickBooks, and creates a new customer if necessary before generating the receipt. This integration streamlines bookkeeping by eliminating manual data entry and ensuring all payment records are synchronized between systems. Who's this workflow for? Accountants & Bookkeepers Small Business Owners E-commerce Managers Finance Teams How it works Trigger on Successful Payment: The workflow starts instantly when a payment_intent.succeeded event is received from Stripe via a webhook. This means it only runs after a payment is confirmed. Get Customer Details: It uses the customer ID from the payment to fetch the customer's full details (name and email) from Stripe. Check for Customer in QuickBooks: The workflow then searches your QuickBooks account to see if a customer with that name already exists. Create Customer if New: If the customer is not found in QuickBooks, a new customer record is automatically created using the information from Stripe. Generate Sales Receipt: Finally, using the correct customer record (either existing or newly created) and the payment amount, the workflow creates and saves a new sales receipt in QuickBooks, perfectly matching the Stripe transaction. Key Requirements to Use This Template n8n Instance: An active n8n account (Cloud or self-hosted). Stripe Account: An active Stripe account with API access. You must be able to create and manage webhooks. QuickBooks Online Account: An active QuickBooks Online account with API access to manage customers and sales receipts. Setup Instructions Configure the Webhook Trigger: Copy the webhook URL from the Capture Payment (Webhook) node in n8n. In your Stripe dashboard, go to Developers > Webhooks and add a new endpoint. Paste the n8n webhook URL and have it listen for the payment_intent.succeeded event. Connect Stripe: In the Get a customer node, connect your Stripe account credentials. Connect QuickBooks: In all three QuickBooks nodes (Find Customer, Create a customer, and Create a payment), connect your QuickBooks Online account using OAuth2 credentials. Activate Workflow: Save the workflow and toggle the "Active" switch to ON. Your accounting automation is now live! Connect with us Website: https://www.intuz.com/n8n-workflow-automation-templates Email: [email protected] LinkedIn: https://www.linkedin.com/company/intuz Get Started: https://n8n.partnerlinks.io/intuz For Custom Worflow Automation Click here- Get Started

Build your own Webhook and Stripe integration

Create custom Webhook and Stripe workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Stripe supported actions

Get
Get a balance
Create
Create a charge
Get
Get a charge
Get Many
Get many charges
Update
Update a charge
Create
Create a coupon
Get Many
Get many coupons
Create
Create a customer
Delete
Delete a customer
Get
Get a customer
Get Many
Get many customers
Update
Update a customer
Add
Add a customer card
Get
Get a customer card
Remove
Remove a customer card
Create
Create a meter event
Create
Create a source
Delete
Delete a source
Get
Get a source
Create
Create a token

Webhook and Stripe integration details

integrationWebhook node
Webhook

Webhooks are automatic notifications that apps send when something occurs. They are sent to a certain URL, which is effectively the app's phone number or address, and contain a message or payload. Polling is nearly never quicker than webhooks, and it takes less effort from you.

Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more
Use case

Supercharge your CRM

Need a more powerful integration with your CRM? n8n lets you go beyond standard integrations offered by popular CRMs!

Learn more

FAQs

  • Can Webhook connect with Stripe?

  • Can I use Webhook’s API with n8n?

  • Can I use Stripe’s API with n8n?

  • Is n8n secure for integrating Webhook and Stripe?

  • How to get started with Webhook and Stripe integration in n8n.io?

Need help setting up your Webhook and Stripe integration?

Discover our latest community's recommendations and join the discussions about Webhook and Stripe integration.
Benjamin Hatton
Albert Ashkhatoyan
Víctor González
Salomão
sg tech

Looking to integrate Webhook and Stripe in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Webhook with Stripe

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon