{
  "name": "Create LinkedIn image posts with captions using Google Gemini and LinkedIn",
  "nodes": [
    {
      "id": "b8c2ed8a-3ef6-403b-a608-a734e5e80e24",
      "name": "Webhook - Receive Form",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2704,
        464
      ]
    },
    {
      "id": "e290f1b0-ebb8-4758-a86c-2c7d266374ee",
      "name": "Webhook-LinkedIn-post",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2720,
        1056
      ]
    },
    {
      "id": "3516b540-1740-4906-86a8-f23ac8081cde",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3168,
        1056
      ]
    },
    {
      "id": "29bef038-9cbc-441f-a1e0-170133028784",
      "name": "Respond to Webhook2",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3504,
        336
      ]
    },
    {
      "id": "c4b56266-794a-4ea7-9b0a-ec2657135d0b",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2928,
        736
      ]
    },
    {
      "id": "b4243d36-854a-47d4-8085-1d0232317cc4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        192
      ],
      "parameters": {
        "width": 592,
        "height": 1040,
        "content": "## Upload your quote and generate a LinkedIn AI post design with captions\n\n## Watch this tutorial\n@[youtube](T3zXQvoFB6A)\n\n## How it works\n- Upload your quote on the website\n- The webhook reads the da"
      }
    },
    {
      "id": "e1d7070a-4f4d-4f12-9a53-8a44094820bc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        208
      ],
      "parameters": {
        "width": 1152,
        "height": 720,
        "content": "## 1. Retrieve the data from the website, generate a post image and caption, then send back the results to display on the website"
      }
    },
    {
      "id": "4331f83b-742b-40fb-9af7-bc122b00f9ca",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        944
      ],
      "parameters": {
        "width": 832,
        "height": 288,
        "content": "## 2. Webhook reads the data and posts to LinkedIn"
      }
    },
    {
      "id": "ee3370a5-71e2-4bce-8314-27e0f04af017",
      "name": "Generate post caption",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2928,
        576
      ]
    },
    {
      "id": "c036d9f0-8527-4c53-a4ed-f3616c4a737d",
      "name": "Generate post image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2976,
        304
      ]
    },
    {
      "id": "4a7b177f-6fd2-4db8-8fca-472afc55114e",
      "name": "Convert binary to base64",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        3264,
        304
      ]
    },
    {
      "id": "4efa8966-62d4-4159-b3f8-f8d4d5983bbb",
      "name": "Combine the branches",
      "type": "n8n-nodes-base.merge",
      "position": [
        3296,
        560
      ]
    },
    {
      "id": "3c96ba5e-426f-4d2d-816e-6ec928da2df9",
      "name": "Set prompt and image",
      "type": "n8n-nodes-base.set",
      "position": [
        3536,
        560
      ]
    },
    {
      "id": "fb33329b-486f-472c-8d35-6b5e5dcc855c",
      "name": "Create Linkedin post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2944,
        1056
      ]
    }
  ],
  "connections": {
    "Generate post image": {
      "main": [
        [
          {
            "node": "Convert binary to base64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine the branches": {
      "main": [
        [
          {
            "node": "Set prompt and image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Linkedin post": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set prompt and image": {
      "main": [
        [
          {
            "node": "Respond to Webhook2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate post caption": {
      "main": [
        [
          {
            "node": "Combine the branches",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Webhook-LinkedIn-post": {
      "main": [
        [
          {
            "node": "Create Linkedin post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - Receive Form": {
      "main": [
        [
          {
            "node": "Generate post image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate post caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert binary to base64": {
      "main": [
        [
          {
            "node": "Combine the branches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate post caption",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}