{
  "name": "Synchronize events & attendees between KlickTipp and Google Calendar",
  "nodes": [
    {
      "id": "96a03b91-f33e-4c2b-b023-bf6b6f61b616",
      "name": "1. Get event data.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -880
      ],
      "parameters": {
        "width": 256,
        "height": 2448,
        "content": "## 1. Get event data."
      }
    },
    {
      "id": "b7194548-a42f-4637-b501-f2f3bb5d8823",
      "name": "2. Segregate attendees.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -880
      ],
      "parameters": {
        "width": 288,
        "height": 2448,
        "content": "## 2. Segregate attendees."
      }
    },
    {
      "id": "97735aa7-827c-4073-9428-8c087af11baa",
      "name": "5. Check for contact.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -880
      ],
      "parameters": {
        "width": 272,
        "height": 2448,
        "content": "## 5. Check for contact."
      }
    },
    {
      "id": "1d5ac6a6-0c4c-4d8c-9e2a-883b42c6ddd5",
      "name": "Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -880
      ],
      "parameters": {
        "width": 727,
        "height": 2012,
        "content": "Community Node Disclaimer: This workflow uses KlickTipp community nodes.\n\n## Introduction\nThis workflow creates a complete two-way synchronization between **KlickTipp** and **Google Calendar**.  \nWhen"
      }
    },
    {
      "id": "220625ca-fcfd-4d74-ae69-429572f2b1a1",
      "name": "Transfer attendees cancellations",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        1024
      ]
    },
    {
      "id": "5ee831f3-60a6-4715-badc-9401078f5b03",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -880
      ],
      "parameters": {
        "width": 288,
        "height": 2448,
        "content": "## 3. Filter attendees."
      }
    },
    {
      "id": "2a175aa1-b972-4b54-ae84-e9dab4324d5a",
      "name": "Watch updated Google Calendar events",
      "type": "n8n-nodes-base.googleCalendarTrigger",
      "position": [
        208,
        432
      ]
    },
    {
      "id": "da1d2d6c-1ba0-450d-a86d-52c94f61349b",
      "name": "Watch cancelled Google Calendar events",
      "type": "n8n-nodes-base.googleCalendarTrigger",
      "position": [
        208,
        1024
      ]
    },
    {
      "id": "dcfcea72-a971-45df-bcc9-4ad801d30121",
      "name": "Transfer the attendees' declines",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        736
      ]
    },
    {
      "id": "36364a09-8a5f-4336-b705-58de5803822f",
      "name": "Transfer the attendees' acceptances",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        320
      ]
    },
    {
      "id": "ce3b6860-e398-46b3-9db0-34b23bc62ba4",
      "name": "Transfer the attendees' considerations",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        528
      ]
    },
    {
      "id": "5f927c22-ffa4-44e6-b48b-77fbd920c125",
      "name": "Iterate through attendees (event canceled)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        496,
        1024
      ]
    },
    {
      "id": "4021cbec-62c1-4a15-9010-a7fd4c1222ad",
      "name": "Route by attendees' status",
      "type": "n8n-nodes-base.switch",
      "position": [
        1952,
        304
      ]
    },
    {
      "id": "36a99cf5-bda4-428a-8f5c-01a79ff758b7",
      "name": "Iterate through attendees (event created)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        496,
        -448
      ]
    },
    {
      "id": "aa2543af-1790-4ca3-a6ce-d7ce1dde6b00",
      "name": "4. Route by status.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -880
      ],
      "parameters": {
        "width": 272,
        "height": 2448,
        "content": "## 4. Route by status."
      }
    },
    {
      "id": "03bd393b-c08c-4e91-b442-313e9d24c893",
      "name": "Watch new Google Calendar events",
      "type": "n8n-nodes-base.googleCalendarTrigger",
      "position": [
        208,
        -448
      ]
    },
    {
      "id": "f5568490-bf98-45b3-aaf1-b00e69b38593",
      "name": "Watch Tagging in KlickTipp",
      "type": "n8n-nodes-klicktipp.klicktippTrigger",
      "position": [
        208,
        1344
      ]
    },
    {
      "id": "5b93b77e-c904-4bb8-84ec-32a7ed949278",
      "name": "Create a Google Calendar Event",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        1680,
        1344
      ]
    },
    {
      "id": "aa0ecce1-84c7-486a-a5e2-b3763c16ad0f",
      "name": "Route by attendees' status1",
      "type": "n8n-nodes-base.switch",
      "position": [
        1088,
        -448
      ]
    },
    {
      "id": "e91b4ec2-ad69-4bf0-9791-f8f1b3d2c1be",
      "name": "6. Transfer event data.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        -880
      ],
      "parameters": {
        "width": 272,
        "height": 2448,
        "content": "## 6. Transfer event data."
      }
    },
    {
      "id": "7e4f113f-a6dc-4110-a0bf-2a212595b6d1",
      "name": "Check if attendee exists as contact",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1392,
        -256
      ]
    },
    {
      "id": "066952d2-cd34-4a68-91f1-ee818f5b41b8",
      "name": "Transfer the event creation/update",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        -352
      ]
    },
    {
      "id": "f6ec1e84-b647-43a6-b79f-25dff6c79549",
      "name": "8. Segmentation.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2144,
        -880
      ],
      "parameters": {
        "width": 256,
        "height": 2448,
        "content": "## 8. Segmentation."
      }
    },
    {
      "id": "6ec94bab-3ff3-47b5-ae6a-378b33d12522",
      "name": "Check if attendee exists as contact1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1392,
        -656
      ]
    },
    {
      "id": "a0b91d14-6308-4702-9c9a-4cbcfa5bb867",
      "name": "Transfer the attendees' acceptances1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        -752
      ]
    },
    {
      "id": "7ed0dc15-f80e-4d6c-bdec-284ae1d1d171",
      "name": "Update contact in Klicktipp",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        -352
      ]
    },
    {
      "id": "589bf884-4687-4496-a6a8-efdb987330cc",
      "name": "Transfer the event creation/update1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        2224,
        112
      ]
    },
    {
      "id": "4a9562ba-6343-4b8c-bc5d-516c81b713e3",
      "name": "Check if attendee exists as contact2",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1376,
        432
      ]
    },
    {
      "id": "3a117402-09f3-4fea-a294-900fdf21359a",
      "name": "Update contact in Klicktipp1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        336
      ]
    },
    {
      "id": "130d5111-9ee3-464a-a203-376cea5f71c1",
      "name": "Update contact in Klicktipp2",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        -752
      ]
    },
    {
      "id": "2f3bef18-d873-4374-a5a6-4918da5d9a54",
      "name": "Subscribe attendee to KlickTipp with DOI",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        -160
      ]
    },
    {
      "id": "08cbcc41-833f-4ffc-b600-6695cbf03da1",
      "name": "Subscribe attendee to KlickTipp with SOI",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        -560
      ]
    },
    {
      "id": "025bd479-deb1-4e54-b40a-c02416a8307d",
      "name": "Subscribe attendee to KlickTipp with SOI1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        1680,
        544
      ]
    },
    {
      "id": "cb687bdc-ed65-4025-8bf5-ce8e3bf35536",
      "name": "Filter attendees",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        -448
      ]
    },
    {
      "id": "80080f53-6f6a-4540-847b-a27a3e11ec96",
      "name": "Filter attendees1",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        432
      ]
    },
    {
      "id": "c2d701d7-adac-47ba-8190-8a41aa086dad",
      "name": "Filter attendees2",
      "type": "n8n-nodes-base.filter",
      "position": [
        800,
        1024
      ]
    },
    {
      "id": "46fde7d9-cdbb-47d2-ac0b-e5a573a23d7d",
      "name": "Iterate through attendees (event updated)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        496,
        432
      ]
    },
    {
      "id": "0ec26370-375f-4332-976b-c8e5e2012cc9",
      "name": "7. Route by status.",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1872,
        -880
      ],
      "parameters": {
        "width": 256,
        "height": 2448,
        "content": "## 7. Route by status."
      }
    }
  ],
  "connections": {
    "Filter attendees": {
      "main": [
        [
          {
            "node": "Route by attendees' status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter attendees1": {
      "main": [
        [
          {
            "node": "Check if attendee exists as contact2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter attendees2": {
      "main": [
        [
          {
            "node": "Transfer attendees cancellations",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by attendees' status": {
      "main": [
        [
          {
            "node": "Transfer the event creation/update1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Transfer the attendees' acceptances",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Transfer the attendees' considerations",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Transfer the attendees' declines",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch Tagging in KlickTipp": {
      "main": [
        [
          {
            "node": "Create a Google Calendar Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by attendees' status1": {
      "main": [
        [
          {
            "node": "Check if attendee exists as contact1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Check if attendee exists as contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update contact in Klicktipp": {
      "main": [
        [
          {
            "node": "Transfer the event creation/update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update contact in Klicktipp1": {
      "main": [
        [
          {
            "node": "Route by attendees' status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update contact in Klicktipp2": {
      "main": [
        [
          {
            "node": "Transfer the attendees' acceptances1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch new Google Calendar events": {
      "main": [
        [
          {
            "node": "Iterate through attendees (event created)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if attendee exists as contact": {
      "main": [
        [
          {
            "node": "Update contact in Klicktipp",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Subscribe attendee to KlickTipp with DOI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if attendee exists as contact1": {
      "main": [
        [
          {
            "node": "Update contact in Klicktipp2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Subscribe attendee to KlickTipp with SOI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if attendee exists as contact2": {
      "main": [
        [
          {
            "node": "Update contact in Klicktipp1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Subscribe attendee to KlickTipp with SOI1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch updated Google Calendar events": {
      "main": [
        [
          {
            "node": "Iterate through attendees (event updated)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Watch cancelled Google Calendar events": {
      "main": [
        [
          {
            "node": "Iterate through attendees (event canceled)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Subscribe attendee to KlickTipp with DOI": {
      "main": [
        []
      ]
    },
    "Iterate through attendees (event created)": {
      "main": [
        [
          {
            "node": "Filter attendees",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Iterate through attendees (event updated)": {
      "main": [
        [
          {
            "node": "Filter attendees1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Iterate through attendees (event canceled)": {
      "main": [
        [
          {
            "node": "Filter attendees2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}