{
  "nodes": [
    {
      "id": "81ea4c6a-d603-4688-8b72-d9c79faf7adf",
      "name": "n8n Form Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        1272,
        455
      ],
      "parameters": {
        "path": "d280e773-3bd8-44ce-a147-8b404251fce9",
        "options": {},
        "formTitle": "BannerBear Clone",
        "formFields": {
          "values": [
            {
              "fieldType": "dropdown",
              "fieldLabel": "Template",
              "fieldOptions": {
                "values": [
                  {
                    "option": "n8n Meetup Template"
                  },
                  {
                    "option": "AI Meetup Template"
                  }
                ]
              }
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "Title of Event",
              "requiredField": true
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "Location of Event",
              "requiredField": true
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "Date of Event",
              "requiredField": true
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "Image Prompt",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Generate an image and apply text"
      },
      "typeVersion": 2
    },
    {
      "id": "dea26687-4060-488b-a09f-e21900fec2fc",
      "name": "Upload to Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1920,
        480
      ],
      "parameters": {
        "url": "https://api.cloudinary.com/v1_1/daglih2g8/image/upload",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendQuery": true,
        "contentType": "multipart-form-data",
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "upload_preset",
              "value": "n8n-workflows-preset"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "4b73ba35-eac9-467b-b711-49061da30fbc",
      "name": "Send to Bannerbear Template",
      "type": "n8n-nodes-base.bannerbear",
      "position": [
        2260,
        440
      ],
      "parameters": {
        "templateId": "={{ $('Set Parameters').item.json.template_id }}",
        "modificationsUi": {
          "modificationsValues": [
            {
              "name": "placeholder_image",
              "text": "=",
              "imageUrl": "={{ $json.secure_url.replace('upload/','upload/f_auto,q_auto/') }}"
            },
            {
              "name": "placeholder_text",
              "text": "={{ $('Set Parameters').item.json.title }}"
            },
            {
              "name": "placeholder_location",
              "text": "={{ $('Set Parameters').item.json.location }}"
            },
            {
              "name": "placeholder_date",
              "text": "={{ $('Set Parameters').item.json.date }}"
            }
          ]
        },
        "additionalFields": {
          "waitForImage": true,
          "waitForImageMaxTries": 10
        }
      },
      "credentials": {
        "bannerbearApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d9b8f63b-ee0f-40d6-9b1a-8213c7043b3a",
      "name": "Set Parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        1452,
        455
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "8c526649-b8a8-4b9f-a805-41de053bb642",
              "name": "template_id",
              "type": "string",
              "value": "={{ {\n'AI Meetup Template': 'lzw71BD6VNLgD0eYkn',\n'n8n Meetup Template': 'n1MJGd52o696D7LaPV'\n}[$json.Template] ?? '' }}"
            },
            {
              "id": "f5a3c285-719b-4a12-a669-47a63a880ac4",
              "name": "title",
              "type": "string",
              "value": "={{ $json[\"Title of Event\"] }}"
            },
            {
              "id": "6713a88e-815c-416a-b838-b07006a090a3",
              "name": "location",
              "type": "string",
              "value": "={{ $json[\"Location of Event\"] }}"
            },
            {
              "id": "3c331756-1f1f-4e27-b769-e3de860bfdf0",
              "name": "date",
              "type": "string",
              "value": "={{ $json[\"Date of Event\"] }}"
            },
            {
              "id": "b933df30-8067-4a0a-bff1-64441490478d",
              "name": "image_prompt",
              "type": "string",
              "value": "={{ $json[\"Image Prompt\"] }}"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "3290571f-e858-4b73-b27d-7077d4efad15",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        280
      ],
      "parameters": {
        "color": 7,
        "width": 392.4891967891814,
        "height": 357.1079372601395,
        "content": "## 1. n8n Forms\ub85c \uc2dc\uc791\ud558\uc138\uc694\n\n[\uc591\uc2dd\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger/)\n\n\uc774 \ub370\ubaa8\uc5d0\uc11c\ub294 \ub2e8\uc21c \ub370\uc774\ud130 \ucea1\ucc98\ub97c \uc704\ud55c \uc591\uc2dd \ud2b8\ub9ac\uac70\ub97c \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \ub354 \ub098\uc740 \ub9de\ucda4\ud654 \ubc0f/\ub610\ub294 \ub2e4\ub978 \uc6cc\ud06c\ud50c\ub85c\ub85c\uc758 \ud1b5\ud569\uc744 \uc704\ud574 \uc6f9\ud6c5\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "560a6c43-07bd-4a5c-8af7-0cda78f345d4",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        215.68990043281633
      ],
      "parameters": {
        "color": 7,
        "width": 456.99271465116215,
        "height": 475.77059293291677,
        "content": "## 2. AI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ubbf8\uc9c0 \uc0dd\uc131\n\n[OpenAI \uc0ac\uc6a9\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.openai)\n\nAI \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud558\ub294 \uac83\uc740 \ud14d\uc2a4\ud2b8\ub97c \uc0dd\uc131\ud558\ub294 \uac83\ub9cc\ud07c \uc27d\uc2b5\ub2c8\ub2e4. n8n\uc758 OpenAI \ub178\ub4dc \ub355\ubd84\uc5d0\uc694. \uc791\uc5c5\uc774 \uc644\ub8cc\ub418\uba74 OpenAI\uac00 \uc774\uc9c4 \uc774\ubbf8\uc9c0 \ud30c\uc77c\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098 BannerBear\uc5d0 \uc9c1\uc811 \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \uc774 \uc774\ubbf8\uc9c0\ub97c \uc678\ubd80\uc5d0 \uc800\uc7a5\ud574\uc57c \ud569\ub2c8\ub2e4. \uc800\ub294 Cloudinary CDN\uc744 \uc0ac\uc6a9\ud558\uae30\ub85c \uc120\ud0dd\ud588\uc9c0\ub9cc S3\ub3c4 \uc88b\uc740 \uc120\ud0dd\uc785\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "0ffe2ada-9cb6-4d4c-9d15-df83d5a596ce",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2120,
        168.04517481270597
      ],
      "parameters": {
        "color": 7,
        "width": 387.4250119152741,
        "height": 467.21699325771294,
        "content": "## 3. \uc18c\uc15c \ubbf8\ub514\uc5b4 \ubc30\ub108\ub97c BannerBear.com\uc73c\ub85c \uc0dd\uc131\ud558\uc138\uc694\n\n[BannerBear Node\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.bannerbear)\n\n\uc774\uc81c \uc0dd\uc131\ub41c AI \uc774\ubbf8\uc9c0\uc640 \ud15c\ud50c\ub9bf \ubcc0\uc218\ub97c \uac00\uc9c0\uace0 BannerBear\uc5d0 \ubcf4\ub0bc \uc900\ube44\uac00 \ub418\uc5c8\uc2b5\ub2c8\ub2e4. BannerBear\ub294 \ubbf8\ub9ac \uc815\uc758\ub41c \ud15c\ud50c\ub9bf\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc6b0\ub9ac\uc758 \uc18c\uc15c \ubbf8\ub514\uc5b4 \ubc30\ub108\ub97c \uc0dd\uc131\ud560 \uac83\uc785\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "e8269a57-caab-40c6-bf47-95b64eccde81",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2540,
        299.6729638445606
      ],
      "parameters": {
        "color": 7,
        "width": 404.9582850950252,
        "height": 356.8876009810222,
        "content": "## 4. \uc18c\uc15c \ubbf8\ub514\uc5b4\uc5d0 \uc9c1\uc811 \uac8c\uc2dc\n\n[Discord Node \uc0ac\uc6a9\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.discord)\n\n\uc6b0\ub9ac\ub294 Discord\uc5d0\uc11c \uc6b0\ub9ac \ucee4\ubba4\ub2c8\ud2f0\uc640 \uc774\ubca4\ud2b8 \ubc30\ub108\ub97c \uacf5\uc720\ud560 \uac83\uc785\ub2c8\ub2e4. \ub610\ud55c, \ub2f9\uc2e0\uc740 \uc88b\uc544\ud558\ub294 \uc18c\uc15c \ubbf8\ub514\uc5b4 \ucc44\ub110\uc5d0 \uc774\ub97c \uac8c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "457a0744-4c08-4489-af50-5a746fa4b756",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2120,
        40
      ],
      "parameters": {
        "color": 5,
        "width": 388.96199194175017,
        "height": 122.12691731521146,
        "content": "\ud83d\ude4b\u200d\u2642\ufe0f \uc774\ubbf8\uc9c0\ub97c \ucd5c\uc801\ud654\ud558\uc138\uc694!  \nAI \uc0dd\uc131 \uc774\ubbf8\uc9c0\ub294 \uaf64 \ucee4\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4 (20MB+), \uc774\ub294 \uc77c\ubd80 \uc11c\ube44\uc2a4\uc758 \ud30c\uc77c \ud06c\uae30 \uc81c\ud55c\uc5d0 \uac78\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Cloudinary\uc758 \ucd5c\uc801\ud654 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud30c\uc77c \ud06c\uae30\ub97c \uc904\uc778 \ud6c4 BannerBear\uc5d0 \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "c38cc2c6-a595-48c8-a5be-668fd609c76b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2960,
        220
      ],
      "parameters": {
        "color": 5,
        "width": 391.9308945140308,
        "height": 288.0739771936459,
        "content": "\uacb0\uacfc! \uc0dd\uc131\ub41c \ubc30\ub108\uc758 \uc2a4\ud06c\ub9b0\uc0f7\uc785\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "29ce299d-3444-4e71-b83c-edbe867e833f",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        240
      ],
      "parameters": {
        "width": 392.9673182916798,
        "height": 404.96428251481916,
        "content": "## \uc2dc\ub3c4\ud574 \ubcf4\uc138\uc694!\n### \uc774 \uc6cc\ud06c\ud50c\ub85c\uc6b0\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\ub3d9\ud569\ub2c8\ub2e4:\n* n8n \ud3fc\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubc1c\ud45c\ud560 \uc774\ubca4\ud2b8\ub97c \ucea1\ucc98\ud569\ub2c8\ub2e4.\n* \ud3fc\uc5d0\ub294 \uc774\ubca4\ud2b8\uc5d0 \ud544\uc694\ud55c \uc774\ubbf8\uc9c0\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc73c\uba70, \uc774\ub294 OpenAI Dalle-3 \uc11c\ube44\uc2a4\ub85c \ubcf4\ub0b4 \uc0dd\uc131\ud569\ub2c8\ub2e4.\n* \uc774\ubca4\ud2b8 \uc138\ubd80 \uc0ac\ud56d\uacfc AI \uc0dd\uc131 \uc774\ubbf8\uc9c0\uac00 BannerBear.com \uc11c\ube44\uc2a4\ub85c \ubcf4\ub0b4\uc9c0\uba70, \ud15c\ud50c\ub9bf\uc774 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.\n* \ucd5c\uc885 \uc774\ubca4\ud2b8 \ud3ec\uc2a4\ud130\uac00 \uc0dd\uc131\ub418\uc5b4 X(\uad6c Twitter)\uc5d0 \uac8c\uc2dc\ub429\ub2c8\ub2e4.\n\n### \ub3c4\uc6c0\uc774 \ud544\uc694\ud558\uc2e0\uac00\uc694?\n[Discord](https://discord.com/invite/XPKeKXeB7d)\uc5d0 \uac00\uc785\ud558\uc138\uc694 or [Forum](https://community.n8n.io/)\uc5d0\uc11c \ubb3c\uc5b4\ubcf4\uc138\uc694!\n\n\uc990\uac70\uc6b4 \ud574\ud0b9!"
      },
      "typeVersion": 1
    },
    {
      "id": "c01d1ac0-5ebe-4ef1-bece-d6ad8bbff94e",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2200,
        400
      ],
      "parameters": {
        "width": 221.3032167915293,
        "height": 368.5789698912447,
        "content": "\ud83d\udea8**\ud544\uc218**\n* BannerBear\uc5d0\uc11c \ud15c\ud50c\ub9bf\uc744 \ub9cc\ub4e4\uc5b4\uc57c \ud569\ub2c8\ub2e4.\n* \ud55c \ud6c4, \uc774 \ub178\ub4dc\uc758 \ud544\ub4dc\uc5d0 \ud15c\ud50c\ub9bf \ubcc0\uc218\ub97c \ub9e4\ud551\ud558\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "c929d9c4-1e18-4806-9fc6-fb3bf0fa75ad",
      "name": "Download Banner",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2600,
        480
      ],
      "parameters": {
        "url": "={{ $json.image_url_jpg }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "79d19004-7d82-42be-89d5-dcb3af5e3fb1",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1857.0197380966872,
        440
      ],
      "parameters": {
        "width": 224.2834786948422,
        "height": 368.5789698912447,
        "content": "\ud83d\udea8**\ud544\uc218**  \n* \ubaa8\ub4e0 ID\uc640 \ucc38\uc870\ub97c \uadc0\ud558\uc758 Cloudinary \uc778\uc2a4\ud134\uc2a4\ub85c \ubcc0\uacbd\ud574\uc57c \ud569\ub2c8\ub2e4.  \n* \ub2e4\ub978 \uc11c\ube44\uc2a4\ub85c \ubcc0\uacbd\ud558\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "18ccd15f-65b6-46eb-8235-7fe19b13649d",
      "name": "Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        2780,
        480
      ],
      "parameters": {
        "files": {
          "values": [
            {}
          ]
        },
        "content": "=\ud83d\udcc5 New Event Alert!  {{ $('Set Parameters').item.json.title }} being held at  {{ $('Set Parameters').item.json.location }} on the  {{ $('Set Parameters').item.json.date }}! Don't miss it!",
        "guildId": {
          "__rl": true,
          "mode": "list",
          "value": "1248678443432808509",
          "cachedResultUrl": "https://discord.com/channels/1248678443432808509",
          "cachedResultName": "Datamoldxyz"
        },
        "options": {},
        "resource": "message",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "1248678443432808512",
          "cachedResultUrl": "https://discord.com/channels/1248678443432808509/1248678443432808512",
          "cachedResultName": "general"
        }
      },
      "credentials": {
        "discordBotApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "7122fac9-4b4d-4fcf-a188-21af025a7fa8",
      "name": "Generate AI Banner Image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1700,
        480
      ],
      "parameters": {
        "prompt": "={{ $json.image_prompt }}",
        "options": {
          "size": "1024x1024",
          "quality": "standard"
        },
        "resource": "image"
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    }
  ],
  "connections": {
    "Set Parameters": {
      "main": [
        [
          {
            "node": "Generate AI Banner Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Banner": {
      "main": [
        [
          {
            "node": "Discord",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n Form Trigger": {
      "main": [
        [
          {
            "node": "Set Parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Cloudinary": {
      "main": [
        [
          {
            "node": "Send to Bannerbear Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Banner Image": {
      "main": [
        [
          {
            "node": "Upload to Cloudinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send to Bannerbear Template": {
      "main": [
        [
          {
            "node": "Download Banner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}