🤖 Interactive Russian language tutor bot with GPT-4o and Telegram

330 views · 🤖 AI Chatbots & Agents

Description

This n8n workflow turns Telegram into a personal language tutor.
Users can choose between different learning modes — vocabulary, grammar, quiz, or mixed lessons — simply by adding a hashtag to their message.
The bot processes requests with AI/ML API and sends back structured, interactive lessons in Telegram.


🚀 Features


🛠 Setup Guide

  1. 📲 Create Telegram Bot

    • Go to @BotFather
    • Use /newbot → choose a name and username
    • Save the bot token
  2. 🔐 Set Up Credentials in n8n

    • Telegram API: Use your bot token
    • AI/ML API: Add your API key under AI/ML account
  3. ⚙️ Configure the Workflow

    • Import the JSON into n8n
    • Update credentials (Telegram + AI/ML API)
    • Activate the workflow
  4. 💬 Start Learning

    • In Telegram, send a message with one of the supported hashtags:
      • #vocabulary — learn new words
      • #grammar — study rules with examples
      • #quiz — get exercises
    • Or just send plain text for a free-form AI response

🔍 Node Overview


💡 Example Flow

User Input:

#vocabulary кукуруза

Bot Output:

Кукуруза (Kukurúza) — Corn  
Pronunciation: koo-koo-ROO-zah  

Sentence:  
Я люблю есть кукурузу на гриле.  
I love eating grilled corn.  

👉 Try to write your own sentence with “кукуруза”!

🔗 Nodes Used

Telegram, Telegram Trigger

📥 Import

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

📖 Importing guide · 🔑 Credential setup