Générateur d'Articles Invités par IA avec Automatisation OpenAI et Google Sheets
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme If, Set, OpenAi, GoogleSheets, ManualTrigger. Générateur d'Articles Invités par IA avec Automatisation OpenAI et Google Sheets
- •Clé API OpenAI
- •Informations d'identification Google Sheets API
Nœuds utilisés (7)
Catégorie
{
"meta": {
"instanceId": "a93c2d1221e546a84f92e07ce458d71f828e250bc33a25fc5481e8d9db0e3c2f"
},
"tags": [],
"nodes": [
{
"id": "ff9ed5e3-49e0-41ed-a10b-10ac380c0b47",
"name": "Déclencheur de départ",
"type": "n8n-nodes-base.manualTrigger",
"position": [
200,
300
],
"typeVersion": 1
},
{
"id": "0058cd43-e14f-4a4c-b15e-c04f569c8c70",
"name": "Lire la feuille de planification",
"type": "n8n-nodes-base.googleSheets",
"position": [
400,
300
],
"parameters": {
"range": "Planning!A1:E1000",
"sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
"operation": "lookup",
"returnAllMatches": true
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "1",
"name": "Google Sheets account"
}
},
"typeVersion": 4
},
{
"id": "b3082328-2ab1-4857-b3fa-7db55f89160d",
"name": "Filtrer Statut = Démarré",
"type": "n8n-nodes-base.if",
"position": [
600,
300
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"Status\"]}}",
"value2": "Start",
"operation": "equals"
}
]
}
},
"typeVersion": 1
},
{
"id": "f8b0b56b-e580-4b67-9871-4a9c3bb92446",
"name": "Formater le message",
"type": "n8n-nodes-base.set",
"position": [
800,
300
],
"parameters": {
"values": {
"string": [
{
"name": "prompt",
"value": "Write a guest post in German about the topic '{{ $json.Topic }}'. Include this note: '{{ $json.Note }}'"
}
]
},
"keepOnlySet": true
},
"typeVersion": 2
},
{
"id": "a95b45a5-b84e-43a0-ae53-2c2854e317d4",
"name": "OpenAI - Generate Post",
"type": "n8n-nodes-base.openAi",
"position": [
1000,
300
],
"parameters": {
"model": "text-davinci-003",
"prompt": "={{$json[\"prompt\"]}}",
"resource": "completion",
"maxTokens": 1000,
"temperature": 0.7
},
"credentials": {
"openAiApi": {
"id": "2",
"name": "OpenAI account"
}
},
"typeVersion": 1
},
{
"id": "96de9e63-5680-4db5-9936-65e33ff73c95",
"name": "Sauvegarder l'article dans la feuille",
"type": "n8n-nodes-base.googleSheets",
"position": [
1200,
300
],
"parameters": {
"range": "Generated!A1:C1",
"sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
"operation": "append",
"dataToSend": "autoMapInputData"
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "1",
"name": "Google Sheets account"
}
},
"typeVersion": 4
},
{
"id": "d5bc4074-7ab1-4a0e-85cb-5c61792b53a9",
"name": "Marquer comme terminé",
"type": "n8n-nodes-base.googleSheets",
"position": [
1400,
300
],
"parameters": {
"key": "={{$json.rowIndex}}",
"range": "Planning!E:E",
"options": {
"valueInputOption": "RAW"
},
"sheetId": "1PiygWwVov4WzA8qvUOaZ9N1G9JgtgmpYy0w8ty3CHd0",
"operation": "update",
"dataToSend": {
"values": [
{
"value": "Finished",
"column": "Status"
}
]
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "1",
"name": "Google Sheets account"
}
},
"typeVersion": 4
}
],
"settings": {},
"connections": {
"f8b0b56b-e580-4b67-9871-4a9c3bb92446": {
"main": [
[
{
"node": "a95b45a5-b84e-43a0-ae53-2c2854e317d4",
"type": "main",
"index": 0
}
]
]
},
"ff9ed5e3-49e0-41ed-a10b-10ac380c0b47": {
"main": [
[
{
"node": "0058cd43-e14f-4a4c-b15e-c04f569c8c70",
"type": "main",
"index": 0
}
]
]
},
"96de9e63-5680-4db5-9936-65e33ff73c95": {
"main": [
[
{
"node": "d5bc4074-7ab1-4a0e-85cb-5c61792b53a9",
"type": "main",
"index": 0
}
]
]
},
"0058cd43-e14f-4a4c-b15e-c04f569c8c70": {
"main": [
[
{
"node": "b3082328-2ab1-4857-b3fa-7db55f89160d",
"type": "main",
"index": 0
}
]
]
},
"b3082328-2ab1-4857-b3fa-7db55f89160d": {
"main": [
[
{
"node": "f8b0b56b-e580-4b67-9871-4a9c3bb92446",
"type": "main",
"index": 0
}
]
]
},
"a95b45a5-b84e-43a0-ae53-2c2854e317d4": {
"main": [
[
{
"node": "96de9e63-5680-4db5-9936-65e33ff73c95",
"type": "main",
"index": 0
}
]
]
}
}
}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 - Création de contenu, 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.
Workflows recommandés
Juan de Dios Estrella Sáez
@juanestrellaHi 👋 I’m Juan de Dios. I turn manual work into automated systems using n8n & Make, so you can focus on what really matters. I share my workflows, tips, and templates so you can start automating too. Got a question? I’m just a comment away
Partager ce workflow