{
  "name": "Sync Cal.com meeting bookings to Notion with contact management",
  "nodes": [
    {
      "id": "e7dfd9ca-99e4-4374-af54-c8be4dd1a653",
      "name": "Cal.com Trigger",
      "type": "n8n-nodes-base.calTrigger",
      "position": [
        0,
        -5
      ]
    },
    {
      "id": "8994a7e3-e4fc-4455-86b9-1d0ba761dc1e",
      "name": "Route based on trigger event type",
      "type": "n8n-nodes-base.switch",
      "position": [
        220,
        -5
      ]
    },
    {
      "id": "4c34bf5f-0396-403b-96e6-11f55feb281c",
      "name": "get contact",
      "type": "n8n-nodes-base.notion",
      "position": [
        440,
        -205
      ]
    },
    {
      "id": "a7fb5f6e-72bf-4cd1-bf70-782f291aef1e",
      "name": "doesn't exist",
      "type": "n8n-nodes-base.if",
      "position": [
        660,
        -205
      ]
    },
    {
      "id": "9281555b-947d-4b72-9a59-9501afba54ce",
      "name": "create contact",
      "type": "n8n-nodes-base.notion",
      "position": [
        880,
        -280
      ]
    },
    {
      "id": "a07cf4d5-8368-4789-8820-6947ac12e2a1",
      "name": "create meeting",
      "type": "n8n-nodes-base.notion",
      "position": [
        1080,
        -120
      ]
    },
    {
      "id": "82b37d6e-bcb8-434a-887a-dd82a9f23a23",
      "name": "get meeting",
      "type": "n8n-nodes-base.notion",
      "position": [
        440,
        195
      ]
    },
    {
      "id": "20be6e02-77cf-4ae2-a364-fe0e9f84629e",
      "name": "update meeting",
      "type": "n8n-nodes-base.notion",
      "position": [
        660,
        195
      ]
    },
    {
      "id": "d543c165-e15e-435d-8dff-0ea95abf46a7",
      "name": "get meeting1",
      "type": "n8n-nodes-base.notion",
      "position": [
        440,
        -5
      ]
    },
    {
      "id": "690087a3-47b7-4b74-895d-adcb9b31b616",
      "name": "delete",
      "type": "n8n-nodes-base.notion",
      "position": [
        660,
        -5
      ]
    },
    {
      "id": "6b498920-f27b-4c50-9c20-bec758f48c18",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -320
      ],
      "parameters": {
        "width": 280,
        "height": 240,
        "content": "## Usage Guide\nEach node has Notes that explain its purpose and setup. Below you can find the written and video walkthroughs of this workflow.\n\n[Essay](https://www.simonesmerilli.com/business/cal-noti"
      }
    },
    {
      "id": "fe6bdc79-95f1-4319-a8a8-5975cab6426c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        200
      ],
      "parameters": {
        "width": 220,
        "height": 660,
        "content": "# Step 1\nConnect your Cal account. Create your API key in the [dedicated settings page](https://app.cal.com/settings/developer/api-keys). Watch the video above for more details about the connection.\n\n"
      }
    },
    {
      "id": "b0465427-393c-4c0a-94c8-238a97916456",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        200
      ],
      "parameters": {
        "width": 260,
        "height": 660,
        "content": "# Step 2\n1. Connect your Notion workspace (if not already done). Find out how to do that [here](https://developers.notion.com/docs/authorization#internal-integration-auth-flow-set-up).\n\n2. Make sure y"
      }
    }
  ],
  "connections": {
    "Switch": {
      "main": [
        [
          {
            "node": "get contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get meeting1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get meeting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get contact": {
      "main": [
        [
          {
            "node": "doesn't exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get meeting": {
      "main": [
        [
          {
            "node": "update meeting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get meeting1": {
      "main": [
        [
          {
            "node": "delete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "doesn't exist": {
      "main": [
        [
          {
            "node": "create contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "create meeting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "create contact": {
      "main": [
        [
          {
            "node": "create meeting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cal.com Trigger": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}