Skip to main content

AI-powered Telegram task assistant with Notion integration

Workflow preview

Workflow preview
100%
AI-powered Telegram task assistant with Notion integration preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow creates a powerful AI assistant in Telegram that helps you manage your tasks in Notion. The assistant leverages OpenAI's language models to understand natural language commands, proce...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.manualtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alexey from Mingles.ai.

Original n8n.io source

1.1 Workflow description

Title
AI-powered Telegram task assistant with Notion integration
Workflow name
AI-powered Telegram task assistant with Notion integration

This workflow creates a powerful AI assistant in Telegram that helps you manage your tasks in Notion. The assistant leverages OpenAI's language models to understand natural language commands, process voice messages, and maintain context through conversations.

Key features:

  • Processes both text and voice messages in Telegram
  • Transcribes voice messages automatically
  • Maintains conversation context with memory
  • Manages Notion tasks through a custom tool: • List all tasks • Add new tasks with priority (today/later) • Complete or uncomplete tasks • Change task timing

The workflow consists of two main parts:

  1. AI Agent section: Handles Telegram connectivity, message processing, voice transcription, and conversation management
  2. Notion Tool section: Implements the custom tool that connects to your Notion database, allowing the AI to interact with your tasks

Setup requires:

  • A Telegram bot token
  • OpenAI API credentials
  • Notion integration token and database ID

Example Notion Database

Perfect for personal productivity, team task management, or as a foundation for building more complex AI assistants with additional tools.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 3 - Set text

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Transribation

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Transcribe

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 7 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 8 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 9 - SETUP

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Add Task

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 11 - Get Tasks

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 12 - Complete Task

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 13 - Choose Method

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 14 - Set Task Time

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 15 - Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Notion Tasks Manager Tool

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.2

Block 17 - Voice or Text Message

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 18 - Download Voice File

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 19 - Response user

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 20 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 21 - Set text1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Input for debuging

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI-powered Telegram task assistant with Notion integration
Complexity advanced
Nodes 23
Categories Personal Productivity, AI Chatbot
Author Alexey from Mingles.ai
Published 17 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4142/4142.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered Telegram task assistant with Notion integration do?

This workflow creates a powerful AI assistant in Telegram that helps you manage your tasks in Notion. The assistant leverages OpenAI's language models to understand natural language commands, proce...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.