Automate Customer Creation from Pipedrive to Stripe with n8n

This workflow automates the process of creating Stripe customers from updated deals in Pipedrive when a deal’s won time changes, saving sales teams hours of manual data entry and reducing errors.
pipedriveTrigger
if
pipedrive
+2
Workflow Identifier: 1435
NODES in Use: Pipedrive Trigger, If, Pipedrive, HTTP Request, Stripe

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow updates Stripe customer records automatically when a deal is won in Pipedrive.
It stops users from doing manual work and making mistakes.
When a deal’s “won time” changes, it creates a customer in Stripe if one does not exist.
The result is faster billing and fewer errors.


Who should use this workflow

This workflow fits sales managers or teams who use Pipedrive to track deals and Stripe for billing.
It helps those who want to reduce manual data entry and prevent duplicate customer records.


Tools and services used

  • Pipedrive API: For deal updates and organization data.
  • Stripe API: To search and create customers.
  • n8n automation platform: To build and run the workflow.
  • Optional hosting: self-host n8n can be used for control over automation.

Input, processing, and output

Inputs

  • Deal update event from Pipedrive when any deal changes.
  • Fields “won time” and organization ID from the deal data.

Processing steps

  • Check if the deal’s “won time” changed using an If node.
  • Retrieve organization info from Pipedrive using the organization ID.
  • Search Stripe customers by organization name with an HTTP Request node.
  • Use another If node to verify if the customer exists.
  • If no customer exists, merge organization data and create a new Stripe customer with name and complete address.

Output

A new customer is created in Stripe matching the Pipedrive organization.
Duplicate customers are avoided.
Address and contact info are copied to Stripe.


Beginner step-by-step: How to use this workflow in n8n

Step 1: Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside the n8n editor, click “Import from File” and select the downloaded file.

Step 2: Add credentials

  1. Add your Pipedrive API Key in n8n credentials.
  2. Set up your Stripe API Key in n8n credentials.

Step 3: Update workflow settings

  1. Check the Pipedrive Trigger node is connected to your Pipedrive account.
  2. If necessary, update organization or pipeline IDs in expression fields.
  3. Verify the Stripe HTTP Request node and Stripe node use your Stripe credentials.

Step 4: Test the workflow

  1. In Pipedrive, change the “won time” of a deal.
  2. Check that the workflow runs in n8n and creates or finds a customer in Stripe.

Step 5: Activate for production

  1. Toggle the workflow on using n8n’s activation button.
  2. Monitor execution logs for errors.
  3. Option to set retry rules for failure handling.

Using the workflow import is easier than building from scratch.
For hosting needs, use self-host n8n.


Common customization ideas

  • Add phone number from Pipedrive organization to Stripe customer.
  • Send Slack message to sales team after new customer creation.
  • Filter deals by a certain pipeline ID before running customer creation.
  • Log created customer details with a Code node using JavaScript.

Handling errors and edge cases

  • If the Pipedrive Trigger node never gets data, check if the webhook is active.
  • If Stripe API returns 401 Unauthorized, double-check Stripe API Key and permissions.
  • If the If node comparing won times acts wrong, verify JSON path and expression syntax.
  • Be careful with address mapping. Missing street or city can cause Stripe creation to fail.

Summary of results

✓ Avoid manual customer creation in Stripe.
✓ Stop duplicate customers in billing.
✓ Keep Pipedrive and Stripe data in sync.
✓ Faster and accurate invoice processing.
➔ More time for sales and less billing errors.

Frequently Asked Questions

The workflow monitors the deal “won time” field for any changes using the Pipedrive Trigger node and an If node.
Yes, the workflow can add a filter condition on the pipeline_id field to process specific pipelines.
The workflow uses Stripe’s customer search API and will not create a new customer if one is found.
Yes, users can use self-host n8n to run the workflow safely on their own infrastructure.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free