Modèle de publication LinkedIn automatique

Intermédiaire

Ceci est unMultimodal AIworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme LinkedIn, FormTrigger, OpenAi. Générer et publier automatiquement des publications LinkedIn avec GPT-4 et la génération d'images IA

Prérequis
  • Informations d'identification LinkedIn API
  • Clé API OpenAI

Catégorie

Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "8jCMS5WazhTj6lEy",
  "meta": {
    "instanceId": "6dab325484db17217432bd17c46b16a74656e18b7a3b29fe24824c64123a2170",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto LI Posts Template",
  "tags": [],
  "nodes": [
    {
      "id": "874400e3-7dec-4952-860b-a4e37e846198",
      "name": "Note adhésive",
      "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": "Idée de publication",
      "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
      ],
      "webhookId": "3fcba17d-3265-4763-b051-68969ab2d8d1",
      "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": "Générer le texte de la publication",
      "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 — 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 — avoid using “we” or corporate language, instead speak in first person (“I”) to show personality, experiences, and even humor or flaws.  \n\n"
            },
            {
              "content": "=“Idea for the post: {{ $json.Idea }}”  \n\nTask:  \nExpand this idea into **one engaging LinkedIn paragraph** with insights and a final call to action. Keep it curiosity-driven"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "gYP4uqeDRoDyiPbD",
          "name": "OpenAi account 2"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "03395e5d-c619-4a6c-8756-2e6435191c51",
      "name": "Note adhésive1",
      "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": "Note adhésive2",
      "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": "Note adhésive3",
      "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 — 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": "Création visuelle",
      "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“{{ $('Post Idea').item.json.Idea }}”  \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": {
          "id": "gYP4uqeDRoDyiPbD",
          "name": "OpenAi account 2"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "37481fe0-8ca6-4566-b96c-3ec5f6873e4c",
      "name": "Publier sur 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": {
          "id": "82aiuwXeBmosN3cy",
          "name": "LinkedIn account 2"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "065d2a7d-9eeb-4254-afc6-0bb3f7348ebf",
  "connections": {
    "548ac804-2035-42dc-859f-904bcc8a496d": {
      "main": [
        [
          {
            "node": "02ff126f-b012-4528-be8b-8478b409ba7d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bbe632f8-29e4-47fa-9158-5445ca009342": {
      "main": [
        [
          {
            "node": "37481fe0-8ca6-4566-b96c-3ec5f6873e4c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "02ff126f-b012-4528-be8b-8478b409ba7d": {
      "main": [
        [
          {
            "node": "bbe632f8-29e4-47fa-9158-5445ca009342",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds8
Catégorie1
Types de nœuds4
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur

AI & automation consultant helping businesses streamline processes, generate leads, and scale faster with smart workflows. Founder of SyncraLabs, integrating AI with n8n to create practical, high-impact automations. Passionate about sharing knowledge through ready-to-use templates and community contributions.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34