n8n

How to Automate Telegram Inbox and Task Management?

Chat with a smart assistant in Telegram to check email, calendar, tasks, and contacts in one place. Team members can send a text or a voice note and get clear answers, summaries, and updates in seconds. It suits founders and ops teams that live in chat and need quick help with daily admin.

Incoming Telegram messages start the flow. If you send a voice note, the audio is downloaded and transcribed to text. The assistant uses OpenAI to understand the request and can pull unread Gmail since a chosen time, list upcoming Google Calendar events, and write to Baserow tables for tasks and contacts. A short memory window ties the chat to your Telegram user ID, so follow up questions work naturally. The reply is sent back to Telegram with clean Markdown formatting.

You will need a Telegram bot, Gmail and Google Calendar access, an OpenAI key, and a Baserow database. Expect faster email triage, fewer context switches, and quick capture of action items straight from chat. Many teams cut daily email review from about 30 minutes to under 5 minutes, while turning voice requests into tasks or contacts with almost no manual work.

What are the key features?

  • Telegram trigger listens for new messages and starts the flow
  • Voice notes are downloaded and transcribed to text with OpenAI Speech to Text
  • Text messages are routed directly for quick processing
  • OpenAI chat model interprets requests and decides which tools to use
  • Gmail tool fetches unread inbox since a chosen time and skips promotions
  • Google Calendar tool lists upcoming events with summary and start time
  • Baserow tools create or update task and contact records
  • Windowed memory keeps recent context per Telegram user for natural follow ups
  • Replies are sent back to Telegram with clean Markdown formatting

What are the benefits?

  • Reduce email triage from 30 minutes to 5 minutes per person per day
  • Streamline message to task capture by about 70%
  • Improve contact entry accuracy by up to 90%
  • Connect Telegram, Gmail, Google Calendar, and Baserow in one chat
  • Handle both voice and text requests without switching apps
  • Support more requests at once with per user session memory

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Calendar, Gmail, OpenAI, Telegram and Baserow. See the Tools Required section above for links to create accounts with these services.
  3. Create a Telegram bot using BotFather and copy the bot token. In n8n, open the Telegram Trigger node and the Telegram Send node, choose Credential to connect with, click Create new credential, and paste the bot token. Save.
  4. Enable the workflow and send a test message to your Telegram bot to confirm the trigger receives updates. Check the Execution list to see the incoming message.
  5. Add your OpenAI API key: open the OpenAI Chat Model and Speech to Text nodes, create new OpenAI credentials, and paste your API key from your OpenAI account. Save and test by sending a short text prompt and a voice note.
  6. Connect Gmail: open the Gmail Get Email node, click Create new credential, and complete the OAuth flow in n8n Cloud. Pick the Gmail account that holds your inbox.
  7. Connect Google Calendar: open the Google Calendar node, create new Google Calendar OAuth2 credentials, finish the consent screen, and select the correct calendar in the node options.
  8. Prepare Baserow: create or identify a database with Tasks and Contacts tables. Copy the database and table IDs. In n8n, open both Baserow nodes, create new Baserow API token credentials, and enter your token from the Baserow account.
  9. Update table and calendar settings: in the Baserow nodes, set your databaseId and tableId values. In Google Calendar, confirm the calendar value matches your account. Save the workflow.
  10. Validate end to end: message the bot with Ask for unread emails since yesterday and confirm a summary returns. Then say Add a task to follow up and check the record appears in Baserow.
  11. Test voice flow: send a voice note with Schedule a meeting next week and verify the text transcription and the calendar output in the reply.
  12. Troubleshoot common issues: if voice does not transcribe, recheck OpenAI credentials and the voice file path. If Gmail or Calendar fail, reauthorize OAuth in the Credentials manager. If Baserow returns 404, correct your databaseId and tableId values.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Baserow

Sign up

Cloud Free plan: $0 / mo; API access via database tokens; 3,000 rows/workspace and 2GB storage/workspace

Gmail

Sign up

No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

Google Calendar

Sign up

Free: $0; all Google Calendar API usage is at no additional cost; quota limits apply (no charges for overages).

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Credits:
YouTube video

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.