{
  "name": "Automate LinkedIn post creation with image using Google Gemini & DALL-E",
  "nodes": [
    {
      "id": "814d7e13-82fe-412f-9a24-4e9cf816faf0",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        300,
        440
      ]
    },
    {
      "id": "4fadaf4b-57ad-4c55-9769-d651019cd4da",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        920,
        620
      ]
    },
    {
      "id": "8997cb59-adc4-4743-b225-703d9cd7c654",
      "name": "Structured Output Parser6",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1080,
        620
      ]
    },
    {
      "id": "de82607b-aa69-4b76-8a52-490235c7c24e",
      "name": "Google Gemini Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1420,
        620
      ]
    },
    {
      "id": "9930808c-9bd8-476e-a698-76ebcb48ca8f",
      "name": "Structured Output Parser7",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1580,
        620
      ]
    },
    {
      "id": "2122b062-5149-4f00-aa84-4250f1ec55b9",
      "name": "Content Topic Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        920,
        400
      ]
    },
    {
      "id": "b47f345f-8c19-4d2d-baa9-45e45aab593a",
      "name": "Content Creator",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1440,
        360
      ]
    },
    {
      "id": "6210b425-41df-427f-aa5b-e57e5f04813d",
      "name": "Google Gemini Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2180,
        740
      ]
    },
    {
      "id": "f77b1f70-8098-49db-8fca-66ff289772c0",
      "name": "Structured Output Parser3",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2340,
        740
      ]
    },
    {
      "id": "8ed03136-9fa8-4324-a4f6-add3e2563daf",
      "name": "Create a post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        3140,
        400
      ]
    },
    {
      "id": "b56d9e06-d549-4f5d-ac0a-20b20aa2f0eb",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2860,
        400
      ]
    },
    {
      "id": "72d4ff81-881b-493c-a55b-0c730c16024c",
      "name": "Hashtag Generator / SEO",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2180,
        540
      ]
    },
    {
      "id": "913f6772-564a-479e-9ec1-0e0839123c01",
      "name": "Generate an image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2240,
        360
      ]
    },
    {
      "id": "96e109a8-f6bd-4101-adbe-a0c21843cc3b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        40
      ],
      "parameters": {
        "width": 520,
        "height": 340,
        "content": "**LinkedIn Posts with Google Gemini Content & DALL-E Images**Before you get started, you'll need this:\n\n*   n8n Instance: A running n8n instance (cloud or self-hosted) to import and execute the workfl"
      }
    },
    {
      "id": "98c529e8-9164-4588-87ec-b1ec4c87b105",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        120
      ],
      "parameters": {
        "width": 660,
        "height": 660,
        "content": "Generate video captions from ideas in a Google Sheet\n-----------------------------------------------------------\n\n\n1.  Set up and apply your API key credentials to all “Google Gemini Chat Model” nodes"
      }
    },
    {
      "id": "213be9f7-b632-4c5c-b226-48c59d8034d5",
      "name": "Set Before Starting",
      "type": "n8n-nodes-base.set",
      "position": [
        660,
        480
      ]
    },
    {
      "id": "c6d39cfb-6a92-4b0d-8abe-e4ff7d01cb1b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        420
      ],
      "parameters": {
        "width": 220,
        "height": 220,
        "content": "## DO THIS FIRST\n"
      }
    },
    {
      "id": "a80eef4d-8f9c-459b-8d32-01ce74781afd",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        120
      ],
      "parameters": {
        "width": 620,
        "height": 380,
        "content": "Generate Content from the Content Topics\n-----------------------------------------------------------\n\n\n1.  Content topic from the previous nodes lands here, and content will be generated per the topic"
      }
    },
    {
      "id": "cabca161-fbcb-41af-afaf-07a007a5d80c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        140
      ],
      "parameters": {
        "width": 640,
        "height": 760,
        "content": "Image & Hashtag Generation\n-----------------------------------------------------------\n\n\n1.  Set your API key by double clicking on Generate an Image, and set up your API Key for DALL-E, or any other "
      }
    },
    {
      "id": "b9c5a91c-d703-4014-b0ec-d4e57b3c6098",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2740,
        160
      ],
      "parameters": {
        "width": 680,
        "height": 460,
        "content": "Connect Your LinkedIn\n-----------------------------------------------------------\n\n\n1.  Connect your LinkedIn by double clicking on LinkedIn Icon below. \n\n2. Set up and apply OAuth credentials to the "
      }
    },
    {
      "id": "418a2697-2895-470d-a2e4-e05083ceac2b",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        600
      ],
      "parameters": {
        "width": 636,
        "height": 300,
        "content": "# Need more help?\n \n\n**We develop tailored workflow to save youe valuable time. Should you have any questions or wish to explore more custom automation solutions, we would be happy to connect.**\n\n### "
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Creator": {
      "main": [
        [
          {
            "node": "Hashtag Generator / SEO",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate an image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate an image": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Set Before Starting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Before Starting": {
      "main": [
        [
          {
            "node": "Content Topic Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Topic Generator": {
      "main": [
        [
          {
            "node": "Content Creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hashtag Generator / SEO": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Content Topic Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Content Creator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Hashtag Generator / SEO",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser3": {
      "ai_outputParser": [
        [
          {
            "node": "Hashtag Generator / SEO",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser6": {
      "ai_outputParser": [
        [
          {
            "node": "Content Topic Generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser7": {
      "ai_outputParser": [
        [
          {
            "node": "Content Creator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}