{
  "name": "Automate Calendly to HubSpot: contact updates & meeting logging",
  "nodes": [
    {
      "id": "33ec739f-e14d-4dbe-8709-8bd4c02571af",
      "name": "📅 Calendly Trigger",
      "type": "n8n-nodes-base.calendlyTrigger",
      "position": [
        -120,
        0
      ]
    },
    {
      "id": "69f79c21-f6cb-46d9-8730-ee6a60ab03d3",
      "name": "🔍 Search Contact (HubSpot)",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        100,
        0
      ]
    },
    {
      "id": "48c45f08-0dda-40e6-ba90-ab16cc609b52",
      "name": "⚖️ Contact Exists?",
      "type": "n8n-nodes-base.if",
      "position": [
        320,
        0
      ]
    },
    {
      "id": "7ba3e4a4-e521-4326-8684-87ba8944bbe4",
      "name": "📝 Log Meeting (Existing Contact)",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        620,
        -120
      ]
    },
    {
      "id": "0c90c17a-ec8d-4ec1-8489-975fd8f60bc4",
      "name": "➕ Create Contact (HubSpot)",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        540,
        260
      ]
    },
    {
      "id": "77207279-dca3-4b5a-a8c0-659ace12889f",
      "name": "📝 Log Meeting (New Contact)",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        740,
        260
      ]
    },
    {
      "id": "a74801e0-3b38-4c45-9b76-ada54d055085",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -280
      ],
      "parameters": {
        "width": 420,
        "height": 720,
        "content": "## 📅 Calendly Trigger → 🔍 Search Contact (HubSpot)\n\n*Captures event data whenever a new invitee books a Calendly meeting.\n\nExtracts key details: attendee's name, email, meeting start/end time, and ans"
      }
    },
    {
      "id": "ef165c27-d80a-4a66-8e84-05133b742d6f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -280
      ],
      "parameters": {
        "width": 180,
        "height": 720,
        "content": "## ⚖️ Contact Exists?\n\n*Decision step to check if HubSpot returned a matching contact.*\n\n"
      }
    },
    {
      "id": "fd3e8d69-1ea3-4b8a-8822-132ff6ff6b2e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -280
      ],
      "parameters": {
        "width": 460,
        "height": 340,
        "content": "## 📝 Log Meeting (Existing Contact)\n\n*If a contact is found, a HubSpot meeting engagement is created.\nIncludes:\nMeeting title (Calendly Meetings), Start and end time, Attendee details (name + email)*,"
      }
    },
    {
      "id": "ffa20f7a-dff4-416b-9697-286fc0254306",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        80
      ],
      "parameters": {
        "width": 460,
        "height": 360,
        "content": "## ➕ Create Contact (HubSpot) → 📝 Log Meeting (New Contact)\n\n*If no contact exists, a new one is created with name and email from Calendly, then the meeting is logged and linked to it.*"
      }
    }
  ],
  "connections": {
    "📅 Calendly Trigger": {
      "main": [
        [
          {
            "node": "🔍 Search Contact (HubSpot)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚖️ Contact Exists?": {
      "main": [
        [
          {
            "node": "📝 Log Meeting (Existing Contact)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "➕ Create Contact (HubSpot)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "➕ Create Contact (HubSpot)": {
      "main": [
        [
          {
            "node": "📝 Log Meeting (New Contact)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔍 Search Contact (HubSpot)": {
      "main": [
        [
          {
            "node": "⚖️ Contact Exists?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}