Générateur d'images IA Telegram + Enregistreur Google Sheets
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 5 nœuds.Utilise principalement des nœuds comme Telegram, GoogleSheets, TelegramTrigger, OpenAi. Générer des images avec OpenAI DALL-E via Telegram et les enregistrer dans Google Sheets
- •Token Bot Telegram
- •Informations d'identification Google Sheets API
- •Clé API OpenAI
Nœuds utilisés (5)
Catégorie
{
"id": "SGqUVskzXEBI5EHa",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"name": "Telegram AI Image Generator + Google Sheets Logger",
"tags": [],
"nodes": [
{
"id": "09061203-acb3-45f3-a2e9-a6899fab1260",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-100,
-40
],
"parameters": {
"prompt": "={{ $json.message.text }}",
"options": {
"size": "1024x1024",
"dalleQuality": "standard",
"returnImageUrls": true
},
"resource": "image"
},
"credentials": {
"openAiApi": {
"id": "BXMUxnyGzjtZQOK4",
"name": "OpenAi account Dave"
}
},
"typeVersion": 1.8
},
{
"id": "a571ef80-e5ab-457f-8bf0-ab4372420819",
"name": "Déclencheur Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-320,
-40
],
"webhookId": "bf451ae4-19ae-4831-9654-823e0b9fc842",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "W7s4K928CwuY1sKA",
"name": "Telegram account 2"
}
},
"typeVersion": 1.2
},
{
"id": "90001184-fca0-44a2-892b-72c772bfd6da",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
380,
-40
],
"webhookId": "c627bb8e-915d-4289-985b-ab1a75c34775",
"parameters": {
"file": "={{ $json['Image title'] }}",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"operation": "sendPhoto",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "W7s4K928CwuY1sKA",
"name": "Telegram account 2"
}
},
"typeVersion": 1.2
},
{
"id": "924d8b95-8687-4419-b994-93e32a23ea24",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
-360
],
"parameters": {
"width": 920,
"height": 480,
"content": "## Telegram AI Image Generator + Google Sheets Logger\n1. Telegram Trigger\nReceives image generation requests from users directly via Telegram.\n\n2. OpenAI Node\nProcesses the request by generating the required image based on the user’s prompt.\n\n3. Saves the prompt and generated image link to Google Sheets.\n\n4. Telegram Send Message\nSends the generated image back to the user in Telegram as a seamless automated response.\n\nLoom Demo : [Link](https://www.loom.com/share/1c5e645442f6441baf9efd12a334eef0)"
},
"typeVersion": 1
},
{
"id": "aed2c34b-ef3f-465d-a5bd-9d3fda8f9a9a",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
160,
-40
],
"parameters": {
"columns": {
"value": {
"Image title": "={{ $json.url }}",
"Image description": "={{ $json.revised_prompt }}"
},
"schema": [
{
"id": "Image description",
"type": "string",
"display": true,
"required": false,
"displayName": "Image description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Image title",
"type": "string",
"display": true,
"required": false,
"displayName": "Image title",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1iABxBKBY9ERctigW1bYvvRTIAf-m-InTSvSKnqANUhg/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1iABxBKBY9ERctigW1bYvvRTIAf-m-InTSvSKnqANUhg",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1iABxBKBY9ERctigW1bYvvRTIAf-m-InTSvSKnqANUhg/edit?usp=drivesdk",
"cachedResultName": "image database"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "vL25dYTf9oT1CSvl",
"name": "Google Sheets account 2"
}
},
"typeVersion": 4.6
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "2e4735b4-9872-45d0-af17-2af4314ad196",
"connections": {
"09061203-acb3-45f3-a2e9-a6899fab1260": {
"main": [
[
{
"node": "aed2c34b-ef3f-465d-a5bd-9d3fda8f9a9a",
"type": "main",
"index": 0
}
]
]
},
"90001184-fca0-44a2-892b-72c772bfd6da": {
"main": [
[]
]
},
"aed2c34b-ef3f-465d-a5bd-9d3fda8f9a9a": {
"main": [
[
{
"node": "90001184-fca0-44a2-892b-72c772bfd6da",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "09061203-acb3-45f3-a2e9-a6899fab1260",
"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é ?
Débutant - 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
David Olusola
@dae221AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com
Partager ce workflow