Bidirectional company sync between ProspectPro and HubSpot with status tracking
UnknownWhat this workflow does
This workflow has 21 nodes and runs on Prospectpro events (plus 1 other trigger). Along the way it connects HubSpot and Prospectpro (community). It also calls api.hubapi.com over HTTP.
How it runs
Trigger: On Prospectpro events (plus 1 other trigger).
- Get prospect (Prospectpro): get
- No Existing Errors? (If): checks a condition and branches into true / false
- return { result: false }; (Code): runs custom JavaScript code
- Continue? (If): checks a condition and branches into true / false
- Search Companies by Bedrijfsdata ID (HTTP Request): calls api.hubapi.com (POST)
- Set Tag: HubspotSyncFailed (Code): runs custom JavaScript code
- Found by ID? (If): checks a condition and branches into true / false
- Update Tags: Fail (Prospectpro): patch
- Set hsCompany (Code): runs custom JavaScript code
- Has Domain? (If): checks a condition and branches into true / false
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: api.hubapi.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @bedrijfsdatanl/n8n-nodes-prospectpro is verified or supports 3.0 (used in Get prospect, Update Tags: Success, Update Tags: Fail).
- Check that @bedrijfsdatanl/n8n-nodes-prospectpro is verified or supports 3.0 (used in ProspectPro Trigger Example).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Prospectpro
@bedrijfsdatanl/n8n-nodes-prospectpro.prospectpro - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - HubSpot
n8n-nodes-base.hubspot - Prospectpro Trigger
@bedrijfsdatanl/n8n-nodes-prospectpro.prospectproTrigger
From the author
This template syncs prospects from ProspectPro into HubSpot. It checks if a company already exists in HubSpot (by ProspectPro ID or domain), then updates the record or creates a new one. Sync results are logged back in ProspectPro with tags to prevent…