Sync Stripe charges to HubSpot contacts

Nodes

1b52e0e3-10eb-496a-8f40-66894c44eb7afc075733-bb58-455a-b659-2f01823422732e3e39e3-0e17-4fae-9ac5-9ee31f9711ed8df5e80a-c33a-4c9e-b9a0-5389e41d7961767a4dc9-a96d-4faf-8994-3ca756304676+3

Categories

Created by

n8n8n Team

Last edited 38 days ago

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

  1. 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.
  2. Once property is acertained, the first Stripe node gets all charges.
  3. Once the charges are returned, the second Stripe node gets extra customer information.
  4. 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.
  5. 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.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!