Workflow: Telegram Webhook Automation

Workflow Details

Download Workflow
{
    "id": "5",
    "name": "bash-dash telegram",
    "nodes": [
        {
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "position": [
                450,
                450
            ],
            "webhookId": "b43ae7e2-a058-4738-8d49-ac76db6e8166",
            "parameters": {
                "path": "telegram",
                "options": {
                    "responsePropertyName": "response"
                },
                "responseMode": "lastNode"
            },
            "typeVersion": 1
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                850,
                450
            ],
            "parameters": {
                "values": {
                    "string": [
                        {
                            "name": "response",
                            "value": "=Sent message to {{$node[\"Telegram\"].json[\"result\"][\"chat\"][\"first_name\"]}}: \"{{$node[\"Telegram\"].parameter[\"text\"]}}\""
                        }
                    ]
                },
                "options": []
            },
            "typeVersion": 1
        },
        {
            "name": "Telegram",
            "type": "n8n-nodes-base.telegram",
            "position": [
                650,
                450
            ],
            "parameters": {
                "text": "={{$node[\"Webhook\"].json[\"query\"][\"parameter\"]}}",
                "chatId": "123456789",
                "additionalFields": []
            },
            "credentials": {
                "telegramApi": "telegram_bot"
            },
            "typeVersion": 1
        }
    ],
    "active": true,
    "settings": [],
    "connections": {
        "Set": {
            "main": [
                []
            ]
        },
        "Webhook": {
            "main": [
                [
                    {
                        "node": "Telegram",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Telegram": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

HTTP Respondtowebhook Create Webhook
View
đŸ¤–Calendar Agent
View
Retry Execution Hourly
View
Send updates about the position of the ISS every minute to a topic in RabbitMQ
View
Executecommand Localfile Process Triggered
View
Vector DB Loader from Google Drive
View
Merge multiple runs into one
View
Slack Comparedatasets Create Triggered
View
Create a new list, add a new contact to the list, update the contact, and get all contacts in the list
View
Error Alert and Summarizer
View