{
  "name": "Handle Calendly bookings, cancellations and reschedules with Gmail, Google Calendar, Sheets and Slack",
  "nodes": [
    {
      "id": "8e9cbd41-5f6f-4209-bc9d-b924925c2d25",
      "name": "Calendly Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1280,
        -848
      ]
    },
    {
      "id": "decdb973-67e1-479a-9314-8f8231b52fc5",
      "name": "Parse Calendly Event",
      "type": "n8n-nodes-base.code",
      "position": [
        -1040,
        -848
      ]
    },
    {
      "id": "91ebc749-da04-49d4-afa4-18df349bbf07",
      "name": "Event Router",
      "type": "n8n-nodes-base.switch",
      "position": [
        -800,
        -864
      ]
    },
    {
      "id": "00db7ebb-0435-48ba-b99d-7161e467745c",
      "name": "Log to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -464,
        -1008
      ]
    },
    {
      "id": "369484ae-7487-4978-ac6e-f31aedb9b147",
      "name": "Create Calendar Event",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        -224,
        -1008
      ]
    },
    {
      "id": "cefb5f50-286c-458d-ac13-c8bbbed78623",
      "name": "Slack - New Booking",
      "type": "n8n-nodes-base.slack",
      "position": [
        16,
        -1008
      ]
    },
    {
      "id": "b7e4ac62-c2cd-4a18-b5bd-0e7954e5a9b8",
      "name": "Prepare Confirmation Email",
      "type": "n8n-nodes-base.code",
      "position": [
        256,
        -1008
      ]
    },
    {
      "id": "cf36773b-1710-4032-ab9c-b56c0eb53446",
      "name": "Send Confirmation Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        496,
        -1008
      ]
    },
    {
      "id": "5dcb1944-e95c-4432-a83b-3cf9db38903c",
      "name": "Log Cancellation",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -448,
        -624
      ]
    },
    {
      "id": "4fb3f3f9-f83b-4aba-a0b0-58b2377b850c",
      "name": "Slack - Cancellation",
      "type": "n8n-nodes-base.slack",
      "position": [
        -208,
        -624
      ]
    },
    {
      "id": "37bc05c0-2061-4a26-ace8-8ed0a674e21d",
      "name": "Prepare Cancellation Email",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        -624
      ]
    },
    {
      "id": "9b9b93da-2e01-48ab-9c68-a3cbbcc71abd",
      "name": "Send Cancellation Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        272,
        -624
      ]
    },
    {
      "id": "0d1e0984-8f1c-4b3e-af68-e5ea6cce2d2c",
      "name": "Log Reschedule",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -464,
        -256
      ]
    },
    {
      "id": "0cd3d70a-22ee-4e8c-8b1d-32f63e1fbd30",
      "name": "Slack - Rescheduled",
      "type": "n8n-nodes-base.slack",
      "position": [
        -224,
        -256
      ]
    },
    {
      "id": "6075cd53-0a71-4fee-bb63-968790babc82",
      "name": "Prepare Reschedule Email",
      "type": "n8n-nodes-base.code",
      "position": [
        16,
        -256
      ]
    },
    {
      "id": "0a0f4d36-ca44-4d37-ad4b-d36dc5698ee0",
      "name": "Send Reschedule Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        256,
        -256
      ]
    },
    {
      "id": "56506437-97ed-43e2-a09c-e050f631e0f9",
      "name": "Done - Confirmation",
      "type": "n8n-nodes-base.noOp",
      "position": [
        736,
        -1008
      ]
    },
    {
      "id": "d27edce0-051a-42ca-9d56-57b2e305916d",
      "name": "Done - Cancellation",
      "type": "n8n-nodes-base.noOp",
      "position": [
        512,
        -624
      ]
    },
    {
      "id": "44225c03-1919-4767-91cb-fc69c13d72ba",
      "name": "Done - Reschedule",
      "type": "n8n-nodes-base.noOp",
      "position": [
        496,
        -256
      ]
    },
    {
      "id": "155707a6-2b04-4e54-92de-8a59256d7628",
      "name": "Webhook",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        -976
      ],
      "parameters": {
        "width": 720,
        "height": 312,
        "content": "## Webhook & routing\n\nReceives Calendly events and routes by type."
      }
    },
    {
      "id": "120c5a36-68ce-4bf7-8db5-173492c2fc28",
      "name": "New Booking",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -1120
      ],
      "parameters": {
        "width": 1480,
        "height": 296,
        "content": "## New booking\n\nLogs, syncs calendar, notifies Slack, sends confirmation."
      }
    },
    {
      "id": "2d5fc67f-1ac9-4889-9605-a51b1f313551",
      "name": "Cancellation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -752
      ],
      "parameters": {
        "width": 1480,
        "height": 280,
        "content": "## Cancellation\n\nLogs cancellation, alerts team, notifies attendee."
      }
    },
    {
      "id": "8380eac3-ef05-4760-998e-e63c23ddd2f0",
      "name": "Reschedule",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -384
      ],
      "parameters": {
        "width": 1464,
        "height": 296,
        "content": "## Reschedule\n\nLogs changes, alerts team, sends updated details."
      }
    },
    {
      "id": "db823055-c7c8-4920-8acb-22ca06a1b781",
      "name": "Format Error1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1280,
        -240
      ]
    },
    {
      "id": "4de6021c-e37e-4de2-80df-0549518e2840",
      "name": "Slack - Error Alert1",
      "type": "n8n-nodes-base.slack",
      "position": [
        -960,
        -240
      ]
    },
    {
      "id": "2473c798-26a5-4e26-9728-2ef01143b431",
      "name": "Overview1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1792,
        -1120
      ],
      "parameters": {
        "width": 420,
        "height": 560,
        "content": "## Automate Calendly bookings with Gmail, Google Calendar, Sheets and Slack\n\nSyncs Calendly events to your calendar, logs to Sheets, sends confirmations, and alerts your team.\n\n### How it works\n\n1. **"
      }
    },
    {
      "id": "f29d5156-ba0d-4f4e-b942-6cfe95e37e6e",
      "name": "Errors1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        -352
      ],
      "parameters": {
        "width": 720,
        "height": 232,
        "content": "## Error handling\n\nCatches errors and alerts #errors channel."
      }
    }
  ],
  "connections": {
    "Event Router": {
      "main": [
        [
          {
            "node": "Log to Google Sheets",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Cancellation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Reschedule",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Error1": {
      "main": [
        [
          {
            "node": "Slack - Error Alert1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Reschedule": {
      "main": [
        [
          {
            "node": "Slack - Rescheduled",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calendly Webhook": {
      "main": [
        [
          {
            "node": "Parse Calendly Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Cancellation": {
      "main": [
        [
          {
            "node": "Slack - Cancellation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack - New Booking": {
      "main": [
        [
          {
            "node": "Prepare Confirmation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack - Rescheduled": {
      "main": [
        [
          {
            "node": "Prepare Reschedule Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log to Google Sheets": {
      "main": [
        [
          {
            "node": "Create Calendar Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Calendly Event": {
      "main": [
        [
          {
            "node": "Event Router",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack - Cancellation": {
      "main": [
        [
          {
            "node": "Prepare Cancellation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Calendar Event": {
      "main": [
        [
          {
            "node": "Slack - New Booking",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Reschedule Email": {
      "main": [
        [
          {
            "node": "Done - Reschedule",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Cancellation Email": {
      "main": [
        [
          {
            "node": "Done - Cancellation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Confirmation Email": {
      "main": [
        [
          {
            "node": "Done - Confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Reschedule Email": {
      "main": [
        [
          {
            "node": "Send Reschedule Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Cancellation Email": {
      "main": [
        [
          {
            "node": "Send Cancellation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Confirmation Email": {
      "main": [
        [
          {
            "node": "Send Confirmation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}