Skip to main content

Sync Stripe charges to HubSpot contacts

Workflow preview

Workflow preview
100%
Sync Stripe charges to HubSpot contacts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 sto...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.if, n8n-nodes-base.stripe, n8n-nodes-base.scheduletrigger, n8n-nodes-base.itemlists, n8n-nodes-base.code, n8n-nodes-base.hubspot, n8n-nodes-base.merge, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by n8n Team.

Original n8n.io source

1.1 Workflow description

Title
Sync Stripe charges to HubSpot contacts
Workflow name
Sync Stripe charges to HubSpot contacts

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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - If charge has customer

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 2 - Get customer

Type / Role
n8n-nodes-base.stripe - stripe
Config choices
Version 1

Block 3 - On schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1

Block 4 - Remove duplicate customers

Type / Role
n8n-nodes-base.itemLists - itemLists
Config choices
Version 1

Block 5 - Aggregate `amount_captured`

Type / Role
n8n-nodes-base.itemLists - itemLists
Config choices
Version 1

Block 6 - Aggregate totals

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 7 - Create or update customer

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 1

Block 8 - Merge data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2

Block 9 - Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Get all charges

Type / Role
n8n-nodes-base.stripe - stripe
Config choices
Version 1

Block 13 - Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Get HubSpot field

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 16 - Create field in HubSpot

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 17 - Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Configure

Type / Role
n8n-nodes-base.set - set
Config choices
Version 1

Block 19 - Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Skip field checking

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 22 - Do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 23 - Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - If field exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

3. Summary Table

Workflow Sync Stripe charges to HubSpot contacts
Complexity advanced
Nodes 24
Categories CRM
Author n8n Team
Published 05 Jan 2023

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/1855/1855.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sync Stripe charges to HubSpot contacts do?

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 sto...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.