🤖 Manage schedule & contacts with Telegram Bot using GPT-4o-mini & Google Services

318 views · 🤖 AI Chatbots & Agents

Description

AI Personal Assistant Telegram Bot Template

Description

Transform your Telegram into a powerful AI-powered personal assistant that manages your calendar, sends daily schedules, searches the web, and accesses your contacts - all through simple text messages.

What This Template Does

This workflow creates an intelligent Telegram bot that serves as your personal assistant, capable of:

Target Users

Key Features

Multi-Tool AI Agent: Combines Wikipedia, web search, calendar, email, and contacts in one interface ✅ Conversation Memory: Remembers context across multiple interactions ✅ Automatic Daily Scheduling: Proactive daily schedule emails ✅ Contact Intelligence: Automatically finds contact information before sending emails ✅ Telegram Integration: Works through the familiar Telegram interface

Use Cases

Prerequisites

Before setting up this template, you’ll need accounts and API access for:

Setup Instructions

1. Create Telegram Bot

  1. Message @BotFather on Telegram
  2. Use /newbot command and follow instructions
  3. Save your bot token for later

2. Set Up Google APIs

  1. Go to Google Cloud Console
  2. Create a new project or select existing
  3. Enable Google Calendar, Gmail, and Sheets APIs
  4. Create OAuth2 credentials
  5. Download credentials JSON file

3. Get API Keys

  1. OpenAI: Visit platform.openai.com, create API key
  2. SerpAPI: Sign up at serpapi.com, get API key

4. Configure Credentials in n8n

  1. Add Telegram Bot credentials using your bot token
  2. Set up Google OAuth2 for Calendar, Gmail, and Sheets
  3. Add OpenAI API credentials
  4. Add SerpAPI credentials

5. Customize the Workflow

  1. Update Calendar ID: Replace a________@gmail.com with your calendar
  2. Set Google Sheets ID: Replace the sheet ID with your contacts spreadsheet
  3. Modify System Message: Update the AI agent’s instructions to match your preferences
  4. Adjust Memory Settings: Configure conversation memory window as needed

6. Test the Setup

  1. Activate the workflow
  2. Message your Telegram bot
  3. Verify all integrations are working

Customization Options

Important Notes

Troubleshooting

Support

For issues with this template, check:

  1. n8n Community Forum
  2. Individual API service documentation
  3. Google Cloud Console for API errors
  4. OpenAI usage dashboard for model issues

🔗 Nodes Used

Telegram, Telegram Trigger, AI Agent, OpenAI Chat Model, Simple Memory, SerpApi (Google Search)

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup