πŸ”¬ Analyze images from forms using GPT-4o-mini Vision and deliver to Telegram

⚑ 4,105 views Β· πŸ”¬ Document Extraction & Analysis

Description

This workflow analyzes images submitted via a form using OpenAI Vision, then delivers the analysis result directly to your Telegram chat.

βœ… Use case examples: β€’ Users submit screenshots for instant AI interpretation β€’ Automated document or receipt analysis with Telegram delivery β€’ Quick OCR or image classification workflows

βΈ»

βš™οΈ Setup Guide 1. Form Submission Trigger β€’ Connect your form app (e.g. Typeform, Tally, or n8n’s own webhook form) to the On form submission trigger node. β€’ Ensure it sends the image file or URL as input. 2. OpenAI Vision Analysis β€’ In the OpenAI node, select Analyze Image operation. β€’ Provide your OpenAI API key and configure the prompt to instruct the model on what to analyze (e.g. β€œDescribe this receipt in detail”). 3. Set Telegram Chat ID β€’ Use this manual node to input your Telegram Chat ID for delivery. β€’ Alternatively, automate this with a database lookup or user session if building for multiple users. 4. Telegram Delivery Node β€’ Connect your Telegram Bot to n8n using your bot token. β€’ Set up the sendMessage operation, using the analysis result from the previous node as the message text. 5. Testing β€’ Click Execute workflow. β€’ Submit an image via your form and confirm it delivers to your Telegram as expected.

πŸ”— Nodes Used

Telegram, n8n Form Trigger, OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup