New contact — HubSpot

SETUP: add a “hubspot” credential in Admin → Credentials, then Test sends for real — the node is pre-wired with ${credential.…} references. Until then this demo saves and verifies but the send will report the missing credential. Creates the CRM contact the moment a lead converts.

What’s inside

3 nodes — every type links to its full reference page.

StepNodeType
Converted lead Inject input.inject
Create contact HubSpot storage.hubspot
CRM Console utility.console

Import it

  1. Studio → Import — paste the JSON below (or the URL /docs/templates/new-contact-hubspot.json).
  2. Or ask the AI Copilot with the JSON pasted after the phrase:
    import this workflow json into a new workflow named "New contact — HubSpot"
  3. Any credentials the nodes need are ${credential.…} references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "New contact — HubSpot",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Converted lead",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {
          "email": "ada@example.test",
          "company": "Acme"
        }
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "c",
      "type": "storage.hubspot",
      "label": "Create contact",
      "category": "io",
      "config": {
        "credentialId": "",
        "accessToken": "${credential.hubspot.token}",
        "operation": "create",
        "objectType": "contacts",
        "properties": {
          "email": "{{ $json.email }}",
          "company": "{{ $json.company }}"
        },
        "baseUrl": "",
        "timeoutMs": 15000
      },
      "position": {
        "x": 530,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "CRM",
      "category": "utility",
      "config": {
        "message": "contact created for {{ $json.email }}"
      },
      "position": {
        "x": 1060,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "seed",
      "sourcePort": "output",
      "targetNodeId": "c",
      "targetPort": "input"
    },
    {
      "id": "e1",
      "sourceNodeId": "c",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "seed"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "SETUP: add a “hubspot” credential in Admin → Credentials, then Test sends for real — the node is pre-wired with ${credential.…} references. Until then this demo saves and verifies but the send will report the missing credential. Creates the CRM contact the moment a lead converts."
  }
}

Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: new-contact-hubspot.json.