{
  "name": "Create WordPress users from KlickTipp and tag contacts based on comments",
  "nodes": [
    {
      "id": "456264c6-c435-46a3-b16a-329fad79f848",
      "name": "Form signup for Wordpress in KlickTipp form",
      "type": "n8n-nodes-klicktipp.klicktippTrigger",
      "position": [
        9008,
        4672
      ]
    },
    {
      "id": "7b548ecb-9bb5-4d28-8d29-a3c2496aaaae",
      "name": "Set username & password",
      "type": "n8n-nodes-base.set",
      "position": [
        9488,
        4672
      ]
    },
    {
      "id": "a101bf5d-46ad-40a9-aa0c-57d16e7caacc",
      "name": "Update Wordpress user ID in KlickTipp",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        10976,
        4656
      ]
    },
    {
      "id": "71c1e86a-af57-4892-9d70-5ab897ac6f53",
      "name": "Get last comments from Wordpress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        9008,
        5088
      ]
    },
    {
      "id": "be7277d4-b876-4ff9-aaa0-88f6adc8d4c5",
      "name": "Check for contact existence",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        9728,
        5088
      ]
    },
    {
      "id": "1320463f-056d-432c-93be-625153161e05",
      "name": "Write comment into contact field",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        10992,
        5072
      ]
    },
    {
      "id": "7b94d39d-d126-4f3d-a0a6-82d239f333e4",
      "name": "Check relevant segment",
      "type": "n8n-nodes-base.switch",
      "position": [
        11248,
        5072
      ]
    },
    {
      "id": "aedbc7ce-1f1d-465f-8acb-0c91034bf108",
      "name": "Tag contact",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        11472,
        4976
      ]
    },
    {
      "id": "9c2f4117-c512-4a88-8a78-3b9e5996a8ab",
      "name": "Tag contact1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        11472,
        5168
      ]
    },
    {
      "id": "bf3ae79b-4559-4e5b-aa94-637f8961619f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        8752,
        4528
      ],
      "parameters": {
        "width": 416,
        "height": 912,
        "content": "## 1. Inbound Form submissions and comments"
      }
    },
    {
      "id": "9e596bd1-e587-4b3b-809a-41c1e013afb3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        9424,
        4528
      ],
      "parameters": {
        "width": 224,
        "height": 912,
        "content": "## 3. Identity & Security Logic"
      }
    },
    {
      "id": "9095b302-710d-470a-8485-c6ef158b9f93",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        9664,
        4528
      ],
      "parameters": {
        "width": 628,
        "height": 912,
        "content": "## 4. WordPress Account Management"
      }
    },
    {
      "id": "9a0b1cb3-8d04-4fc8-8317-7c9dda98e40f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        10928,
        4528
      ],
      "parameters": {
        "width": 224,
        "height": 912,
        "content": "## 6. Data Merging & Writing"
      }
    },
    {
      "id": "7f627d02-41aa-463d-8ece-6a7abdbb3ebe",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        11168,
        4528
      ],
      "parameters": {
        "width": 502,
        "height": 912,
        "content": "## 7. Segmentation & Tagging"
      }
    },
    {
      "id": "54baec22-9f6e-44d6-8aa9-f4569c2e0779",
      "name": "Search WP Users with role Subscriber",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        9488,
        5088
      ]
    },
    {
      "id": "f09a72b2-b5ff-4919-87e7-2c0a2f732e3f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        10304,
        4528
      ],
      "parameters": {
        "width": 608,
        "height": 912,
        "content": "## 5. Error handling"
      }
    },
    {
      "id": "d45ec507-901a-4b81-8608-018cc56943eb",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        8016,
        4528
      ],
      "parameters": {
        "width": 727,
        "height": 1756,
        "content": "Community Node Disclaimer: This workflow uses KlickTipp community nodes.\n\n## Introduction\nThis workflow automates the bridge between **KlickTipp** and **WordPress**, focusing on two primary objectives"
      }
    },
    {
      "id": "53252f9f-91e8-4f98-b13e-edc7bd783b6d",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        9184,
        4528
      ],
      "parameters": {
        "width": 224,
        "height": 912,
        "content": "## 2. Filter requests"
      }
    },
    {
      "id": "4702b987-b2ef-4852-ac78-210f53b20d63",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        9248,
        4672
      ]
    },
    {
      "id": "0b3a7955-07b2-4190-b00b-4986f41bb210",
      "name": "Pull comments trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        8800,
        5088
      ]
    },
    {
      "id": "e0b793fd-af16-40fd-a3b4-977d7527af77",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        10368,
        5248
      ]
    },
    {
      "id": "a005ed52-ff54-42d6-8cc1-d514e6754d1d",
      "name": "Search WP Users with role Subscriber1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        10576,
        4832
      ]
    },
    {
      "id": "a8242706-d500-466e-8db0-d1edef1a3b24",
      "name": "Update a user",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        10768,
        4832
      ]
    },
    {
      "id": "528a34d8-531c-41aa-b10a-6cbe45230677",
      "name": "Update Wordpress user ID in KlickTipp1",
      "type": "n8n-nodes-klicktipp.klicktipp",
      "position": [
        10976,
        4832
      ]
    },
    {
      "id": "d6d745ed-80ba-442d-a2ad-d96b02341210",
      "name": "Update user role",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        10144,
        4656
      ]
    },
    {
      "id": "95d68654-d77c-4c69-b672-b1c26b014ad3",
      "name": "Generate Wordpress user from signup1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        9728,
        4672
      ]
    },
    {
      "id": "51ad3ce3-1e53-4ce1-908b-5f46469a5ab8",
      "name": "Error on email address",
      "type": "n8n-nodes-base.filter",
      "position": [
        10368,
        4832
      ]
    }
  ],
  "connections": {
    "Filter": {
      "main": [
        [
          {
            "node": "Set username & password",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update a user": {
      "main": [
        [
          {
            "node": "Update Wordpress user ID in KlickTipp1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update user role": {
      "main": [
        [
          {
            "node": "Update Wordpress user ID in KlickTipp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull comments trigger": {
      "main": [
        [
          {
            "node": "Get last comments from Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check relevant segment": {
      "main": [
        [
          {
            "node": "Tag contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Tag contact1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error on email address": {
      "main": [
        [
          {
            "node": "Search WP Users with role Subscriber1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set username & password": {
      "main": [
        [
          {
            "node": "Generate Wordpress user from signup1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for contact existence": {
      "main": [
        [
          {
            "node": "Write comment into contact field",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get last comments from Wordpress": {
      "main": [
        [
          {
            "node": "Search WP Users with role Subscriber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write comment into contact field": {
      "main": [
        [
          {
            "node": "Check relevant segment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Wordpress user from signup1": {
      "main": [
        [
          {
            "node": "Update user role",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error on email address",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search WP Users with role Subscriber": {
      "main": [
        [
          {
            "node": "Check for contact existence",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search WP Users with role Subscriber1": {
      "main": [
        [
          {
            "node": "Update a user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form signup for Wordpress in KlickTipp form": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}