
Transform Documents into Engaging LinkedIn Posts with GPT-4.1 and Email Approval
説明
Categories
🤖 AI & Machine Learning📢 Marketing
Nodes Used
n8n-nodes-base.switchn8n-nodes-base.switchn8n-nodes-base.linkedInn8n-nodes-base.emailSendn8n-nodes-base.googleDocsn8n-nodes-base.formTriggern8n-nodes-base.httpRequestn8n-nodes-base.emailReadImap@n8n/n8n-nodes-langchain.agentn8n-nodes-base.extractFromFile
Price無料
Views0
最終更新11/28/2025
workflow.json
{
"meta": {
"instanceId": "6002a3befabff3ab0d043def51067168abaeda5aae33e1ff8bb96d7ae446a51d",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "f83c8742-ad0a-4ce4-83d8-9aa1bcd105f3",
"name": "On form submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
-220
],
"webhookId": "459a7ac0-c259-4ec9-b86c-69da2382e965",
"parameters": {
"options": {},
"formTitle": "Test",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "fichier"
},
{
"fieldLabel": "Text",
"placeholder": "Copier le texte ici"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "ec90f76e-01bb-452a-967b-58e42bdbbff3",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
880,
-220
],
"parameters": {
"text": "=Voici un doc peux tu m'en faire un post linkedin : Son titre est {{ $json.info.Title }} son contenu est : {{ $json.text }}, {{ $json.data }}, {{ $json.content }}, {{ $json.Text }},{{ $json.text }}",
"options": {
"systemMessage": "You are a helpful french assistant, tu es spécialiste Linkedin et tu crées des post hyper personnel en mon nom et tu utilises \"Je\" et engageant avec des émoticônes mais pas trop pour maximiser le taux d'engagement tu utilises cette méthode en 4 étapes pour ton contenu :\nLa méthode en 4 étapes pour un contenu qui convertit\nÉtape 1 : définir ton jeu\nIl existe 3 grands types de jeux, et tu dois en choisir un sans compromis :\n1. Le jeu de l'influenceur : Maximiser ta portée pour la monétiser. Tu poursuis le reach.\n- Avantage : une portée de fou qui fait plaisir à l'égo\n- Inconvénient : corrélation faible entre performances du contenu et retombées business.\n2. Le leadership d'opinion : Développer ta marque personnelle pour occuper une thématique et en être au sommet. Tu mesures ton leadership à la fréquence à laquelle on t'invite en conférence ou en podcast pour partager à ce sujet.\n3. Le jeu entrepreneurial : Produire du contenu pour générer des ventes en s'adressant à son client idéal, en partageant son expertise et ses résultats.\n\nMon conseil : choisis le jeu entrepreneurial.\n\nÉtape 2 : définir ton client idéal\nLe client idéal se trouve à l'entrecroisement de 4 facteurs :\n\n1. Problème-solution fit très fort : Tu lui vends A, tu lui délivres A, il est content de recevoir A et rachète potentiellement A\n\n 2. Facilité de génération de résultats : Tu le connais, il est bien positionné\n\n3. Il te paie bien, rapidement, beaucoup et sur la durée : Bonne lifetime value\n\n4. Fit humain : Tu pourrais aller déjeuner avec lui\nL'anti-client, c'est l'inverse :\n- Il convertit lentement\n- Rechigne à payer\n- Tu galères à produire pour lui\n- Le fit humain est faible.\n\n \n\nIdentifier ces deux profils détermine énormément de choses et évolue dans le temps.\nL'anti-client, c'est l'inverse :\n- Il convertit lentement\n- Rechigne à payer\n- Tu galères à produire pour lui\n- Le fit humain est faible.\n\n \n\nIdentifier ces deux profils détermine énormément de choses et évolue dans le temps.\n\nÉtape 3 : ne plus parler qu'à ton client idéal\nVoici la ligne éditoriale théorisée d'un entrepreneur. Il n'y a que trois sujets dont parler :\n\n \n\nLe problème : Tu explores la problématique sous toutes ses dimensions :\n- Le coût d'opportunité de ne pas le résoudre\n- L'urgence\n- Les conséquences.\n\n \n\nLe problème doit être douloureux, urgent, reconnu.\n\n \n\nLes solutions concrètes : Tu transmets ton expertise et démontres pourquoi ton option est la meilleure pour ce client idéal spécifiquement.\n\n \n\nLes preuves : Cas clients, témoignages qui illustrent tout ça. C'est ce qu'on fait jamais assez car ces posts génèrent moins de portée, mais nettement plus de conversions.\n\n \n\n95% du contenu doit corréler à ces 3 piliers : problème,solution,preuve.\n\nÉtape 4 : on s'adresse à des TPE\n\nTu n'hésites pas à citer des références et des parties de texte intéressantes ! Ton texte sera viable sans que j'intervienne pour mettre des liens ou autres, tu n'ajoutes pas dans ton texte Joker : Je suis une IA déguisée !\n\n \n\n"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "c408d312-3947-4c28-b8a9-2a4cf4ae1353",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
968,
0
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {
"temperature": 0.7
}
},
"credentials": {
"openAiApi": {
"id": "mpAnIbk6wl7Qmwem",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "906ae331-b613-41b9-840a-c0ccb055a874",
"name": "Extract from File",
"type": "n8n-nodes-base.extractFromFile",
"position": [
660,
-420
],
"parameters": {
"options": {},
"operation": "pdf",
"binaryPropertyName": "fichier"
},
"typeVersion": 1
},
{
"id": "7bb8147e-ae70-46bb-8060-86bfcb365c93",
"name": "LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
1680,
-320
],
"parameters": {
"text": "={{ $('AI Agent').item.json.output }}",
"person": "9wNP5HmVRE",
"additionalFields": {
"visibility": "PUBLIC"
},
"binaryPropertyName": "Image",
"shareMediaCategory": "IMAGE"
},
"credentials": {
"linkedInOAuth2Api": {
"id": "0cG2Ubnne7CAYCrk",
"name": "LinkedIn account"
}
},
"typeVersion": 1
},
{
"id": "e2b861ad-ce2c-4337-a804-b5880e1df85f",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
220,
-220
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "pdf",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "97d20e90-c038-4898-8e79-640e2c95a34c",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.fichier[0].mimetype }}",
"rightValue": "pdf"
}
]
},
"renameOutput": true
},
{
"outputKey": "docx",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "22119b44-83c0-49e5-bbf3-7b2896c65314",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.fichier[0].mimetype }}",
"rightValue": "document"
}
]
},
"renameOutput": true
},
{
"outputKey": "txt",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "8b3d7fc3-a5d0-48d0-87cb-587465f04b2f",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.fichier[0].mimetype }}",
"rightValue": "text"
}
]
},
"renameOutput": true
},
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "70110653-142e-499e-9104-487699413902",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "{{ $json.Text }}",
"rightValue": "="
}
]
}
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "9d798da2-c2c9-4483-bca9-2e3b8ef070d5",
"name": "Extract from File1",
"type": "n8n-nodes-base.extractFromFile",
"position": [
660,
-20
],
"parameters": {
"options": {},
"operation": "text",
"binaryPropertyName": "fichier"
},
"typeVersion": 1
},
{
"id": "03e9122f-99c6-4a26-8373-2e1c7c4136bd",
"name": "Google Docs",
"type": "n8n-nodes-base.googleDocs",
"position": [
660,
-220
],
"parameters": {
"operation": "get",
"documentURL": "={{ $json.data }}"
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "5dX4YZsx0ouWm0RF",
"name": "Google Docs account"
}
},
"typeVersion": 2
},
{
"id": "7829c078-fb7b-4296-ba42-c7ba76ef7db7",
"name": "HTTP Request2",
"type": "n8n-nodes-base.httpRequest",
"position": [
440,
-220
],
"parameters": {
"url": "https://hook.integrator.boost.space/w71nefqvpxa60j1u58gd44nwbogpoo25",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "binaryData",
"inputDataFieldName": "fichier"
},
"typeVersion": 4.2
},
{
"id": "afdc4cc8-8af5-42c5-a813-da63132e53f1",
"name": "Send Email",
"type": "n8n-nodes-base.emailSend",
"position": [
1260,
-220
],
"webhookId": "3c904a1a-9fc1-405d-8c20-4d6d4f1d2a91",
"parameters": {
"message": "=<p>Tu valides ou pas ?</p>\n\n {{ $json.output }}",
"options": {
"appendAttribution": false
},
"subject": "LinkedIn ?",
"toEmail": "[email protected]",
"fromEmail": "[email protected]",
"operation": "sendAndWait",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "Image"
},
{
"fieldLabel": "Tu valides (oui/non)",
"requiredField": true
}
]
},
"responseType": "customForm"
},
"credentials": {
"smtp": {
"id": "CkiNSc7lzyhCLIBL",
"name": "SMTP account 2"
}
},
"typeVersion": 2.1
},
{
"id": "0e65e913-9a14-4f5d-b1d3-661efff5396d",
"name": "Switch1",
"type": "n8n-nodes-base.switch",
"position": [
1480,
-220
],
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "488f8643-67da-4546-b4ae-c49a3fe0ef00",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.data[\"Tu valides (oui/non)\"] }}",
"rightValue": "oui"
}
]
}
},
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "7f74c53e-61b2-4977-8342-d54c705a8cbb",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.data[\"Tu valides (oui/non)\"] }}",
"rightValue": "non"
}
]
}
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "94ac12d5-86a4-4fdc-a778-b42e8fdbe0e8",
"name": "Email Trigger (IMAP)",
"type": "n8n-nodes-base.emailReadImap",
"position": [
40,
-540
],
"parameters": {
"format": "resolved",
"options": {
"customEmailConfig": "[\"UNSEEN\", [\"FROM\", \"[email protected]\"]]"
}
},
"credentials": {
"imap": {
"id": "dKdc0hUqfWSexcLF",
"name": "IMAP yjoly"
}
},
"typeVersion": 2
}
],
"pinData": {},
"connections": {
"Switch": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
],
[
{
"node": "HTTP Request2",
"type": "main",
"index": 0
}
],
[
{
"node": "Extract from File1",
"type": "main",
"index": 0
}
],
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Switch1": {
"main": [
[
{
"node": "LinkedIn",
"type": "main",
"index": 0
}
],
[]
]
},
"AI Agent": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
]
]
},
"Send Email": {
"main": [
[
{
"node": "Switch1",
"type": "main",
"index": 0
}
]
]
},
"Google Docs": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "Google Docs",
"type": "main",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Extract from File1": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Email Trigger (IMAP)": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}