Manage Calendar with Voice & Text Commands using GPT-4, Telegram & Google Calendar
This n8n workflow transforms your Telegram bot into a personal AI calendar assistant , capable of understanding both voice and text commands in Romanian , and managing your Google Calendar using the GPT-4 model via LangChain.
Whether you want to create, update, fetch, or delete events, you can simply speak or write your request to your Telegram bot β and the assistant takes care of the rest.
π Features
- Voice command support using Telegram voice messages (.ogg)
- Transcription using OpenAI Whisper
- Natural language understanding with GPT-4 via LangChain
- Google Calendar integration:
- β
 Create Events
- π Update Events
- β Delete Events
- π
 Fetch Events
 
- Responses sent back via Telegram
π οΈ Step-by-Step Setup Instructions
1. Create a Telegram Bot
- Go to @BotFather on Telegram.
- Send /newbotand follow the instructions.
- Save the Bot Token.
2. Configure Telegram Trigger Node
- Paste the Telegram token into the Telegram Trigger and Telegram nodes.
- Set updates to ["message"].
3. Set up OpenAI Credentials
- Get an OpenAI API key from https://platform.openai.com
- Create a credential in n8n for OpenAI.
- This is used for both transcription and AI reasoning.
4. Set up Google Calendar
- In Google Cloud Console:
- Enable Google Calendar API
- Set up OAuth2 credentials
- Add your n8n redirect URI (usually https://yourdomain/rest/oauth2-credential/callback)
 
- Create a credential in n8n using Google Calendar OAuth2
- Grant access to your calendar (e.g., "Family" calendar).
βοΈ Customization Options
π£οΈ Change Language or Locale
- The transcription node uses "en"for English. Change to another locale if needed.
βοΈ Edit Prompt
- You can modify the prompt in the AI Agent node to include your name, work schedule, or specific behavior expectations.
π Change Calendar Logic
- Adjust time ranges or filters in the Get Eventsnode
- Add custom logic before Create Event(e.g., validation, conflict checks)
π Helpful Tips
- Make sure n8n has HTTPS enabled to receive Telegram updates.
- You can test the flow first using only text, then voice.
- Use AI memory or vector stores (like Supabase) if you want context-aware planning in the future.