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
  1. Go to Settings → Credentials → Connect HubSpot
  2. Complete the OAuth flow — authorise FlowMaticX for Contacts, Deals, and Notes access
  3. The credential is saved as HubSpot — [your email]

---

Actions
ActionDescription
upsert_contactCreate or update a contact matched by email
create_dealCreate a new deal and associate it with a contact
add_noteAdd a timeline note to a contact or deal
update_propertySet a specific property on an existing contact

---

Required fields
upsert_contact
FieldRequiredDescription
emailYesContact email — used as the match key
firstNameNoMaps to HubSpot firstname
lastNameNoMaps to HubSpot lastname
companyNoCompany name
phoneNoPhone number
websiteNoCompany website
lifecycleStageNoleadmarketingqualifiedleadsalesqualifiedleadopportunity

Output: {{variables.hubspotContact}} — includes id, email, createdAt

create_deal
FieldRequiredDescription
dealNameYesDeal name (e.g. "{{lead.businessName}} — SEO Audit")
contactIdYesHubSpot contact ID — use {{variables.hubspotContact.id}}
amountNoDeal value in your HubSpot currency
stageNoPipeline 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" }