This workflow is a two-part intelligent content creation system built in n8n, designed to generate professional and on-brand LinkedIn posts.
It combines a conversational frontend agent that interacts naturally with users and a backend post generation engine powered by structured templates and Mistral Cloud AI models.
Trigger: When chat message received
Starts the workflow whenever a user sends a message to the chatbot or embedded interface.
Agent: LinkedIn Agent
template number and topic to the backend using a Tool call.Memory: Simple Memory1
Stores the last 10 messages to maintain conversational context.
LLM Model: Mistral Cloud Chat Model1
Used for reasoning, conversational responses, and user guidance.
Tool Used: template
Invokes another trigger in the same workflow: When Executed by Another Workflow.
Passes the user’s chosen template and topic to the backend.
Trigger: When Executed by Another Workflow
Receives payload from the template tool (template ID + topic).
Router Node: Switch between templates
1 → Knowledge & Educational2 → Promotion3 → Discussion4 → Case Study & TestimonialPrompt Template Nodes:
Each Set node defines a large, structured prompt containing:
Expert Writer Agent: post generator
Mistral Cloud Chat ModelOutput:
The generated post text is sent back to the template tool and displayed to the user in chat.
| Service | Purpose | Credential |
|---|---|---|
| Mistral Cloud | LLM & post generation | Mistral Cloud account dbt |
| n8n Agent Framework | Multi-agent orchestration | Native |
| Chat UI / Webhook | Frontend interaction | Custom embedded UI or webhook trigger |
“You are an intelligent LinkedIn assistant that helps users craft posts.
List available templates, guide them to select one, and collect a topic.
Then use the providedtemplatetool to request the backend writer to generate a final post.”
Backend writer’s system prompt:
“You are an expert LinkedIn marketing leader.
Generate structured, professional posts for AI/automation topics.
Avoid hype, buzzwords, and clichés.
Keep sentences short, tone confident, and use strong openers.”
A modular, agent-based n8n workflow for automated LinkedIn post creation, featuring conversational input, structured templates, and AI-generated output powered by Mistral Cloud.
Perfect for content teams, social media managers, and AI automation startups.
Want to customize this workflow for your business.
Our team at Digital Biz Tech can tailor it precisely to your use case — from automation logic to AI-powered content engines.
Contact: [email protected]
Visit us: https://www.digitalbiz.tech