Workflow: HTTP Telegram Update

Workflow Details

Download Workflow
{
    "id": "58",
    "name": "Receive updates from Telegram and send an image of a cocktail",
    "nodes": [
        {
            "name": "Telegram Trigger",
            "type": "n8n-nodes-base.telegramTrigger",
            "position": [
                570,
                260
            ],
            "webhookId": "806cc2c6-c687-4022-a82e-658e4a684e73",
            "parameters": {
                "updates": [
                    "message"
                ],
                "additionalFields": []
            },
            "credentials": {
                "telegramApi": "telegram-bot"
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                770,
                260
            ],
            "parameters": {
                "url": "https:\/\/www.thecocktaildb.com\/api\/json\/v1\/1\/random.php",
                "options": []
            },
            "typeVersion": 1
        },
        {
            "name": "Telegram",
            "type": "n8n-nodes-base.telegram",
            "position": [
                970,
                260
            ],
            "parameters": {
                "file": "={{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strDrinkThumb\"]}}",
                "chatId": "={{$node[\"Telegram Trigger\"].json[\"message\"][\"chat\"][\"id\"]}}",
                "operation": "sendPhoto",
                "additionalFields": {
                    "caption": "={{$node[\"HTTP Request\"].json[\"drinks\"][0][\"strDrink\"]}}",
                    "reply_to_message_id": "={{$node[\"Telegram Trigger\"].json[\"message\"][\"message_id\"]}}"
                }
            },
            "credentials": {
                "telegramApi": "telegram-bot"
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "HTTP Request": {
            "main": [
                [
                    {
                        "node": "Telegram",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Telegram Trigger": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Wait Code Create Webhook
View
Googlebigquery Stickynote Automate Triggered
View
Manual GoogleSheets Update Triggered
View
Create an Onfleet task when a file in Google Drive is updated
View
Mattermost Typeform Send Triggered
View
Dialpad to Syncro
View
Email
View
Error Gmail Send Triggered
View
[2/3] Set up medoids (2 types) for anomaly detection (crops dataset)
View
Manual N8Ntrainingcustomerdatastore Create Triggered
View