Check new HubSpot contacts for GDPR cold email compliance with Precleared
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs on a schedule (cron 0 8 * * 1-5) (plus 1 other trigger). Along the way it connects HubSpot and Slack. It also calls api.hubapi.com and precleared.dev over HTTP.
How it runs
Trigger: On a schedule (cron 0 8 * * 1-5) (plus 1 other trigger).
- Your settings (Edit Fields (Set)): sets 10 fields: sender_country, pitch, default_address_source…
- Create the property group (HTTP Request): calls api.hubapi.com (POST)
- Find unchecked contacts (HubSpot): search (contact)
- Property definitions (Code): runs custom JavaScript code
- Prepare each check (Code): runs custom JavaScript code
- Create the properties (HTTP Request): calls api.hubapi.com (POST)
- Check with Precleared (HTTP Request): calls precleared.dev (POST)
- Setup result (Code): runs custom JavaScript code
- Read the answer (Code): runs custom JavaScript code
- What happened? (Switch): routes items into 2 branches
…plus 10 more steps. See the full node list below.
Services it uses
Other HubSpot + Slack templates (137)
HTTP calls to: api.hubapi.com, precleared.dev
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HubSpot
n8n-nodes-base.hubspot - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Slack
n8n-nodes-base.slack - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick overview This workflow runs every weekday morning to check new HubSpot contacts with Precleared for GDPR/PECR-style cold email compliance, then writes the verdict, rule/source, next steps, footer requirements, and receipt back to HubSpot, optionally…