Skip to content
FlowHubFluxonLab
C
HubSpotfree

Sync Stripe charges to HubSpot contacts

by n8n Teamadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeHTTP RequestHTTP RequestHubSpotHubSpotStripeStripe
Share Post Share
IfIf charge has customerIf charge has c…Get customerScOn scheduleILRemove duplicate customersRemove duplicat…ILAggregate `amount_captured`Aggregate `amou…CoAggregate totalsCreate or update customerCreate or updat…MeMerge dataGet all chargesHRGet HubSpot fieldGet HubSpot fie…HRCreate field in HubSpotCreate field in…SeConfigureIfSkip field checkingSkip field chec…NODo nothingIfIf field exists1234567891011121314151617
1/5
STEPS · 17
Runs on a schedule

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.

Tags

n8nreference-onlyhubspotstripe
Connects
CCodeWHTTP RequesthubspotHubSpotstripeStripe
CategoryHubSpot
Triggermanual
Complexitycomplex
Nodes15
AddedJan 5, 2023

Related workflows

See all HubSpot
Whubspot
free

Validate website of new companies in Hubspot

This workflow uses a Hubspot Trigger to check for new companies. It then checks the companies website exists using the HTTP node. If it doesn't, a message is sent to Slack. To configure this workflow you will need to set the credentials for the Hubspot and Slack Nodes. You will also need to select the Slack channel to use for sending the message.

by Jonathan
Whubspotlemlist
free

lemlist GPT-3: Supercharge your sales workflows

Use GPT-3 to classify email responses in lemlist. And automate: Slack alerts when a lead is interested the creation of tasks when a lead is OOO unsubscription of leads when they request it

by Lucas Perret
hubspotzendesk
free

Update HubSpot contacts with Zendesk tickets

This workflow automatically syncs your Zendesk tickets to your HubSpot contacts. Every 5 minutes, your Zendesk account collects all the new or updated tickets and syncs them accordingly, with your HubSpot contacts database. Prerequisites Zendesk account and Zendesk credentials HubSpot account and HubSpot credentials How it works Cron node triggers the workflow every 5 minutes. Function Item node checks all the tickets received after the last execution timestamp. Zendesk node collects all tickets updated after last execution. Zendesk node collects the user data of ticket requester. Set node collects the contact`s email, name and externalID. Merge by key node combines two inputs, ticket data and ticket requester data. If node splits the workflow conditionally, based on data received. If the data corresponds to a ticket that already exists, HubSpot node will update the ticket. If the data does not correspond to a ticket, HubSpot node creates/updates the contact. Zendesk node updates the external Id in Zendesk for the said contact. HubSpot node creates a new ticket. Zendesk node updates the ticket with the external Id. The Function Item node sets the new last execution timestamp.

by n8n Team