Automations
HubSpot Node
6 min readnode-hubspot
Create or update HubSpot contacts, deals, and notes — sync every FlowMaticX lead into your HubSpot CRM automatically.
HubSpot Node
Connects to HubSpot via OAuth and lets you create contacts, update properties, create deals, and add notes — all from a single automation node.
---
Setup
- Go to Settings → Credentials → Connect HubSpot
- Complete the OAuth flow — authorise FlowMaticX for Contacts, Deals, and Notes access
- The credential is saved as
HubSpot — [your email]
---
Actions
| Action | Description |
|---|---|
upsert_contact | Create or update a contact matched by email |
create_deal | Create a new deal and associate it with a contact |
add_note | Add a timeline note to a contact or deal |
update_property | Set a specific property on an existing contact |
---
Required fields
upsert_contact
| Field | Required | Description | |||
|---|---|---|---|---|---|
email | Yes | Contact email — used as the match key | |||
firstName | No | Maps to HubSpot firstname | |||
lastName | No | Maps to HubSpot lastname | |||
company | No | Company name | |||
phone | No | Phone number | |||
website | No | Company website | |||
lifecycleStage | No | lead | marketingqualifiedlead | salesqualifiedlead | opportunity |
Output: {{variables.hubspotContact}} — includes id, email, createdAt
create_deal
| Field | Required | Description |
|---|---|---|
dealName | Yes | Deal name (e.g. "{{lead.businessName}} — SEO Audit") |
contactId | Yes | HubSpot contact ID — use {{variables.hubspotContact.id}} |
amount | No | Deal value in your HubSpot currency |
stage | No | Pipeline stage internal name |
---
Example config (upsert)
json
{
"action": "upsert_contact",
"credentialId": "cred_hs_abc",
"email": "{{lead.email}}",
"firstName": "{{lead.firstName}}",
"lastName": "{{lead.lastName}}",
"company": "{{lead.businessName}}",
"phone": "{{lead.phone}}",
"website": "{{lead.website}}",
"lifecycleStage": "lead"
}