How to Parse Telegram Channels in n8n (Complete Guide)
Automation is the key to scaling your business or research. In this guide, we'll show you how to use TG Parser V2 to bring Telegram data directly into your n8n workflows.
Why n8n?
n8n is a powerful open-source workflow automation tool. Unlike closed platforms, it allows you to self-host and keep your data private. However, parsing Telegram natively can be tricky due to session management and API limits.
Step 1: Get Your API Key
First, log in to the TG Parser Dashboard and copy your unique API key. You get 100 requests per month for free!
Step 2: Setup HTTP Request Node in n8n
To pull data, add an HTTP Request node in n8n with these settings:
- Method: POST
- URL:
https://api.tgparser.cc/parse - Authentication: Header Auth
- Header Name:
x-api-key - Header Value: Your Key
Step 3: Define the Channel
In the "Body Parameters" section of your n8n node, send a JSON object like this:
{
"channel": "@durov",
"limit": 10,
"details": true
}
And that's it! Now you can connect this output to Google Sheets, Discord, or an AI agent to summarize the latest news. For more details on API options, visit our Docs.