{
  "nodes": [
    {
      "name": "create new contact",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        -300,
        1200
      ],
      "parameters": {
        "email": "={{$json[\"form_email\"]}}",
        "resource": "contact",
        "additionalFields": {
          "industry": "={{$json[\"form_department\"]}}",
          "lastName": "={{$json[\"form_lastname\"]}}",
          "firstName": "={{$json[\"form_firstname\"]}}",
          "companyName": "={{$json[\"form_companyname\"]}}"
        }
      },
      "typeVersion": 1,
      "id": "21797069-e7c6-426d-83b1-881997064dd6",
      "notes": "This hubspot node performs automated tasks as part of the workflow."
    },
    {
      "name": "update lead stage",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        100,
        1100
      ],
      "parameters": {
        "email": "={{$node[\"create new contact\"].json[\"properties\"][\"email\"][\"value\"]}}",
        "resource": "contact",
        "additionalFields": {
          "lifeCycleStage": "opportunity"
        }
      },
      "typeVersion": 1,
      "id": "4985b0bc-555e-4a51-8c15-24d6cb677e5e",
      "notes": "This hubspot node performs automated tasks as part of the workflow."
    },
    {
      "name": "NoOp",
      "type": "n8n-nodes-base.noOp",
      "position": [
        100,
        1300
      ],
      "parameters": {},
      "typeVersion": 1,
      "id": "c997b91d-a02a-466a-9185-297b39615588",
      "notes": "This noOp node performs automated tasks as part of the workflow."
    },
    {
      "name": "Set values",
      "type": "n8n-nodes-base.set",
      "position": [
        -500,
        1200
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "form_firstname",
              "value": "={{$json[\"First up, what's your name?\"]}}"
            },
            {
              "name": "form_lastname",
              "value": "={{$json[\"And your surname, [field:fda1954c-f7a3-4fd3-a8dc-dcad5160bab5]?\"]}}"
            },
            {
              "name": "form_department",
              "value": "={{$json[\"And in which department do you work, [field:fda1954c-f7a3-4fd3-a8dc-dcad5160bab5]?\"]}}"
            },
            {
              "name": "form_companyname",
              "value": "={{$json[\"Great! Now what company are you from?\"]}}"
            },
            {
              "name": "form_email",
              "value": "={{$json[\"Just a couple more questions left! What's your email address?\"]}}"
            }
          ],
          "boolean": [
            {
              "name": "form_interest",
              "value": "={{$json[\"And are you currently looking to scale your visual content?\"]}}"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1,
      "id": "f9ac28df-4888-4ccd-aac7-70d2511fe122",
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "name": "Typeform Trigger",
      "type": "n8n-nodes-base.typeformTrigger",
      "position": [
        -700,
        1200
      ],
      "webhookId": "97eb74c8-156c-4329-8679-37b69533f709",
      "parameters": {
        "formId": "RPueloJC"
      },
      "typeVersion": 1,
      "id": "f2fa338d-6ac4-4baa-ae2a-8ef6ed5748b2",
      "notes": "This typeformTrigger node performs automated tasks as part of the workflow."
    },
    {
      "name": "lead interested",
      "type": "n8n-nodes-base.if",
      "position": [
        -100,
        1200
      ],
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{$node[\"Set values\"].json[\"form_interest\"]}}",
              "value2": true
            }
          ]
        }
      },
      "typeVersion": 1,
      "id": "725c02a0-bdd2-429c-8374-a918af724a5c",
      "notes": "This if node performs automated tasks as part of the workflow."
    },
    {
      "name": "send information",
      "type": "n8n-nodes-base.gmail",
      "position": [
        300,
        1100
      ],
      "parameters": {
        "toList": [
          "={{$json[\"properties\"][\"email\"][\"value\"]}}"
        ],
        "message": "=Hello {{$json[\"properties\"][\"firstname\"][\"value\"]}},\n\nI'm glad to hear you're interested in our services. You can schedule a call with me here: [calendly_link].\nUntil then, check out this presentation about how we can help your business: [presentation_link].\nLooking forward to talking to you!\n\nBest,\nTeam",
        "subject": "So you're interested in growing your business",
        "resource": "message",
        "additionalFields": {}
      },
      "typeVersion": 1,
      "id": "53c33c84-f2b6-41df-90fa-cdd605b979d6",
      "notes": "This gmail node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-138c7e38",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "connections": {},
  "name": "Hubspot Workflow",
  "description": "Automated workflow: Hubspot Workflow. This workflow processes data and performs automated tasks.",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:51.076100",
    "updatedAt": "2025-09-29T07:07:51.076116",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Hubspot Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}