{
  "name": "Send Webflow form submissions to Discord dynamically",
  "nodes": [
    {
      "id": "5de5b2ea-5257-4782-8f11-ea9c746083eb",
      "name": "Does the channel exist?",
      "type": "n8n-nodes-base.if",
      "position": [
        1420,
        360
      ]
    },
    {
      "id": "325ac193-b72f-4753-8d74-4e3d5cd5172c",
      "name": "Transform data to send message",
      "type": "n8n-nodes-base.set",
      "position": [
        1880,
        540
      ]
    },
    {
      "id": "1f084545-53a6-4460-81bb-d5109cb06db4",
      "name": "Webflow Form Submission Trigger",
      "type": "n8n-nodes-base.webflowTrigger",
      "position": [
        780,
        360
      ]
    },
    {
      "id": "a6076ef4-5b8a-45dc-8f44-02ccf9d2ba34",
      "name": "Compose Slack message",
      "type": "n8n-nodes-base.code",
      "position": [
        2140,
        340
      ]
    },
    {
      "id": "76dd8d4f-5b65-4171-a921-9d32a8e5c893",
      "name": "List Discord Channels",
      "type": "n8n-nodes-base.discord",
      "position": [
        1000,
        360
      ]
    },
    {
      "id": "7551d395-6364-4d28-b778-c2a16b04db96",
      "name": "Filter existing Discord channel",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        360
      ]
    },
    {
      "id": "df38e67b-f76d-4b43-8da4-8e39230a5d0a",
      "name": "Create Discord channel with form name",
      "type": "n8n-nodes-base.discord",
      "position": [
        1640,
        540
      ]
    },
    {
      "id": "8a4fb8af-f156-48cf-b6cd-52235ced1de9",
      "name": "Notify #general channel of newly created channel1",
      "type": "n8n-nodes-base.discord",
      "position": [
        1880,
        780
      ]
    },
    {
      "id": "1c1a20ee-303e-4015-9465-9674f17fca46",
      "name": "Send form submission to Discord channel",
      "type": "n8n-nodes-base.discord",
      "position": [
        2360,
        340
      ]
    },
    {
      "id": "8e7f2f57-b6eb-4b34-84d4-e61f24e0cdf9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        200
      ],
      "parameters": {
        "width": 624.279069767441,
        "height": 535.976744186046,
        "content": "# Manage Webflow form submissions in Discord \n## Full guide with video\n[Full guide with video here](https://blog.kreonovo.co.za/send-webflow-form-submissions-to-discord-server/)\n\nThis workflow dynamic"
      }
    },
    {
      "id": "fc1ce7a7-ae13-447c-9c60-c8b082fb2b70",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2080,
        242.97574123989227
      ],
      "parameters": {
        "width": 224.58139534883728,
        "height": 296.44286341127054,
        "content": "### Format the message \nDiscord accepts Markdown"
      }
    },
    {
      "id": "154a43e0-6967-4307-b9d2-c30be6dae84a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        740
      ],
      "parameters": {
        "width": 323.0232558139535,
        "height": 304.69767441860455,
        "content": "### False branch \nWe create a new Discord channel using the form name in Webflow. Channel names must be converted to lowercase and words separated with dash.\n\nWhen the new channel is created we send a"
      }
    },
    {
      "id": "f668884a-b6fe-4abd-bf6f-dd45986235bf",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        160
      ],
      "parameters": {
        "width": 224.58139534883728,
        "height": 393.9954240581709,
        "content": "### Combining data to move forward \nThis code will check if a channel with the form name exists in Discord. \n\nWe also create an object to pass forward to the next node."
      }
    }
  ],
  "connections": {
    "Compose Slack message": {
      "main": [
        [
          {
            "node": "Send form submission to Discord channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Discord Channels": {
      "main": [
        [
          {
            "node": "Filter existing Discord channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Does the channel exist?": {
      "main": [
        [
          {
            "node": "Compose Slack message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Discord channel with form name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform data to send message": {
      "main": [
        [
          {
            "node": "Compose Slack message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter existing Discord channel": {
      "main": [
        [
          {
            "node": "Does the channel exist?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webflow Form Submission Trigger": {
      "main": [
        [
          {
            "node": "List Discord Channels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Discord channel with form name": {
      "main": [
        [
          {
            "node": "Transform data to send message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify #general channel of newly created channel1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}