Analyse d'images de formulaires et livraison par Telegram

Débutant

Ceci est unDocument Extraction, Multimodal AIworkflow d'automatisation du domainecontenant 5 nœuds.Utilise principalement des nœuds comme Set, Telegram, FormTrigger, OpenAi. Analyser des images de formulaires et les livrer via Telegram avec GPT-4o-mini Vision

Prérequis
  • Token Bot Telegram
  • Clé API OpenAI
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": "Csa8xD9gpSNYMfJv",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "Form Image Analysis & Telegram Delivery",
  "tags": [],
  "nodes": [
    {
      "id": "b034159b-2023-404f-a8d7-773f8830ccf1",
      "name": "À la soumission du formulaire",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -40,
        120
      ],
      "webhookId": "2955b618-44fa-4c54-8cf6-4fb7c102b059",
      "parameters": {
        "options": {},
        "formTitle": "ANALYZE IMAGE",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "upload here"
            }
          ]
        },
        "formDescription": "input the image you want to analyse "
      },
      "typeVersion": 2.2
    },
    {
      "id": "671f9fc1-37c4-431c-a913-f29bacd3e467",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        220,
        120
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "resource": "image",
        "inputType": "base64",
        "operation": "analyze",
        "binaryPropertyName": "upload_here"
      },
      "credentials": {
        "openAiApi": {
          "id": "BXMUxnyGzjtZQOK4",
          "name": "OpenAi account Dave"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "dc70f08b-7674-4866-8bfb-b4220d3d13d4",
      "name": "Définir votre Telegram Chat ID",
      "type": "n8n-nodes-base.set",
      "position": [
        420,
        120
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "ceeb3e80-717f-4251-8a14-26d62674e030",
              "name": "telegram chat id ",
              "type": "string",
              "value": "60277172761"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "addf16be-d902-451b-b24d-d7d5a7b2f7ba",
      "name": "Telegram Delivery",
      "type": "n8n-nodes-base.telegram",
      "position": [
        620,
        120
      ],
      "webhookId": "7bbbcd0d-b0ca-418a-8c9b-ad4d6870c7d8",
      "parameters": {
        "text": "={{ $('OpenAI').item.json.content }}",
        "chatId": "={{ $json['telegram chat id '] }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "W7s4K928CwuY1sKA",
          "name": "Telegram account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1f4a53ac-8b0a-466b-9be5-ea3efb8b06cd",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -380
      ],
      "parameters": {
        "width": 1140,
        "height": 700,
        "content": "## This workflow analyzes images submitted via a form using OpenAI Vision, then delivers the analysis result directly to your Telegram chat.\n\n✅ Use case examples:\n\t•\tUsers submit screenshots for instant AI interpretation\n\t•\tAutomated document or receipt analysis with Telegram delivery\n\t•\tQuick OCR or image classification workflows\n\n⸻\n\n⚙️ Setup Guide\n\t1.\tForm Submission Trigger\n\t•\tConnect your form app (e.g. Typeform, Tally, or n8n’s own webhook form) to the On form submission trigger node.\n\t•\tEnsure it sends the image file or URL as input.\n\t2.\tOpenAI Vision Analysis\n\t•\tIn the OpenAI node, select Analyze Image operation.\n\t•\tProvide your OpenAI API key and configure the prompt to instruct the model on what to analyze (e.g. “Describe this receipt in detail”).\n\t3.\tSet Telegram Chat ID\n\t•\tUse this manual node to input your Telegram Chat ID for delivery.\n\t•\tAlternatively, automate this with a database lookup or user session if building for multiple users.\n\t4.\tTelegram Delivery Node\n\t•\tConnect your Telegram Bot to n8n using your bot token.\n\t•\tSet up the sendMessage operation, using the analysis result from the previous node as the message text.\n\t5.\tTesting\n\t•\tClick Execute workflow.\n\t•\tSubmit an image via your form and confirm it delivers to your Telegram as expected.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "af00b421-6f5f-4692-9d36-726e82438a24",
  "connections": {
    "671f9fc1-37c4-431c-a913-f29bacd3e467": {
      "main": [
        [
          {
            "node": "dc70f08b-7674-4866-8bfb-b4220d3d13d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b034159b-2023-404f-a8d7-773f8830ccf1": {
      "main": [
        [
          {
            "node": "671f9fc1-37c4-431c-a913-f29bacd3e467",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc70f08b-7674-4866-8bfb-b4220d3d13d4": {
      "main": [
        [
          {
            "node": "addf16be-d902-451b-b24d-d7d5a7b2f7ba",
            "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é ?

Débutant - Extraction de documents, 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é
Débutant
Nombre de nœuds5
Catégorie2
Types de nœuds5
Description de la difficulté

Adapté aux nouveaux utilisateurs de n8n, avec des workflows simples contenant 1-5 nœuds

Auteur
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34