This workflow corresponds to n8n.io template #8007 — we link there as the canonical source.
This workflow follows the Form Trigger → OpenAI 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 →
{
"id": "8jCMS5WazhTj6lEy",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Auto LI Posts Template",
"tags": [],
"nodes": [
{
"id": "874400e3-7dec-4952-860b-a4e37e846198",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-64,
-320
],
"parameters": {
"width": 224,
"height": 288,
"content": "## On Form Submission\nThis node triggers the workflow when a new form is submitted. \nUse it to capture the **post idea** and any extra details from the user. \nIt acts as the starting point for generating LinkedIn content. "
},
"typeVersion": 1
},
{
"id": "548ac804-2035-42dc-859f-904bcc8a496d",
"name": "Post Idea",
"type": "n8n-nodes-base.formTrigger",
"notes": "This node triggers the workflow when a new form is submitted. \nUse it to capture the **post idea** and any extra details from the user. \nIt acts as the starting point for generating LinkedIn content. \n[Guide](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger/)\n",
"position": [
0,
0
],
"parameters": {
"options": {},
"formTitle": "LINKEDIN POST IDEA",
"formFields": {
"values": [
{
"fieldLabel": "Idea",
"placeholder": "The impact of AI in 2026",
"requiredField": true
}
]
},
"formDescription": "Write an idea for a LinkedIn post"
},
"notesInFlow": true,
"typeVersion": 2.2
},
{
"id": "02ff126f-b012-4528-be8b-8478b409ba7d",
"name": "Generate Post Text",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
208,
0
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "GPT-4.1-MINI"
},
"options": {},
"messages": {
"values": [
{
"role": "assistant",
"content": "You are an expert LinkedIn content writer specializing in [industry focus: e.g. AI, automation, entrepreneurship, productivity]. \nYour style is clear, professional, and human \u2014 optimized to grab attention and spark engagement. \nYou write in a personal, approachable tone, adding emojis if helpful, and always ending with a call to action. \n\nWrite LinkedIn posts as if you are [founder name], the founder of [business/company name], a [describe company type, e.g. automation agency / SaaS / consultancy]. \nThe voice should feel authentic and personal \u2014 avoid using \u201cwe\u201d or corporate language, instead speak in first person (\u201cI\u201d) to show personality, experiences, and even humor or flaws. \n\n"
},
{
"content": "=\u201cIdea for the post: {{ $json.Idea }}\u201d \n\nTask: \nExpand this idea into **one engaging LinkedIn paragraph** with insights and a final call to action. Keep it curiosity-driven"
}
]
}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.8
},
{
"id": "03395e5d-c619-4a6c-8756-2e6435191c51",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
192,
-320
],
"parameters": {
"color": 4,
"width": 256,
"height": 288,
"content": "## Generate LinkedIn Post Text\nUses an OpenAI model to turn the submitted idea into an engaging LinkedIn post. \nThe AI prompt is customizable so you can adjust it to your **brand voice**, **tone**, and **industry**. \nThis step ensures the post is clear, professional, and ends with a call to action. "
},
"typeVersion": 1
},
{
"id": "b331a025-b808-4acc-b204-19aa2a95ea43",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-320
],
"parameters": {
"color": 5,
"width": 224,
"height": 288,
"content": "## Generate Image for Post\nCreates a **visual asset** to accompany the LinkedIn post. \nThe AI prompt defines design style (minimalist, brand colors, typography, etc.). \nCustomize it with your **[brand colors]** or specific visual guidelines. \nThis helps the post stand out in the LinkedIn feed. \n"
},
"typeVersion": 1
},
{
"id": "654c18fb-7f9f-49a8-b8c7-dc2e51a43077",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
736,
-320
],
"parameters": {
"color": 6,
"height": 288,
"content": "## Publish Post to LinkedIn\nPublishes the generated **text + image** directly to your LinkedIn account. \nMake sure you connect your **LinkedIn credentials** before running. \nThis is the final step \u2014 your content is live on LinkedIn automatically! \n[Guide](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.linkedin/)\n"
},
"typeVersion": 1
},
{
"id": "bbe632f8-29e4-47fa-9158-5445ca009342",
"name": "Visual Creation",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
544,
0
],
"parameters": {
"model": "gpt-image-1",
"prompt": "=Create a visually appealing, minimalist LinkedIn post image that represents this idea: \n\u201c{{ $('Post Idea').item.json.Idea }}\u201d \nAdditional context: {{ $json.message.content }} \n\nDesign requirements: \n- Minimalist style with a clean light background \n- Use [brand colors] (example: purple to dark blue gradient) \n- Modern typography (e.g. Open Sans, tight kerning, low line spacing) \n- Professional yet eye-catching composition suitable for LinkedIn feed \n- Think of it like a LinkedIn content cover image that makes people stop scrolling.\n",
"options": {},
"resource": "image"
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.8
},
{
"id": "37481fe0-8ca6-4566-b96c-3ec5f6873e4c",
"name": "Post on LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
816,
0
],
"parameters": {
"text": "={{ $('Generate Post Text').item.json.message.content }}",
"person": "K6f9KL_emA",
"additionalFields": {},
"shareMediaCategory": "IMAGE"
},
"credentials": {
"linkedInOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "065d2a7d-9eeb-4254-afc6-0bb3f7348ebf",
"connections": {
"Post Idea": {
"main": [
[
{
"node": "Generate Post Text",
"type": "main",
"index": 0
}
]
]
},
"Visual Creation": {
"main": [
[
{
"node": "Post on LinkedIn",
"type": "main",
"index": 0
}
]
]
},
"Generate Post Text": {
"main": [
[
{
"node": "Visual Creation",
"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.
linkedInOAuth2ApiopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow automates LinkedIn posting for businesses and personal brands. It starts with a form where you submit your post idea. Then: Message Model (OpenAI) generates the LinkedIn post text in a professional and engaging style. Image Generation (OpenAI) creates a custom…
Source: https://n8n.io/workflows/8007/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
What it is An automated LinkedIn content system that takes a simple form (idea + optional file), generates LinkedIn posts with OpenAI, stores them in Notion, builds Google Slides carousels, and auto-p
In this tutorial, I’ll show how to create UGC (User Generated Content) videos automatically using n8n and Sora 2.
This workflow turns a single reference image into up to 100 high-performing ad variations using Fal.AI's Nano Banana model and GPT-5.1. Simply upload your inspiration to a form, and watch as unique, c
This template is designed for content creators, podcasters, businesses, and researchers who need to transcribe long audio recordings that exceed OpenAI Whisper's 25 MB file size limit (~20 minutes of
This workflow is your personal content creation studio for social media. It takes a simple idea and a few descriptive words and automatically produces a complete, ready-to-share video of a custom-desi