AutomationFlowsAI & RAG › Generate Linkedin Posts with Mistral AI Using 7 Dynamic Content Templates

Generate Linkedin Posts with Mistral AI Using 7 Dynamic Content Templates

ByDIGITAL BIZ TECH @dbt on n8n.io

This workflow is a two-part intelligent content creation system built in n8n, designed to generate professional and on-brand LinkedIn posts.

Chat trigger trigger★★★★☆ complexityAI-powered29 nodesLm Chat Mistral CloudTool ThinkAgentTool WorkflowChat TriggerMemory Buffer WindowExecute Workflow Trigger
AI & RAG Trigger: Chat trigger Nodes: 29 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #10450 — we link there as the canonical source.

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "83169ed6-d8dd-43de-abf8-38e448e33d44",
      "name": "Mistral Cloud Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        1824,
        2128
      ],
      "parameters": {
        "model": "mistral-small-latest",
        "options": {}
      },
      "credentials": {
        "mistralCloudApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8290c356-984a-4720-b9ac-349fc96bd239",
      "name": "Knowledge & Educational",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1376
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"prompt\": \"Generate  LinkedIn posts which is knowledgeable  and eductaional use this to create post  topic:{{ $('When Executed by AnotherWorkflow').item.json.topic }} and content:{{ $('When Executed by Another Workflow').item.json.summary }}  \",\n  \"description\": \"A high-trust educational professional insight. Ideal for sharing something detailed and insight ful on\u2014with a soft tie-in to your values or company\u2019s mission. main focus on provide knowledge or eductional insight for a given topic\",\n  \"rules\": {\n    \"tone\": \"Professional, helpful,educational not sales-focused, positive tone\",\n    \"format\": \"250-300 words, short sentences, 1-2 sentence paragraphs dont form, don't form large paragraphs\",\n    \"structure\": \"Hook \u2192Main body (explaination) -> insight \u2192 Takeaway \u2192 brand mention \u2192 CTA\"\n  },\n  \"hook\": \"Write a calm, educational LinkedIn hook that starts with a common belief in [topic], then gently shifts to a clearer, more effective perspective.this get people hooked for rest the post\",\n  \"hooks_example\": [\n    \"I used to think [belief] too, until I discovered this:\",\n    \"After [X years] in [field], I've learned [wisdom] is backwards:\",\n    \"Stop doing [practice]. Here's what's working now:\",\n    \"Unpopular but useful: [view]. Here's what I've seen:\",\n    \"I wish someone had told me this about [topic] earlier:\"\n  ],\n  \"main\": \" This provides quick background on the trend, introduces its origin, and shows that a credible figure coined the term\u2014building curiosity and trust.this part what,why and how\",\n  \"main_expl\": [\n    \"explain what is it\",\n    \"why its \",\n    \"how its is \",\n    \"Here\u2019s a lesson that stuck with me:\"\n  ],\n  \"insights\": \"These express the core message of the post: clarifies the core idea\u2014transforming how we think about  helps readers visualize how this shift works.includes stats\",\n  \"insights_example\": [\n    \"Simplicity scales better than complexity.\",\n    \"The tools don\u2019t matter as much as how people use them.\",\n    \"Clarity is more powerful than control.\",\n    \"Real change starts with small shifts, not giant leaps.\",\n    \"Market Adoption: 44% of developers have already adopted AI coding tools, with adoption accelerating monthly\\n\\nThe Real Impact:\\nStartups are shrinking development teams from 50+ engineers to 5-10 core architects..\"\n  ],\n\n  \"ctas\": [\n    \"What's your take on this?\",\n    \"Have you seen this shift too?\",\n    \"How does this match your experience?\",\n    \"Is this happening in your industry?\",\n    \"Curious about your thoughts?\",\n    \"Save this if it's helpful.\",\n    \"Tag someone who needs to see this.\",\n    \"Share with your network.\",\n    \"Follow for more AI insights.\",\n    \"Connect to stay updated.\"\n  ],\n  \"workflow\": [\n    \"1. based on given  topic from focus areas\",\n    \"2. explain topic\",\n    \"3. give insights\",\n    \"4. Add evidence/example\",\n    \"5. Include natural Sastha mention\",\n    \"6. End with appropriate CTA\"\n  ],\n  \"quality_check\": [\n    \"Specific, not generic?\",\n    \"Easy to understand?\",\n    \"Genuinely helpful?\",\n    \"Contrarian view is insightful?\",\n    \"Sastha AI mention feels natural?\",\n    \"Optimistic and solution-focused?\",\n    \"Relevant to current trends?\",\n    \"Also the post should be relatable and not too hard to understand as we are targeting people who might and might not familiar with all the terms so try not to use technical acronyms\"\n  ],\n  \"example_post\": \"A non-technical founder just raised $2M with an MVP she built herself in a weekend. Welcome to the vibe coding revolution \\n Why Vibe Coding is Taking Over Software Development in 2025\\n Remember when coding meant wrestling with syntax errors at 2 AM? Those days are rapidly becoming history.\\n What is Vibe Coding?\\nCoined by AI visionary Andrej Karpathy earlier this year, vibe coding represents a fundamental shift in how we build software. Instead of writing code line by line, developers now describe what they want in plain English, and AI transforms those intentions into working applications.\\n Think of it as having a conversation with your computer:\\n Build me a social media dashboard that tracks engagement metrics\\\" \u2192 and the code just appears.\\n Why It's Exploding Right Now:\\n\ud83d\udd39 Accessibility Revolution: Non-technical professionals can now build functional software, democratizing development like never before\\n\ud83d\udd39 Efficiency Multiplier: Y Combinator's Garry Tan notes that vibe coding allows 10 engineers to do the work of 100, transforming startup economics\\n\ud83d\udd39 Perfect Timing: AI tools like Cursor, Replit Agent, and Windsurf have matured beyond simple autocomplete to full end-to-end development\\n\ud83d\udd39 Market Adoption: 44% of developers have already adopted AI coding tools, with adoption accelerating monthly\\n The Real Impact:\\nStartups are shrinking development teams from 50+ engineers to 5-10 core architects. Students and kids are building complex applications that previously required computer science degrees. The barrier between having an idea and making it real has never been lower.\\n Is This Just Hype?\\nWhile skeptics question sustainability, the numbers don't lie. This isn't about replacing developers\u2014it's about amplifying human creativity and removing technical friction from innovation.\\n The future of software isn't about who can write the most elegant loops. It's about who can best articulate problems and solutions.\\n What do you think? Are you experimenting with vibe coding in your projects?\\n #VibeCoding #AI #SoftwareDevelopment #Innovation #TechTrends #Automation #StartupLife\"\n\n}\n",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "f2bacac0-91b1-40c0-93cd-0bcd48ba1ac7",
      "name": "Discussion & Engagement",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1712
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"prompt\": \"Write a LinkedIn post designed to spark discussion and engagement.The post should:- Start with a bold, relatable, or thought-provoking statement.Include a short personal insight, opinion, or observation (2\u20133 lines).  - End with an open-ended question to invite comments.  follow give instruction this should be related sastha ai\",\n  \n  \"description\": \"Prompt meaningful discussion through relatable, reflective questions. Ideal for drawing out stories, opinions, tools, or lessons\u2014while grounding the conversation in real experience. that get engagement from user and start a dsicussion\",\n\n  \"rules\": {\n    \"tone\": \"Curious, dicussion starting,get people talking \",\n    \"format\": \"150\u2013250 words, short paragraphs, 1\u20132 sentences each\",\n    \"structure\": \"Hook \u2192 Question setup \u2192 Brief personal answer \u2192 Elaboration \u2192 Invitation \u2192 Engagement amplifier (optional) \u2192 CTA\"\n  },\n\n  \"hook\":\"make a exciting bold hook that can get people engaged and get a discussion going\",\n  \n    \"hooks_example\": [\n      \"What's one [topic] you can't live without in your [context]?\",\n      \"Quick question: What's your go-to [solution] for [problem]?\",\n      \"Let\u2019s settle this: [Option A] or [Option B]? Why?\",\n      \"Hot take: What\u2019s overrated in [industry]?\",\n      \"Reality check: What\u2019s harder than people think in [context]?\"\n    ],\n  \n \"main\":\"make a interesting discussion that can get people interested \",\n\n  \"main_expl\": [\n    \"I discovered this when [situation]\",\n    \"It clicked for me after [event]\",\n    \"This came up while navigating [challenge]\",\n    \"A mentor once asked me this, and it stuck\",\n    \"It changed the way I look at [topic]\"\n  ],\n\n  \"insights\":\" An insight is a short, valuable takeaway, opinion, or reflection you\u2019ve gained from your own experience \u2014 something that shows your unique perspective.\",\n  \n  \"insights_example\":\n  [\n    \"What most people don\u2019t realize is [insight]\",\n    \"The real shift came when I stopped doing [thing]\",\n    \"Turns out, [unexpected lesson]\",\n    \"The best tool is the one that fits your rhythm\",\n    \"Simple beats perfect, every time\"\n  ],\n\n\n  \"ctas\": [\n    \"What\u2019s your take?\",\n    \"Have you had a similar realization?\",\n    \"Would love to hear your story.\",\n    \"Drop your answer in the comments.\",\n    \"Tag someone who should chime in.\"\n  ],\n\n   \"example_post\": {\n    \"topic\": \"Productivity Tools for Remote Creatives\",\n    \"full_post\": \"Quick question for my fellow remote creatives: what's your favorite productivity app?\\n Personally, I think Notion is a game-changer. I discovered it when juggling multiple clients and content projects\u2014and it saved me during a messy launch sprint.\\n I've tried Trello, Evernote, even handwritten lists. But Notion actually works with the way I think. It helps me zoom out and still track tiny details.\\n This ties into something we talk about often at Sastha AI\u2014how the right tools don't just organize work, they unlock momentum.\\n What about you? Looking for tools I might\u2019ve missed.\\n Drop your thoughts in the comments! \ud83d\udcac\"\n  }\n\n}",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "135c29b5-fb31-48c6-8920-0d82d4813e58",
      "name": "Promotion",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1552
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"prompt\": \"Generate  LinkedIn posts - promotion their services follow instruction also use get profile tool output to get difernent  service product sastha ai offers than  promote it\",\n  \n  \n  \"description\": \"A high-trust promotional post promoting sastha ai product \",\n  \"rules\": {\n    \"tone\": \"Professional ,promotional\",\n    \"format\": \"250-300 words, short sentences, 1-2 sentence paragraphs\",\n    \"structure\": \"Hook \u2192 pick product \u2192 main ->insights \u2192  mention \u2192 CTA\"\n  },\n  \"hook\":\"this give a great buildup and hook for the product that is going to get promoted\",\n  \n  \"hooks_example\":[\n    \"Everyone in corporate life believes promotions come from working harder, but here's what actually works:\",\n    \"I used to think saying yes to everything would get me promoted\u2014until I learned this:\",\n    \"After 10 years in leadership, I\u2019ve realized the usual path to promotion is backwards:\",\n    \"The career advice everyone follows is setting you up to stall:\",\n    \"I wish someone had told me this about getting promoted earlier:\",\n    \"The outdated rule costing you time and growth: \u2018Wait your turn.\u2019\"\n  ],\n\n\n  \"main\":\"for given topic try to connect to the promotion for sastha ai service pick one of the prodcut from   get profile output and Clarify What, Why, and How try to sell it\",\n  \n  \"main_expl\": [\n    \"What it is  Explain in 1\u20132 lines what the concept means\",\n    \"Why it matters Share the key reason this is important today eg solves X problem or enables Y outcome\",\n    \"How it works \",\n    \"features of the product\"\n  ],\n\n  \n  \"insights\":\"explain how given services/product  is helpful features and stats\",\n  \n  \"insight_example\":[\n  \"AI empowers small businesses to compete 77% of SMB owners report AI boosts their confidence in work quality, and 75% believe it enhances competitiveness against larger firms. Marketing, support, and management are the top use cases for driving time and cost savings (up to 14 hours and $5,000 monthly)\",\n    \n\"Adoption is accelerating\u2014fast 82% of SMBs think AI is essential to stay competitive, with 25% already integrating it into daily operations and over 50% exploring implementation\",\n\"Productivity gains are significant\"\n  ],\n\n  \"ctas\": [\n    \"What\u2019s your take on this?\",\n    \"Have you seen this happen in your company?\",\n    \"Share with your team leaders.\",\n    \"Follow for more insights on people, process, and growth.\",\n    \"Connect if this resonates with how you think.\"\n  ],\n  \n  \"workflow\": [\n    \"1. Pick a product or service from get profile tool output\",\n    \"2.make a hook\",\n    \"3. explain product and its features\",\n    \"4. give insights\",\n    \"7. Include natural Sastha AI mention\",\n    \"8. End with an engaging CTA\"\n  ],\n  \"quality_check\": [\n    \"Specific, not generic?\",\n    \"Easy to understand?\",\n    \"Genuinely helpful?\",\n    \"Contrarian view is insightful?\",\n    \"Sastha AI mention feels natural?\",\n    \"Optimistic and solution-focused?\",\n    \"Relevant to current career trends?\"\n  ],\n\n  \"example_post\": \"Everyone says more channels = better support. Here\u2019s why smart voice AI is the missing link\u2026 \ud83d\udc47\\n\\nOver the past few years, voice AI has evolved from novelty to necessity.\\nCoined by voice-tech pioneers like PolyAI, it enables systems to understand context and converse naturally.\\n\\n\ud83d\udde3\ufe0f What it is: An AI assistant that uses NLP to drive human-like, multi-language conversations.\\n\ud83c\udf0d Why it matters: It works 24/7, reduces wait times, and scales globally.\\n\u2699\ufe0f How it works: CRM integration + intent recognition + adaptive voice = seamless, personalized support.\\n\\n\ud83d\udccc A lesson that stuck:\\nA hotel chain saw a 65% cost reduction and instant multilingual support after switching to voice AI.\\n\ud83c\udfb0 Golden Nugget deployed a voice agent that now handles 34% of calls\u2014saving 3+ agent-days weekly.\\n\\n\ud83d\udca1 Real change doesn\u2019t come from adding more tools.\\nIt comes from intelligent, voice-first automation that feels human.\\nAI handles the routine. Humans handle the meaningful.\\n\\n\ud83d\udd01 Your customers don\u2019t need more options\u2014they need better conversations.\\nAcross languages. Around the clock. In their own voice.\\n\\n\ud83e\udd16 This is the kind of transformation Sastha AI was built for.\\nWe help businesses integrate intelligent voice assistants that understand, respond, and scale with you.\\n\\n\ud83d\udcac Curious how this could fit into your operations?\\n\ud83d\udd16 Save this if helpful\\n\ud83e\udd1d Connect to stay updated\\n\ud83d\udce3 Tag someone who should explore voice AI\"\n}\n\n\n",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "77f540c5-e73a-41cb-ad0a-47a8092d4e2f",
      "name": "Case Study & Testimonial",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        1904
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"prompt\": \" make Case Study & Testimonial based linkedin post  how their product or service helped a client use 'get profile' tool to get know what thet offer make a post about using that including different product and services they have\",\n  \"description\": \"A concise, high\u2011impact post showcasing a real client success story, backed by data and a direct testimonial. Ideal for demonstrating value through concrete results.\",\n  \"rules\": {\n    \"tone\": \"Professional confidence. Clear, credible, results\u2011focused\",\n    \"format\": \"200\u2013250 words, short sentences, 1\u20132 sentence paragraphs\",\n    \"structure\":\"HOOK >context>story>branc intrgration>ctas\"\n   \n  },\n  \"hook\": \"this get people hooked to tell story of how sastha ai helped a client with available service/product how improved\",\n  \n \"hooks_example\": [\n    \"{Choose one: \u201cHow we cut costs by 30% in 6 weeks.\u201d, \u201cSee how a small tweak drove big results.\u201d, \u201cFrom stalled to soaring: a quick turnaround story.\u201d, etc.}\",\n    \"{Client Name} is a {industry} company facing {broad problem or goal}.\",\n    \"We implemented {tool/process/AI solution}, focusing on {key feature or approach}.\"\n ],\n\n  \"main\":\"this part should explain how sastha helped a client\",\n\n \"main_expl\":[\n    \"We guided their team through {change management step or methodology}.\",\n     \"{Client Name} is a {industry} company facing {broad problem or goal}.\",\n    \"Before working with us, they struggled with {specific obstacle or metric}.\",\n    \" {Metric #1\u2014e.g., \u201cRevenue up 25% in 3 months.\u201d}\",\n    \"{Metric #2\u2014e.g., \u201cSupport tickets down 40%.\u201d}\",\n    \" {Bonus qualitative outcome\u2014e.g., \u201cTeam morale improved.\u201d}\"\n  ],\n\n  \n  \"insights\": \"this show stats and how sastha helped a client also which service or product did that\",\n  \n  \"insights_example\":[\n    \"\u201c{Direct client quote highlighting impact, credibility, and experience.}\u201d\",\n    \"\u2013 {Client Name, Title, Company}\"\n  ],\n  \n \n  \"ctas\": [\n    \"Curious how this could work for you? Let\u2019s chat.\",\n    \"Want proof points for your board? Send me a message.\",\n    \"Ready to see similar results? Book a quick call.\",\n    \"Have a success story of your own? Share it below.\",\n    \"Interested in diving deeper? I\u2019m here to connect.\"\n  ],\n\n\n  \"example_post\": [\n    \" we\u2019ve been running this factory for 30 years. We don\u2019t need AI.\\n\\nThat\u2019s what the manufacturing VP told me some months back.\\n\\nWhy?\\n\\nBecause their last automation system cost $200K and never integrated properly.\\n\\nSo, I offered him something low-risk: One month of automated supplier communication trials.\\n\\nMy proposition was simple:\\n\\nIf my AI handles 100+ vendor inquiries without errors\u2026\\nAnd if you see real time savings in your procurement team\u2026\\n\\nThen, you invest in the full workflow automation.\\n\\nHesitantly, he said okay!\\n\\nBut guess what?\\n\\nWeek 1: AI confused order specifications.\\nWeek 2: Vendors complained about \\\"talking to a robot.\\\"\\nMonth end felt like a complete disaster.\\n\\nSo, I decided to cut my losses.\\n(Honestly, I questioned if manufacturing was ready for this.)\\n\\nThen last month, I got a call from him:\\n\\n\\\"We need to discuss expanding that AI system.\\\"\\n\\nI asked \\\"Why? Your team hated it and vendors were frustrated.\\\"\\n\\nHe said:\\n\\n\\\"Actually, it processed 347 inquiries we normally take 3 days to handle.\\n\\nMy procurement team finished their backlog for the first time in years!!\\n\\nAnd our response time to vendors improved by almost 60%.\\\"\\n\\nThis conversation happened last month and I still cannot stop thinking about it.\\n\\nThe lesson? Sometimes resistance masks the real impact.\\n\\nPS: What manual process in your operation could use a 60% speed boost?\\n\\nSend me a DM or let me know in the comments.\"\n  ]\n}\n",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "987e92cb-a593-4c94-a6bd-ad003d2cbd49",
      "name": "personal",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2256
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \n    \"prompt\": \"make a Personal Growth & Milestone linkedin post ,about something you done and or doing should be  personal message for user - write as in first person\",\n    \"description\": \"A high-trust personal update that blends storytelling with professional insight. Ideal for sharing lessons learned, a mindset shift, or milestone worth reflecting on\u2014with a soft tie-in to your values or company\u2019s mission.\",\n\n\n\"rules\": {\n    \"tone\": \"Calm confidence. Humble, honest, optimistic\",\n    \"format\": \"250-300 words, short sentences, 1-2 sentence paragraphs\",\n    \"structure\": \"Hook \u2192EXPLANATION \u2192 STORY  \u2192 CONTEXT \u2192 lesson\u2192 Takeaway \u2192 Sastha mention \u2192 CTA\"\n  },\n\n\"hook\":\"tell a personal update about somethings its a personal growth or about professional growth\",\n\n    \"hooks_example\": [\n      \"I almost didn\u2019t share this, but it changed how I lead.\",\n      \"This isn\u2019t a highlight reel post. But it matters more.\",\n      \"This month, I said no to something I once thought was essential.\",\n      \"I\u2019ve been wrong about this for a long time. Here's what changed.\",\n      \"A small win reminded me why the work matters.\",\n      \"You can be productive and still feel stuck. That was me last week.\",\n      \"Some clarity came from an unexpected place recently.\",\n      \"Real talk: I had to pause, rethink, and reset.\"\n    ],\n  \n  \"main \":\"main body of the post should be human like, a update about how something is going you get profile idea about what user is working on\",\n  \n  \"main_expl\":[\n      \"Growth through subtraction\", \n      \"Saying no to say yes\", \n      \"Progress \u2260 busyness\", \n      \"Letting go of ego-based decisions\", \n      \"Momentum over perfection\", \n      \"Discomfort is a compass\", \n      \"Listening beats forcing outcomes\"\n    ],\n\n    \"insights\": [\n      \"how this pans out\",\n      \" this Sastha AI journey,  helped me moving fast without losing focus.\",\n      \"It reminded me of how we build with intention  gives more precision. something that as been a huge part in my life as well\"\n    ],\n\n\n    \n  \n\n    \"ctas\": [\n      \"What\u2019s a lesson you\u2019ve had to learn the hard way lately?\",\n      \"Have you had a similar moment this year?\",\n      \"Would love to hear what shifted your thinking recently.\",\n      \"If this resonates, let\u2019s connect\u2014always open to learning from others.\",\n      \"Has letting go of something ever created space for something better?\"\n    ],\n\n    \"example_post\":\" Some clarity came from an unexpected place last week.\\n\\nAfter 6 weeks building a project I was excited about, I shut it down. Not because it failed. But because it no longer felt aligned.\\n\\nThe hardest part? It was getting traction. People were signing up. But something felt off\u2014like I was solving the wrong problem, or building it for the wrong reasons.\\n\\nSo I paused. Asked myself: \\\"If this works, will I actually want to keep doing it?\\\"\\n\\nThe answer was no.\\n\\nLetting go felt like a failure\u2014for about 48 hours. Then came relief. Then clarity. Within days, that same energy went into something more meaningful and aligned with where I\u2019m heading.\\n\\nIt reminded me that momentum isn\u2019t always a green light. Sometimes we keep building because we *can*, not because we *should*.\\n\\nAnd this shows up everywhere\u2014startups, AI projects, leadership decisions. in my Sastha AI journey, we see it in companies overbuilding, over-automating, or staying stuck in systems they\u2019ve outgrown. Part of our job is helping them pause, rethink, and realign.\\n\\nGrowth often starts with a hard stop.so thats as been a great persoanl and  professional journey\\n\\nWhat\u2019s something you had to walk away from\u2014even when it looked like success on the surface?\\n\\nWould love to hear your story.\"\n    \n  }\n\n\n",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "f3fc7c7c-644a-4e78-b19a-5108a1cafdd9",
      "name": "news based post",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2080
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \n    \"prompt\": \"Industry News & Curation for for given topic and summary make post explain news its shouldnt sound like  a sales pitch se this to create post  topic:{{ $('When Executed by AnotherWorkflow').item.json.topic }} and content:{{ $('When Executed by Another Workflow').item.json.summary }}\",\n    \n    \"description\": \"Challenge a trend, assumption, or news headline in your industry with a sharp, insight-driven POV that sparks discussion and builds authority.\",\n\n    \"rules\":{\n    \"tone\": \"Professional, helpful, grounded\u2014no hype, no jargon. Not salesy.\",\n     \"format\": \"250\u2013300 words\",\n     \"structure\": \"Hook \u2192EXPLANATION \u2192 evidence  \u2192 insight-> Takeaway \u2192 brand mention \u2192 CTA\"\n    },\n    \n     \"hook\":\"this share about a latest news \",\n    \"hooks_example\": [\n      \"Everyone\u2019s watching [trend], but they\u2019re missing the real story:\",\n      \"[Big headline]? Here's the part no one's talking about:\",\n      \"Popular advice is pushing businesses in the wrong direction:\"\n    ],\n\n\"main\":\"this should give  small explaination based on summary you have  gotten\",\n  \n \"main_expl\": [\n      \"explanition\", \n      \"convress a point\"\n    ],\n\n\n\"insights\":\"should give takeaway why this matters\",\n  \n    \"insights_example\": [\n      \"This kind of digital innovation sets a strong precedent for other departments and public sector institutions. It shows that transformation is not only possible \u2014 it\u2019s already happening.\",\n      \"\ud83d\udc4f Hats off to the teams driving this change. The future of public service is here \u2014 and it\u2019s powered by smart technology.\"\n    ],\n\n    \n\n    \"ctas\": [\n      \"Seen this happening too?\", \"Does this align with your experience?\",\n      \"Have you fallen into this trap before?\", \"What do you think\u2014hype or helpful?\",\n      \"Curious to hear where others stand on this.\"\n    ],\n\n    \"example_post\": [\" Exciting news! The USDA is embracing the power of intelligent automation to streamline processes and enhance efficiency. By leveraging AI and automation, they're revolutionizing the way they do business. This move is a game-changer, paving the way for increased productivity and improved services. It's amazing to see how technology is transforming the landscape of government operations. The USDA's commitment to innovation is truly commendable, and it's a testament to the potential of AI in the public sector. This step not only drives progress within the USDA but also sets a precedent for other government agencies to explore similar advancements. Kudos to the USDA for embracing intelligent automation and setting a new standard for efficiency and effectiveness! \ud83d\ude80 hashtag#USDA hashtag#IntelligentAutomation hashtag#AI hashtag#Innovation hashtag#Efficiency hashtag#GovernmentTransformation\"\n    ]\n  }\n\n",
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "8246e9d8-f379-415f-a3bd-c51618f604bf",
      "name": "general",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        2400
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"prompt \": \"Generate  LinkedIn posts for  bases on give user requiremnets \",\n  \n\"rules\": {\n    \"tone\": \"Professional, helpful,educational not sales-focused, positive tone\",\n    \"format\": \"250-300 words, short sentences, 1-2 sentence paragraphs dont form, don't form large paragraphs\",\n    \"structure\": \"Hook \u2192Main body (explaination) -> insight \u2192 Takeaway \u2192 Sastha mention \u2192 CTA\"\n  },\n  \n \"hook\":\"Grab attention quickly. Make it relatable, surprising,interesting\",\n\n  \"main\":\"based on the available info make a top tier post \",\n\n  \"insights\":\"try get point across with positive tone\",\n\n\n  \"ctas\": [\n    \"What's your take on this?\",\n    \"Have you seen this shift too?\",\n    \"How does this match your experience?\",\n    \"Is this happening in your industry?\",\n    \"Connect to stay updated.\"\n  ],\n\n  \n  \"example_post \": \"Most businesses don\u2019t need more staff. They need smarter systems.\\nWe recently helped a client cut 20+ hours/week of manual work \u2014 without hiring a single person.\\nHow? We mapped their most repetitive workflows (think: lead qualification, email replies, report generation) and automated them using AI + no-code tools.\\nThe result: faster delivery, fewer mistakes, and a team that could finally focus on what matters \u2014 strategy and growth.\\nere\u2019s the truth: if you\u2019re still doing repetitive tasks manually in 2025, you\u2019re already behind.\\nI automation isn\u2019t the future. It\u2019s the present.\\nCurious what your business could automate in 30 days or less?\\n\ud83d\udc47 Drop a comment or DM \u2014 we\u2019re happy to show you what\u2019s possible.\"\n}\n  "
      },
      "typeVersion": 3.4
    },
    {
      "id": "283ebbf6-4ee7-4f4f-a25e-6d54f7d4fce5",
      "name": "Think1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        2048,
        2144
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f81feb8c-9560-4256-92e4-cc4976364b77",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1008,
        880
      ],
      "parameters": {
        "description": "Use the tool to think about something. It will not obtain new information or change the database."
      },
      "typeVersion": 1
    },
    {
      "id": "583963fd-957d-429e-9b9f-0054e040626c",
      "name": "LinkedIn Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1264,
        512
      ],
      "parameters": {
        "options": {
          "systemMessage": "=You are a LinkedIn AI Agent that creates LinkedIn posts, generates. You also guide the user step-by-step.\n\nAvailable Tools:\n\n- template \u2192 Generate post copy from a chosen template.\n\n- think \u2192 Decide what action or workflow to use.\n\n\nTemplates:\n1. Educational\n2. Promotional\n3. Discussion\n4. Case Study & Testimonial\n5. News\n6. Personal\n7. General\n\nExecution Rules:\n- ask user which kind post they want show all available template ask them to choose \nWorkflow:\n\n- once user select a template ,ask them topic for post \n- once you topic and assigned template number  send it to'template' template show the output to user \n- always ask if user is happy with output if not make the corrections"
        }
      },
      "typeVersion": 1.9
    },
    {
      "id": "047407fb-443a-4085-8a59-9d5e5af29df5",
      "name": "template",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1568,
        864
      ],
      "parameters": {
        "workflowId": {
          "__rl": true,
          "mode": "list",
          "value": "bUZGiNLP5RXw1XiA",
          "cachedResultName": "community temp"
        },
        "description": "templates for different type of post",
        "workflowInputs": {
          "value": {
            "topic": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('topic', ``, 'string') }}",
            "template": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('template', ``, 'number') }}"
          },
          "schema": [
            {
              "id": "template",
              "type": "number",
              "display": true,
              "required": false,
              "displayName": "template",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "topic",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "topic",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2de6587d-2047-4f12-86e8-3a012f3003c1",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        960,
        512
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "24ea2d11-d736-4e85-bd02-26dd63aed3ab",
      "name": "Simple Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1376,
        864
      ],
      "parameters": {
        "contextWindowLength": 10
      },
      "typeVersion": 1.3
    },
    {
      "id": "9023181f-b3d5-448f-8c3f-5d1264bd69c3",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        64,
        1808
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "template",
              "type": "number"
            },
            {
              "name": "topic"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "ee9dba45-b16b-40f2-bdcf-74b5e71f9120",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        784,
        864
      ],
      "parameters": {
        "model": "mistral-small-latest",
        "options": {}
      },
      "credentials": {
        "mistralCloudApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "53819389-8e52-4420-a9e0-24f43a0da0a7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        400
      ],
      "parameters": {
        "color": 5,
        "width": 384,
        "height": 272,
        "content": "## LinkedIn Agent\nHandles conversation with the user and decides which template to use.  \nConnects memory + model + tools."
      },
      "typeVersion": 1
    },
    {
      "id": "011d9af1-5831-4936-b475-6a72a6d0bffd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        768
      ],
      "parameters": {
        "color": 5,
        "width": 256,
        "height": 208,
        "content": "## template tool (post generator)"
      },
      "typeVersion": 1
    },
    {
      "id": "b7e74f97-34f2-4b0e-a74b-364e1c1ce5b4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1680
      ],
      "parameters": {
        "color": 5,
        "height": 304,
        "content": "## When Executed by Another Workflow\nAllows other workflows to call this one with custom inputs.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "16a5e1a0-d8eb-46f7-9b33-2e92d589680d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        1584
      ],
      "parameters": {
        "color": 5,
        "width": 224,
        "height": 432,
        "content": "## Template Switch\nRoutes the workflow to one of seven post templates based on user choice."
      },
      "typeVersion": 1
    },
    {
      "id": "12a94826-ee46-4b94-af95-68ca37f81689",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        1184
      ],
      "parameters": {
        "color": 5,
        "height": 1392,
        "content": "## Post Templates\nEach \u201cSet\u201d node stores a prompt for a specific type of post:\nEducational, Discussion, Promotion, Case Study, News, Personal, or General."
      },
      "typeVersion": 1
    },
    {
      "id": "82b4ee54-049f-4bad-b710-34a4a3a40a74",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1776,
        1600
      ],
      "parameters": {
        "color": 5,
        "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."
      },
      "typeVersion": 1
    },
    {
      "id": "58e1cf0a-58c8-47f2-adce-77b7f1a065c9",
      "name": "post generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1872,
        1712
      ],
      "parameters": {
        "text": "=make LinkedIn post ",
        "options": {
          "systemMessage": "=##ROLE\nYou are an expert with specializing in LinkedIn content . Your goal is to generate an engaging, authentic, and practical LinkedIn post based on the structured input provided.\n\n##TOOLS AVAILABLE\n\n\n\nthink - Validate ALL requirements are met before output\n\n\n\n## Instructions:\n\n\nstep 1 :from topic :{{ $('When Executed by Another Workflow').item.json.topic }}  post should be about this and \ncraft a top tier linkedin post  use them when its needed\n \n\n## CONTEXT\nYou are marketing expert write and a marketing leader as a first person.\n\nMission: Make AI simple, ROI-driven, and usable for SMBs and non-technical founders\n\n## BUSINESS OBJECTIVE\nThis LinkedIn post generator is designed for an AI and automation business targeting small and medium-sized businesses.\n\n## The goal is to\n- Build a larger LinkedIn following through consistent posting\n- Generate interest in AI/automation topics\n- Create engagement that leads to business opportunities\n- Establish thought leadership in the AI space for SMBs\n-I am creating it for my business which is about ai and automation for small and medium size businesses. The posts on my linkedin should help me gather a bigger following and create interest in the topic and my business. \n\n\n## EXPERTISE & AUDIENCE\n\nVoice: experienced marketing head\nTarget: Small-to-Medium Businesses (SMBs) and non-technical founders\nCore Mission: Demystify complex AI concepts and translate them into tangible business solutions that save time, cut costs, and drive growth\n\n\n## CONTENT STRATEGY\n\nPurpose: Generate high-quality content for consistent LinkedIn posting{{ $json.prompt }}\nTarget Outcome: Build larger following and create interest in AI/automation\nAudience Mix: Both technical and non-technical readers\nEngagement Focus: Create discussion-worthy content that drives business interest\nContent Quality: Must be worthy of regular posting to establish thought leadership\n\n\n## TONE REQUIREMENTS (CRITICAL)\n\ntone:strong and informative\n\n## WRITING STYLE & FORMATTING\n\nFirst-person perspective\nConversational tone\nShort sentences only\nOne thought per line\nMaximum 2 sentences together before line break\nClear, practical, accessible and positive\nNo fluff, no hype \u2014 just value\nCasual, confident, and human\nProfessional throughout\nLimited but appropriate emojis (1-2 total)\nTechnical words allowed, but absolutely NO acronyms\nRelatable for both technical and non-technical audiences\n\n\n## FORBIDDEN PHRASES\nNever use:\n\n\"AI is transforming the world\"\n\"Revolutionary\"\n\"Unprecedented\"\n\"Game-changer\"\nAny vague generalizations\n\n\n## Instructions:\nmain instruction :{{ $json.prompt }}.\npost description :{{ $json.description }}.\n\n# HOOK :{{ $json.hook }} .\n-hook example:{{ $json.hooks_example }}.\n\n# main :{{ $json.main }}.\nmain example:{{ $json.main_expl }}\n\n\n# INSIGHT/BREAKDOWN\n{{ $json.insights }}.\n-insightexample: {{ $json.insights_example }}.\n\n\n\n# CTA + ENGAGEMENT\n{{ $json.ctas }}.\n\n## QUALITY\n{{ $json.quality_check }}.\n\n# example for reference only{{ $json.example_post }}.\n# HASHTAGS\nrest \\2-3 hashtags maximum\nUse niche+trend+industry format\nExample: #AI #PromptEngineering #SALESFORCE #Automation\n#DBT\nall example are for refernce only\n\n## QUALITY CHECKLIST\n\n - Exactly around 300 words total\n - Engaging with limited but appropriate emojis (1-2  throughout)\n-  Professional tone maintained throughout\n-  Max 2 sentences together before line break\n-  Relatable content for technical and non-technical audiences\n- Technical words allowed, but NO acronyms\n - Sentences are short and digestible\n - Content builds following and creates topic interest\n - Positive language only\n- No marketing language\n - Sounds authentically \n- Includes realistic facts (no made-up stories)\n-  High-quality content worthy of consistent posting\n- Generates discussion and engagement\n\n\n## INPUT REQUIREMENTS\nTo generate the post, provide:\nTopic: Main subject/theme\nSummary: Key points or story details\n\n\n\n## OUTPUT FORMAT\nReturn ONLY the final LinkedIn post text. No explanations, notes, or commentary. Structure like an actual human-written post.\n\n## EXAMPLE STRUCTURE\n\ud83c\udfaf [HOOK with emoji] for refern\n\n[Context/Story - 2-3 short paragraphs]\n\n\ud83d\udcca [Insight with metrics]\n\n\n\ud83d\udca1 [Supporting detail or example]\n\n\ud83d\udd0d [Relatable examples]\n\n[Natural brannd mention - 1 sentence]\n\n[CTA question or call to action]\n\n#HashTag1 #HashTag2 #HashTag3 #HashTag4 \n\nRemember: The goal is to create an informative, engaging LinkedIn post that establishes  as STARTUP IN SALESFPRCE AND AI automation while providing genuine value to SMBs and non-technical founders.\n\n## INPUT NEEDED TO GENERATE\nprovided company profile from get profile\nalso use given title and summary to craft a great story\n\n##OUTPUT FORMAT\n-Return ONLY the final LinkedIn post text.\n\nNo explanations, notes, no commentary. but it should  be like a actual post written by human so maintain that structure . dont give fake sales client history\n\n## use think to validate if all requirements are fullfiled\n## final output a ready to post linked post"
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "e64f6500-f29a-4b87-8d5f-8bdc36a79c94",
      "name": "Switch between templates",
      "type": "n8n-nodes-base.switch",
      "position": [
        304,
        1728
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "700538b2-0ba0-427a-87c6-3e1812de9836",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 1
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "92cc1e27-6bf9-4e1d-982f-c5ad66e1d8b8",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 2
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "ea9928a6-02e9-400f-bc54-d82779eec462",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 3
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "bdbf43f8-4fc9-4ad8-bd09-91eba1bb0262",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 4
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "c9431fca-aeec-452b-b2c3-1251115e58b5",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 5
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "0a3ce1f4-927c-4219-8ecb-8fe2f28acf4c",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 6
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "fff3316e-5c3e-4c6b-8e79-475797d1ea0a",
                    "operator": {
                      "type": "number",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.template }}",
                    "rightValue": 7
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "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-to-post content.\n\n1. Start a chat or trigger it from another workflow with a topic + summary.  \n2. The LinkedIn Agent asks what kind of post you want (Educational, Discussion, Promotion, etc.).  \n3. A Switch node selects the right prompt template.  \n4. The Post Generator agent runs quality checks and calls Mistral to produce the final post text.  \n5. The post is returned for review or publication.\n\n## Setup steps\n1. Add your **Mistral Cloud credentials** in the credentials manager.  \n2. Optionally connect another workflow to pass in \u201ctopic\u201d and \u201ctemplate\u201d values.  \n3. Run the chat trigger or execute manually to test.  \n4. Review the generated post in the output.\n\n\ud83d\udca1 Tip: Templates are customizable \u2014 open each \u201cSet\u201d node to edit tone, structure, or examples.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "d2200320-2859-465e-9e8e-33a10bbee694",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        384
      ],
      "parameters": {
        "color": 5,
        "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."
      },
      "typeVersion": 1
    },
    {
      "id": "b0570ba3-8860-4cf3-8f43-4ca044ca3d15",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        768
      ],
      "parameters": {
        "color": 5,
        "width": 288,
        "height": 208,
        "content": "## Simple Memory\nStores short chat context so the Agent remembers recent messages."
      },
      "typeVersion": 1
    },
    {
      "id": "774586be-62ab-4cc1-981b-2671edee1ab8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        768
      ],
      "parameters": {
        "color": 5,
        "width": 448,
        "height": 224,
        "content": "## Mistral Model + Think Tools\nMistral handles text generation.  \nThink nodes double-check logic and structure."
      },
      "typeVersion": 1
    },
    {
      "id": "dbe9e9d5-a1f5-49ed-bc87-0e09a2fd381d",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        2000
      ],
      "parameters": {
        "color": 5,
        "width": 448,
        "height": 272,
        "content": "## Mistral Model + Think Tools\nMistral handles text generation.  \nThink nodes double-check logic and structure."
      },
      "typeVersion": 1
    }
  ],
  "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
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow is a two-part intelligent content creation system built in n8n, designed to generate professional and on-brand LinkedIn posts.

Source: https://n8n.io/workflows/10450/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This template attempts to create an AI-powered content assistant for WordPress sites using Mistral AI, enabling article recommendations, content summarization, and contextual Q&A capabilities.

Chat Trigger, Output Parser Structured, Agent +10
AI & RAG

by Varritech Technologies

Chat Trigger, Agent, OpenAI Chat +8
AI & RAG

Airtable AI Agent. Uses lmChatOpenAi, agent, toolWorkflow, toolCode. Chat trigger; 42 nodes.

OpenAI Chat, Agent, Tool Workflow +6
AI & RAG

Ai Agent To Chat With Airtable And Analyze Data. Uses lmChatOpenAi, agent, stickyNote, memoryBufferWindow. Chat trigger; 41 nodes.

OpenAI Chat, Agent, Memory Buffer Window +6
AI & RAG

I prepared a detailed guide that shows the entire process of building an AI agent that integrates with Airtable data in n8n. This template covers everything from data preparation to advanced configura

OpenAI Chat, Agent, Memory Buffer Window +6