This workflow corresponds to n8n.io template #6686 β we link there as the canonical source.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide β
{
"nodes": [
{
"name": "Telegram Bot (Webhook)",
"type": "n8n-nodes-base.telegramBot",
"position": [
250,
200
],
"parameters": {
"webhookUrl": "=https://api.telegram.org/bot{{$env.YOUR_TELEGRAM_BOT_TOKEN}}/getUpdates",
"pollInterval": 5,
"allowedUpdates": [
"message"
],
"onlyNewUpdates": true
},
"typeVersion": 1
},
{
"name": "Check 'Photo'",
"type": "n8n-nodes-base.if",
"position": [
450,
500
],
"parameters": {
"conditions": [
{
"value1": "={{$json.message.photo}}",
"value2": "true",
"operation": "isNotEmpty"
}
]
},
"typeVersion": 1
},
{
"name": "Get Telegram Photo",
"type": "n8n-nodes-base.telegramBot",
"position": [
700,
500
],
"parameters": {
"chatId": "={{$json.message.chat.id}}",
"fileId": "={{$json.message.photo[{$json.message.photo.length - 1}].file_id}}",
"operation": "getFile"
},
"typeVersion": 1
},
{
"name": "OCR.space Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
950,
500
],
"parameters": {
"url": "https://api.ocr.space/parse/image",
"method": "POST",
"options": {
"query": [
{
"name": "apikey",
"value": "={{$env.YOUR_OCR_SPACE_API_KEY}}"
},
{
"name": "language",
"value": "eng"
},
{
"name": "isOverlayRequired",
"value": "true"
}
],
"bodyParameters": [
{
"name": "file",
"value": "={{$binary.data}}"
}
],
"bodyContentType": "formData"
}
},
"typeVersion": 1
},
{
"name": "Send Raw OCR Text",
"type": "n8n-nodes-base.telegramBot",
"position": [
1200,
500
],
"parameters": {
"text": "OCR Text Found:\n\n*{{$json.ParsedResults[0].ParsedText}}*",
"chatId": "={{$json.message.chat.id}}",
"parseMode": "HTML"
},
"typeVersion": 1
}
],
"connections": {
"Check 'Photo'": {
"output": [
{
"node": "Get Telegram Photo",
"type": "main",
"index": 0
}
]
},
"OCR.space Request": {
"output": [
{
"node": "Send Raw OCR Text",
"type": "main",
"index": 0
}
]
},
"Get Telegram Photo": {
"output": [
{
"node": "OCR.space Request",
"type": "main",
"index": 0
}
]
},
"Telegram Bot (Webhook)": {
"output": [
{
"node": "Check 'Photo'",
"type": "main",
"index": 0
}
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Hello automation enthusiasts! π
Source: https://n8n.io/workflows/6686/ β original creator credit. Request a take-down β
More Email & Gmail workflows β Β· Browse all categories β
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Receive orders via webhook with automatic payment verification, stock checking, inventory reservation, shipping label generation, confirmation emails, and Slack notifications.
This workflow automates the process of retrieving Stripe invoices, validating API responses, generating payment receipts, sending them via email, storing PDFs in Google Drive, and appending details to
This workflow automates multi-currency expense tracking via Telegram. Send a receipt photo to your bot, and it automatically extracts the invoice details, converts the amount to EUR using a live excha
Transform messy receipt photos into a structured, searchable expense database in seconds. This workflow automates the entire journey from a WhatsApp message to a live Google Sheets entry by combining
Automatically sends Telegram notifications with optional screenshots when monitors change status (β UP/π΄ DOWN/βΈοΈ PAUSED)