{
  "meta": {
    "instanceId": "workflow-d32f58b2",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:47.196186",
    "updatedAt": "2025-09-29T07:07:47.196192",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "bcd8e7dc-cb7f-4e2b-a0c6-2d154cb58938",
      "name": "n8n Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        820,
        360
      ],
      "webhookId": "0bf8840f-1cc4-46a9-86af-a3fa8da80608",
      "parameters": {
        "path": "0bf8840f-1cc4-46a9-86af-a3fa8da80608",
        "options": {},
        "formTitle": "Contact us",
        "formFields": {
          "values": [
            {
              "fieldLabel": "What's your business email?"
            }
          ]
        },
        "formDescription": "We'll get back to you soon"
      },
      "typeVersion": 2,
      "notes": "This formTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "0720ab51-5222-46fe-8a1a-31e25b81920c",
      "name": "Hunter",
      "type": "n8n-nodes-base.hunter",
      "position": [
        1040,
        360
      ],
      "parameters": {
        "email": "={{ $json['What\\'s your business email?'] }}",
        "operation": "emailVerifier"
      },
      "typeVersion": 1,
      "notes": "This hunter node performs automated tasks as part of the workflow."
    },
    {
      "id": "c20c626f-fd58-497f-942f-5d10f198f36d",
      "name": "Check if the email is valid",
      "type": "n8n-nodes-base.if",
      "position": [
        1240,
        360
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "54d84c8a-63ee-40ed-8fb2-301fff0194ba",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "valid"
            }
          ]
        }
      },
      "typeVersion": 2,
      "notes": "This if node performs automated tasks as part of the workflow."
    },
    {
      "id": "9c55911c-06b7-4291-a91d-30c0cb87b7f2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        180
      ],
      "parameters": {
        "color": 5,
        "width": 547,
        "height": 132,
        "content": "### 👨‍🎤 Setup\n1. Add you **Hunter**, **Clearbit** and **Hubspot** credentials\n2. Click the Test Workflow button, enter your email and check your Hubspot\n3. Activate the workflow and use the form trigger production URL to collect your leads in a smart way "
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "4e518b0c-20e6-4fb3-8be9-c0989c750fda",
      "name": "Enrich company",
      "type": "n8n-nodes-base.clearbit",
      "position": [
        1620,
        300
      ],
      "parameters": {
        "domain": "={{ $json.employment.domain }}",
        "additionalFields": {}
      },
      "typeVersion": 1,
      "notes": "This clearbit node performs automated tasks as part of the workflow."
    },
    {
      "id": "47e8324b-c455-40b5-8769-4d2c4718de75",
      "name": "Add lead to Hubspot",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1940,
        300
      ],
      "parameters": {
        "email": "={{ $('Check if the email is valid').item.json.email }}",
        "options": {},
        "authentication": "{{ $credentials.oAuth2 }}",
        "additionalFields": {
          "jobTitle": "={{ $('Enrich person').item.json.employment.title }}",
          "lastName": "={{ $('Enrich person').item.json.name.familyName }}",
          "firstName": "={{ $('Enrich person').item.json.name.givenName }}",
          "companyName": "={{ $('Enrich person').item.json.employment.name }}",
          "companySize": "={{ $json.metrics.employees }}"
        }
      },
      "typeVersion": 2,
      "notes": "This hubspot node performs automated tasks as part of the workflow."
    },
    {
      "id": "30451862-9283-44fd-a1b7-9b31bbe9cbd2",
      "name": "Enrich person",
      "type": "n8n-nodes-base.clearbit",
      "position": [
        1460,
        300
      ],
      "parameters": {
        "email": "={{ $json.email }}",
        "resource": "person",
        "additionalFields": {}
      },
      "typeVersion": 1,
      "alwaysOutputData": true,
      "notes": "This clearbit node performs automated tasks as part of the workflow."
    },
    {
      "id": "c96096f2-6505-4955-bb1b-c4f903428b1d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        500
      ],
      "parameters": {
        "color": 7,
        "width": 162,
        "height": 139,
        "content": "👆 You can exchange this with any form you like (*e.g. Typeform, Google forms, Survey Monkey...*)"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "751458aa-7b63-48ab-881e-d68df94a3390",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1940,
        460
      ],
      "parameters": {
        "color": 7,
        "width": 162,
        "height": 84,
        "content": "👆 Adjust the fields you need in your Hubspot here"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "6416c2ee-59a0-4496-bd62-0a3af06986b7",
      "name": "Email is not valid, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1460,
        480
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This noOp node performs automated tasks as part of the workflow."
    },
    {
      "id": "32bc2dc2-7b5c-4fc4-bf9f-a1231c6512d0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1740,
        180
      ],
      "parameters": {
        "color": 7,
        "width": 162,
        "height": 136.49297423887586,
        "content": "👇 Idea: You could add criteria on when to add a lead to your Hubspot here. For inspiration, take a look at [this template]({{ $env.WEBHOOK_URL }}"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-e197947e",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "connections": {},
  "name": "Formtrigger Workflow",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "description": "Automated workflow: Formtrigger Workflow. This workflow integrates 7 different services: stickyNote, formTrigger, hunter, hubspot, clearbit. It contains 11 nodes and follows best practices for error handling and security.",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Formtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation.",
  "active": false
}