{
  "name": "Generate LinkedIn posts with Mistral AI using 7 dynamic content templates",
  "nodes": [
    {
      "id": "83169ed6-d8dd-43de-abf8-38e448e33d44",
      "name": "Mistral Cloud Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        1824,
        2128
      ]
    },
    {
      "id": "8290c356-984a-4720-b9ac-349fc96bd239",
      "name": "Knowledge & Educational",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1376
      ]
    },
    {
      "id": "f2bacac0-91b1-40c0-93cd-0bcd48ba1ac7",
      "name": "Discussion & Engagement",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1712
      ]
    },
    {
      "id": "135c29b5-fb31-48c6-8920-0d82d4813e58",
      "name": "Promotion",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1552
      ]
    },
    {
      "id": "77f540c5-e73a-41cb-ad0a-47a8092d4e2f",
      "name": "Case Study & Testimonial",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1904
      ]
    },
    {
      "id": "987e92cb-a593-4c94-a6bd-ad003d2cbd49",
      "name": "personal",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2256
      ]
    },
    {
      "id": "f3fc7c7c-644a-4e78-b19a-5108a1cafdd9",
      "name": "news based post",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2080
      ]
    },
    {
      "id": "8246e9d8-f379-415f-a3bd-c51618f604bf",
      "name": "general",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2400
      ]
    },
    {
      "id": "283ebbf6-4ee7-4f4f-a25e-6d54f7d4fce5",
      "name": "Think1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2048,
        2144
      ]
    },
    {
      "id": "f81feb8c-9560-4256-92e4-cc4976364b77",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1008,
        880
      ]
    },
    {
      "id": "583963fd-957d-429e-9b9f-0054e040626c",
      "name": "LinkedIn Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1264,
        512
      ]
    },
    {
      "id": "047407fb-443a-4085-8a59-9d5e5af29df5",
      "name": "template",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1568,
        864
      ]
    },
    {
      "id": "2de6587d-2047-4f12-86e8-3a012f3003c1",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        960,
        512
      ]
    },
    {
      "id": "24ea2d11-d736-4e85-bd02-26dd63aed3ab",
      "name": "Simple Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1376,
        864
      ]
    },
    {
      "id": "9023181f-b3d5-448f-8c3f-5d1264bd69c3",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        64,
        1808
      ]
    },
    {
      "id": "ee9dba45-b16b-40f2-bdcf-74b5e71f9120",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        784,
        864
      ]
    },
    {
      "id": "53819389-8e52-4420-a9e0-24f43a0da0a7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        400
      ],
      "parameters": {
        "width": 384,
        "height": 272,
        "content": "## LinkedIn Agent\nHandles conversation with the user and decides which template to use.  \nConnects memory + model + tools."
      }
    },
    {
      "id": "011d9af1-5831-4936-b475-6a72a6d0bffd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        768
      ],
      "parameters": {
        "width": 256,
        "height": 208,
        "content": "## template tool (post generator)"
      }
    },
    {
      "id": "b7e74f97-34f2-4b0e-a74b-364e1c1ce5b4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1680
      ],
      "parameters": {
        "width": null,
        "height": 304,
        "content": "## When Executed by Another Workflow\nAllows other workflows to call this one with custom inputs.\n"
      }
    },
    {
      "id": "16a5e1a0-d8eb-46f7-9b33-2e92d589680d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        1584
      ],
      "parameters": {
        "width": 224,
        "height": 432,
        "content": "## Template Switch\nRoutes the workflow to one of seven post templates based on user choice."
      }
    },
    {
      "id": "12a94826-ee46-4b94-af95-68ca37f81689",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        1184
      ],
      "parameters": {
        "width": null,
        "height": 1392,
        "content": "## Post Templates\nEach “Set” node stores a prompt for a specific type of post:\nEducational, Discussion, Promotion, Case Study, News, Personal, or General."
      }
    },
    {
      "id": "82b4ee54-049f-4bad-b710-34a4a3a40a74",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1776,
        1600
      ],
      "parameters": {
        "width": 544,
        "height": 240,
        "content": "\n## Post Generator\nUses the selected template + topic to craft the final LinkedIn post.  \nValidates tone and format before output."
      }
    },
    {
      "id": "58e1cf0a-58c8-47f2-adce-77b7f1a065c9",
      "name": "post generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1872,
        1712
      ]
    },
    {
      "id": "e64f6500-f29a-4b87-8d5f-8bdc36a79c94",
      "name": "Switch between templates",
      "type": "n8n-nodes-base.switch",
      "position": [
        304,
        1728
      ]
    },
    {
      "id": "18b85037-41b7-48e0-8685-7d41e50f2b9b",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        800
      ],
      "parameters": {
        "width": 544,
        "height": 512,
        "content": "## How it works\nThis workflow helps you automatically create polished LinkedIn posts.  \nIt combines a chat-style interface, reusable post templates, and an AI model (Mistral Cloud) to generate ready-t"
      }
    },
    {
      "id": "d2200320-2859-465e-9e8e-33a10bbee694",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        384
      ],
      "parameters": {
        "width": 384,
        "height": 288,
        "content": "## Chat & Trigger\nStarts the flow when a chat message arrives or another workflow executes it.  \nCollects the topic and post type from the user."
      }
    },
    {
      "id": "b0570ba3-8860-4cf3-8f43-4ca044ca3d15",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        768
      ],
      "parameters": {
        "width": 288,
        "height": 208,
        "content": "## Simple Memory\nStores short chat context so the Agent remembers recent messages."
      }
    },
    {
      "id": "774586be-62ab-4cc1-981b-2671edee1ab8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        768
      ],
      "parameters": {
        "width": 448,
        "height": 224,
        "content": "## Mistral Model + Think Tools\nMistral handles text generation.  \nThink nodes double-check logic and structure."
      }
    },
    {
      "id": "dbe9e9d5-a1f5-49ed-bc87-0e09a2fd381d",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        2000
      ],
      "parameters": {
        "width": 448,
        "height": 272,
        "content": "## Mistral Model + Think Tools\nMistral handles text generation.  \nThink nodes double-check logic and structure."
      }
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "LinkedIn Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think1": {
      "ai_tool": [
        [
          {
            "node": "post generator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "general": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "personal": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "template": {
      "ai_tool": [
        [
          {
            "node": "LinkedIn Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Promotion": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn Agent": {
      "main": [
        []
      ]
    },
    "Simple Memory1": {
      "ai_memory": [
        [
          {
            "node": "LinkedIn Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "post generator": {
      "main": [
        []
      ]
    },
    "news based post": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Discussion & Engagement": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Knowledge & Educational": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Case Study & Testimonial": {
      "main": [
        [
          {
            "node": "post generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "post generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Switch between templates": {
      "main": [
        [
          {
            "node": "Knowledge & Educational",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Promotion",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Discussion & Engagement",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Case Study & Testimonial",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "news based post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "personal",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "general",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "LinkedIn Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "LinkedIn Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Switch between templates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}