Sync Stripe charges to HubSpot contacts

Go to Workflow
1,604 views
Built by n8n Team n8n Team
Created on June 05, 2026

Description

This workflow pushes Stripe charges to HubSpot contacts. It uses the Stripe API to get all charges and the HubSpot API to update the contacts. The workflow will create a new HubSpot property to store the total amount charged. If the property already exists, it will update the property.

Prerequisites

Stripe credentials.
HubSpot credentials.

How it works

On a schedule, check if the property exists in HubSpot. If it doesn't exist, create it. The default schedule is once a day at midnight.
Once property is acertained, the first Stripe node gets all charges.
Once the charges are returned, the second Stripe node gets extra customer information.
Once the customer information is returned, Merge data node will merge the customer information with the charges so that the next node Aggregate totals can calculate the total amount charged per contact.
Once we have the total amount charged per contact, the Create or update customer node will create a new HubSpot contact if it doesn't exist or update the contact if it does exist with the total amount charged.

Nodes Used (4)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
HubSpot
n8n-nodes-base.hubspot
Stripe
n8n-nodes-base.stripe