{"product_id":"stripe-webhook-to-hubspot-contacts-closed-won-deals-n8n","title":"Stripe Webhook to HubSpot Contacts \u0026 Closed Won Deals (n8n)","description":"\u003ch3\u003eTurn Stripe payments into HubSpot Contacts + Closed Won Deals automatically (via n8n)\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n workflow\u003c\/strong\u003e listens for \u003cstrong\u003eStripe webhook events\u003c\/strong\u003e, pulls the customer’s details and payment amount, then \u003cstrong\u003ecreates or updates a matching contact in HubSpot\u003c\/strong\u003e and \u003cstrong\u003ecreates a “Closed Won” deal\u003c\/strong\u003e tied to that contact—so your CRM stays synced without manual work.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives Stripe webhooks\u003c\/strong\u003e through an HTTP POST endpoint in n8n.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProcesses supported events\u003c\/strong\u003e: \u003cem\u003echeckout.session.completed\u003c\/em\u003e and \u003cem\u003einvoice.paid\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts key payment details\u003c\/strong\u003e from the Stripe payload, including \u003cstrong\u003eemail, name, amount, currency\u003c\/strong\u003e, and the \u003cstrong\u003eStripe object ID\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSkips records without an email\u003c\/strong\u003e (if the payment does not include an email address, it won’t create\/update a HubSpot contact).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates or updates HubSpot contacts\u003c\/strong\u003e using the extracted email, first name, and last name.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a HubSpot deal\u003c\/strong\u003e in the \u003cstrong\u003e“closedwon”\u003c\/strong\u003e stage, sets the deal to the \u003cstrong\u003epayment amount\u003c\/strong\u003e, applies a \u003cstrong\u003eclose date\u003c\/strong\u003e, and \u003cstrong\u003eassociates the deal with the contact\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSync \u003cstrong\u003eSaaS subscriptions and one-time payments\u003c\/strong\u003e from Stripe into HubSpot as revenue wins.\u003c\/li\u003e\n  \u003cli\u003eAutomatically log transactions from \u003cstrong\u003echeckout.session.completed\u003c\/strong\u003e and \u003cstrong\u003einvoice.paid\u003c\/strong\u003e into your CRM.\u003c\/li\u003e\n  \u003cli\u003eReduce manual CRM updates for sales ops and finance—especially when payments happen after someone already entered your funnel.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStripe → n8n Webhook trigger\u003c\/strong\u003e (HTTP POST endpoint)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParsing + logic:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003eno op\u003c\/em\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHubSpot integration:\u003c\/strong\u003e \u003cem\u003ehubspot\u003c\/em\u003e node to read\/write \u003cstrong\u003econtacts\u003c\/strong\u003e and create \u003cstrong\u003edeals\u003c\/strong\u003e in \u003cstrong\u003eclosedwon\u003c\/strong\u003e stage\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIncludes\u003c\/strong\u003e sticky notes for workflow clarity\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup\u003c\/h3\u003e\n\u003cp\u003eCreate a \u003cstrong\u003eHubSpot private app token\u003c\/strong\u003e with permissions for contacts and deals, add it to n8n, then copy the workflow’s production webhook URL into \u003cstrong\u003eStripe Webhooks\u003c\/strong\u003e and subscribe to \u003cem\u003echeckout.session.completed\u003c\/em\u003e and \u003cem\u003einvoice.paid\u003c\/em\u003e. If your pipeline uses a different stage name, update the deal stage in the HubSpot deal node.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46203573633203,"sku":"N8N-20765","price":75.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/bLhaWZXa50lHJvF57ZXO7_vYTfWC2j.png?v=1791709331","url":"https:\/\/buyflowscripts.com\/products\/stripe-webhook-to-hubspot-contacts-closed-won-deals-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}