π€ Sync Stripe charges to HubSpot contacts
β‘ 1,888 views Β· π€ CRM & Sales Operations
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
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 datanode will merge the customer information with the charges so that the next nodeAggregate totalscan calculate the total amount charged per contact. - Once we have the total amount charged per contact, the
Create or update customernode 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
HTTP Request, HubSpot, Stripe, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File