{
  "name": "Create HubSpot companies & tasks from Jotform submissions with Google Sheets",
  "nodes": [
    {
      "id": "0293a49f-3721-456a-9951-3c0c0fc8ba5d",
      "name": "JotForm Trigger",
      "type": "n8n-nodes-base.jotFormTrigger",
      "position": [
        640,
        416
      ]
    },
    {
      "id": "b85baa2e-77ed-4939-8158-be4da9c49b30",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1360,
        416
      ]
    },
    {
      "id": "f4ac75b3-4578-4134-a3da-0d5420d3f578",
      "name": "Create HubSpot Task",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1584,
        416
      ]
    },
    {
      "id": "2b7fc36d-c4ca-485a-88ca-cfa47a5da226",
      "name": "Create a company1",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        912,
        416
      ]
    },
    {
      "id": "c17f50ae-ee93-4687-bb76-f9448775e7a0",
      "name": "Formating Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1184,
        416
      ]
    },
    {
      "id": "da057d1b-4a6e-4e28-8aee-b3636c16831c",
      "name": "Storel Logs",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2240,
        416
      ]
    },
    {
      "id": "a479a00e-a33e-4123-9887-ef98144d0ec3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        16
      ],
      "parameters": {
        "width": 416,
        "height": 624,
        "content": "## 🧾 JOTFORM TRIGGER\n\nThis workflow begins with a JotForm submission trigger.  \nIt captures the following fields submitted through the form:\n\n- **Name**\n- **First Name**\n- **Last Name**\n- **Email**\n- "
      }
    },
    {
      "id": "ce5c50c0-18f6-45d8-a74b-13c500fb3777",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        16
      ],
      "parameters": {
        "width": 416,
        "height": 624,
        "content": "## 🏢 HUBSPOT COMPANY CREATION & FORMATTER\n\nThis section uses the submitted **Company Name** to create a new company record in HubSpot (if it doesn’t already exist).  \nThe **Formatter** node then proce"
      }
    },
    {
      "id": "3231a6ce-d8f8-434b-af2b-fcb08d4a00ba",
      "name": "Set Company Domain",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2016,
        416
      ]
    },
    {
      "id": "968e7fc6-65fa-4385-aba8-2933bac8ed02",
      "name": "Wait10",
      "type": "n8n-nodes-base.wait",
      "position": [
        1808,
        416
      ]
    },
    {
      "id": "565fce0c-493d-4171-a095-b16d9993b3a3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        0
      ],
      "parameters": {
        "width": 400,
        "height": 640,
        "content": "## 🔁 HUBSPOT TASK CREATION\n\nThis section loops through the formatted data and sends HTTP requests to HubSpot to create tasks.  \nEach task includes all relevant submission details, such as company, con"
      }
    },
    {
      "id": "a332ddf0-e435-4371-b213-8699c3cf066f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        0
      ],
      "parameters": {
        "width": 400,
        "height": 640,
        "content": "## 🌐 LOOP OVER & DOMAIN SETTING\n\nAfter the tasks are created, this section updates each HubSpot company with its corresponding **Domain** value using the id generating while creating company.  \nIt ens"
      }
    },
    {
      "id": "62fd01c6-f579-4fb3-9807-f414c2312bed",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        0
      ],
      "parameters": {
        "width": 256,
        "height": 624,
        "content": "## 📊 STORING LOGS\n\nLogging is critical for transparency and debugging.  \nThis section safely records all processed submissions and API responses in a connected **Google Sheet**.\n\nBenefits:\n- Provides "
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Create HubSpot Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait10": {
      "main": [
        [
          {
            "node": "Set Company Domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Formating Data": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JotForm Trigger": {
      "main": [
        [
          {
            "node": "Create a company1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a company1": {
      "main": [
        [
          {
            "node": "Formating Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Company Domain": {
      "main": [
        [
          {
            "node": "Storel Logs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create HubSpot Task": {
      "main": [
        [
          {
            "node": "Wait10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}