Automate Gmail + Telegram
The inbox most operations still start in. The fastest channel between your agents and your phone. Put an agent between them and the hand-off stops being manual: it reads, decides, acts, and shows its work.
Inbox Triage is a ready-made agent built around Gmail; point its last step at Telegram to finish this hand-off.
Automations teams run
These are not field mappings. An agent reads the Gmail side, works out what it means, and only then decides what — if anything — should happen in Telegram.
When a new email arrives in Gmail…
…an agent can send messages and alerts in Telegram — after reading the context and deciding it should.
When a label is applied in Gmail…
…an agent can reply to commands in Telegram — after reading the context and deciding it should.
When a thread goes unanswered in Gmail…
…an agent can deliver files and reports in Telegram — after reading the context and deciding it should.
When a message arrives in Telegram…
…an agent can send or draft a reply in Gmail — with the reasoning recorded in the run’s receipt.
When a command is sent in Telegram…
…an agent can apply labels and archive in Gmail — with the reasoning recorded in the run’s receipt.
When a schedule fires in Telegram…
…an agent can extract attachments and fields in Gmail — with the reasoning recorded in the run’s receipt.
The Gmail and Telegram hand-off, setup template
Start with the gmail-api node and the telegram-api node. Configure the Gmail source payload, the agent input, and the Telegram operation. The sequential template does not implement conditional writes or approval by itself.
This is a schema-checked starting point, not an end-to-end tested automation. Replace every CONFIGURE_ value, choose the operations you intend, connect credentials and map source outputs into later inputs. An edge orders steps; it does not supply a condition, an approval gate or a field mapping. Add and test those controls explicitly before any write. Cloud APIs and model providers may receive data. Keep the workflow inactive until tested with fixtures.
{
"id": "c4bdd6f9-624d-4c0f-ad96-59b6a5021346",
"name": "Gmail → Telegram",
"nodes": [
{
"id": "13b08b74-7b83-41a8-a598-8750bd8185ac",
"text": "Run on a schedule",
"x": 512,
"y": 144,
"isEditing": false,
"type": "trigger-timer",
"icon": "connect",
"category": "trigger",
"isSelected": false,
"parameters": {
"fireOnStart": "No",
"scheduleType": "Interval",
"schedule": "Every 15 Minutes"
},
"description": "Setup template for Timer Trigger. This trigger node fires the workflow at specified intervals or at a specific time. Configure credentials, inputs and output mapping before use.",
"error": null,
"isActive": false,
"output": null,
"outputs": {}
},
{
"id": "8418f0b8-53af-4fdb-ab0b-6f49c830208e",
"text": "Read Gmail",
"x": 512,
"y": 336,
"isEditing": false,
"type": "gmail-api",
"icon": "connect",
"category": "action",
"isSelected": false,
"parameters": {
"operation": "Search and Read Emails",
"searchQuery": "CONFIGURE_SEARCHQUERY",
"maxResults": 1
},
"description": "Setup template for Gmail API. A powerful tool to send, reply, read, organize, and manage attachments in Gmail. Configure credentials, inputs and output mapping before use.",
"error": null,
"isActive": false,
"output": null,
"outputs": {}
},
{
"id": "4bf7fd7f-71cd-44e4-af3f-bf5d15692c6c",
"text": "Review source and draft",
"x": 512,
"y": 528,
"isEditing": false,
"type": "agnt-agent",
"icon": "connect",
"category": "action",
"isSelected": false,
"parameters": {
"agentId": "CONFIGURE_AGENTID",
"message": "Read the Gmail item. Decide whether it warrants action in Telegram, and explain why.\nSource input: CONFIGURE_SOURCE_INPUT. Produce a reviewable draft only; do not take external actions."
},
"description": "Setup template for Agent Chat. Chat with an AI agent from your agent library. Select an agent and send messages to interact with it within your workflow. Configure credentials, inputs and output mapping before use.",
"error": null,
"isActive": false,
"output": null,
"outputs": {}
},
{
"id": "b2ae1f63-894b-4de9-ad99-427e1e146a96",
"text": "Configure destination in Telegram",
"x": 512,
"y": 720,
"isEditing": false,
"type": "telegram-api",
"icon": "connect",
"category": "action",
"isSelected": false,
"parameters": {
"action": "GET_ME",
"botToken": "CONFIGURE_BOTTOKEN",
"apiBaseUrl": "CONFIGURE_APIBASEURL",
"includeRaw": false
},
"description": "Setup template for Telegram API. Use Telegram Bot API from a single AGNT node. Choose an action to validate a bot, send messages/media, edit/delete messages, download files, or call any raw Bot API method. Configure credentials, inputs and output mapping before use.",
"error": null,
"isActive": false,
"output": null,
"outputs": {}
}
],
"edges": [
{
"id": "e6126aa7-1398-478d-af2b-359808ad56b6",
"start": {
"id": "13b08b74-7b83-41a8-a598-8750bd8185ac",
"type": "output"
},
"end": {
"id": "8418f0b8-53af-4fdb-ab0b-6f49c830208e",
"type": "input"
},
"startX": 800,
"startY": 168,
"endX": 512,
"endY": 360
},
{
"id": "7e225b34-5b24-47d0-aaa4-39b0512245dc",
"start": {
"id": "8418f0b8-53af-4fdb-ab0b-6f49c830208e",
"type": "output"
},
"end": {
"id": "4bf7fd7f-71cd-44e4-af3f-bf5d15692c6c",
"type": "input"
},
"startX": 800,
"startY": 360,
"endX": 512,
"endY": 552
},
{
"id": "1f75b823-f74d-4d23-aae8-2b54ec5aceba",
"start": {
"id": "4bf7fd7f-71cd-44e4-af3f-bf5d15692c6c",
"type": "output"
},
"end": {
"id": "b2ae1f63-894b-4de9-ad99-427e1e146a96",
"type": "input"
},
"startX": 800,
"startY": 552,
"endX": 512,
"endY": 744
}
],
"zoomLevel": 1,
"canvasOffsetX": 0,
"canvasOffsetY": 0,
"isTinyNodeMode": false
}
Configure Gmail API
A powerful tool to send, reply, read, organize, and manage attachments in Gmail.
- operation — The Gmail operation to perform. Current example:
Search and Read Emails. - searchQuery — Optional. Gmail search query (e.g., 'from:user is:unread'). If blank, fetches latest emails. Current example:
CONFIGURE_SEARCHQUERY. - maxResults — Maximum number of emails to return. Current example:
1.
Configure Telegram API
Use Telegram Bot API from a single AGNT node. Choose an action to validate a bot, send messages/media, edit/delete messages, download files, or call any raw Bot API method.
- action — Telegram operation to perform. Current example:
GET_ME. - botToken — Optional fallback Telegram bot token from @BotFather. If omitted, AGNT uses the connected Telegram provider token from Settings → Connections. Current example:
CONFIGURE_BOTTOKEN. - apiBaseUrl — Optional Bot API base URL. Use https://api.telegram.org by default, or a local Bot API server URL. Current example:
CONFIGURE_APIBASEURL. - includeRaw — Include the full raw Telegram API response when available. Current example:
false.
Install Inbox Triage
Inbox Triage is a working agent built around Gmail. Install it, point its last step at Telegram, and you have this hand-off without building it from an empty canvas.
Runs on your own machine · See what it does
Build it in AGNT
- Install AGNT — it runs on your own machine and needs no account to start.
- Authorise Telegram (an API key pasted into the vault) and Gmail (one OAuth sign-in). Nothing is stored anywhere but your disk.
- Describe the job in plain language, or paste the definition above; gmail-api does the reading and telegram-api the writing.
- Gate anything you would not want done unattended, then let it run and read the first receipt end to end.
Gmail and Telegram — common questions
Can I connect Gmail to Telegram without writing code?
No code is required. Add both connections in the vault (Gmail uses one OAuth sign-in, Telegram uses an API key pasted into the vault), then either install a marketplace workflow for this pair or drag the two nodes onto the canvas and put an agent between them.
How is this different from a field-mapping Gmail to Telegram automation?
A field mapping copies values and breaks on the first record nobody anticipated. The middle step here reads the Gmail item in full and decides — whether it matters, how to summarise it, and what belongs in Telegram. Deciding to do nothing is a valid outcome, which no mapping can express.
Does my Gmail and Telegram data leave my machine?
Your credentials stay in a vault on your own disk rather than in someone else’s cloud. The only calls made are the ones the workflow needs: Gmail, Telegram, and your chosen model provider — which can be a local one.
What does a Gmail and Telegram run leave behind?
Every run is recorded end to end — the Gmail items examined, the decision and its reasoning, the resulting Telegram write. That record is what makes it reasonable to let this run unattended, and what lets you widen its remit on evidence.