{
  "name": "Jotform to KlickTipp integration - webinar registration",
  "nodes": [
    {
      "id": "f13c4b60-5b5f-474b-b79b-45c4fb9cc067",
      "name": "Subscribe contact in KlickTipp",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        -800,
        608
      ]
    },
    {
      "id": "7aa2b991-782d-4171-ac30-131c2062e17c",
      "name": "Convert and set webinar data",
      "type": "n8n-nodes-base.set",
      "position": [
        -1024,
        608
      ]
    },
    {
      "id": "2dade6bf-6b65-45db-9a33-9faca1860924",
      "name": "New webinar booking via JotForm",
      "type": "n8n-nodes-base.jotFormTrigger",
      "position": [
        -1264,
        608
      ]
    },
    {
      "id": "d796b45c-64c8-4d6b-b267-9b828ef24345",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        1008
      ],
      "parameters": {
        "width": 839,
        "height": 1129,
        "content": "### Introduction\nThis workflow streamlines the process of handling webinar registrations submitted via JotForm. It ensures the data is correctly formatted and seamlessly integrates with KlickTipp. Inp"
      }
    },
    {
      "id": "81832238-a21c-4d2f-b8f2-6a0050370884",
      "name": "Define Array of tags from Jotform",
      "type": "n8n-nodes-base.set",
      "position": [
        -496,
        512
      ]
    },
    {
      "id": "99beae4f-ab6e-4975-a6b8-baade0279f24",
      "name": "Split Out Jotform tags",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -320,
        512
      ]
    },
    {
      "id": "283d964b-3a37-4ac9-9562-26af43ef32d5",
      "name": "Tag contact directly in KlickTipp",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        848,
        512
      ]
    },
    {
      "id": "412ea807-11bb-47a1-ae60-168396bbfb3a",
      "name": "Tag creation check",
      "type": "n8n-nodes-base.if",
      "position": [
        144,
        592
      ]
    },
    {
      "id": "50478814-aab3-4ec8-94e4-59ff8e30e632",
      "name": "Aggregate tags to add to contact",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        640,
        512
      ]
    },
    {
      "id": "feeb10fa-3eff-4c60-8d2c-77d0da3becf8",
      "name": "Create the tag in KlickTipp",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        448,
        704
      ]
    },
    {
      "id": "bf19001c-5369-4d40-ba94-f9d919222455",
      "name": "Aggregate array of created tags",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        640,
        704
      ]
    },
    {
      "id": "eb4c28a3-30d2-42fb-986c-14b31497611c",
      "name": "Tag contact KlickTipp after trag creation",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        848,
        704
      ]
    },
    {
      "id": "5df24c47-f8d9-4f34-8257-00f06ede36ad",
      "name": "Get list of all existing tags",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        -496,
        704
      ]
    },
    {
      "id": "7c2b8718-6f79-4a6a-afb4-3c429882fd98",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -80,
        592
      ]
    },
    {
      "id": "2b2f3f21-ffc3-4049-b8da-02b275735276",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1424,
        368
      ],
      "parameters": {
        "width": 768,
        "height": 624,
        "content": "## Listen to new submissions, converting data & adding contact to KlickTipp"
      }
    },
    {
      "id": "4e668aff-3b7d-4ba8-a213-cbeb32ee53be",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        368
      ],
      "parameters": {
        "width": 992,
        "height": 624,
        "content": "## Identify new Tags and create if necessary - based on submission\n"
      }
    },
    {
      "id": "c641e24b-ceb3-40e8-ae48-1d3ebeee3dfb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        368
      ],
      "parameters": {
        "width": 736,
        "height": 624,
        "content": "## Dynamic Tagging of contacts in KlickTipp\n"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Tag creation check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tag creation check": {
      "main": [
        [
          {
            "node": "Aggregate tags to add to contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create the tag in KlickTipp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out Jotform tags": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create the tag in KlickTipp": {
      "main": [
        [
          {
            "node": "Aggregate array of created tags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert and set webinar data": {
      "main": [
        [
          {
            "node": "Subscribe contact in KlickTipp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get list of all existing tags": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Subscribe contact in KlickTipp": {
      "main": [
        [
          {
            "node": "Get list of all existing tags",
            "type": "main",
            "index": 0
          },
          {
            "node": "Define Array of tags from Jotform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate array of created tags": {
      "main": [
        [
          {
            "node": "Tag contact KlickTipp after trag creation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "New webinar booking via JotForm": {
      "main": [
        [
          {
            "node": "Convert and set webinar data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate tags to add to contact": {
      "main": [
        [
          {
            "node": "Tag contact directly in KlickTipp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Array of tags from Jotform": {
      "main": [
        [
          {
            "node": "Split Out Jotform tags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}