Skip to main content

English vocabulary bot for Telegram with Gemini & random word API

Workflow preview

English vocabulary bot for Telegram with Gemini & random word API preview
Open on n8n.io

Important notice

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

Overview

πŸ“„ What this workflow does

Every 3 hours, the workflow fetches 3 random English words, asks Gemini to generate a short Vietnamese vocabulary digest (word, Vietnamese meaning, and an example sentence), and sends it to a Telegram chat. Perfect for steady, low-effort vocab exposure in groups.

πŸ‘€ Who is this for

  • English learners who want a gentle, automated learning cadence.
  • Teachers/tutors who share daily vocab in Telegram groups.
  • Community admins who want lightweight, useful content for members.
  • Anyone who prefers bite-sized language learning on autopilot.

βœ… Requirements

  • Gemini API access (configured in n8n).
  • Telegram Bot token + chat ID (the chat you want to receive messages).
  • Internet access to Random Word API (no API key required).
  • n8n instance with outbound HTTPS access.

βš™οΈ How to set up

  1. Add your Gemini credentials in n8n (the Google Gemini/PaLM node).
  2. Add your Telegram credentials and set the chatId in the β€œSend a text message” node.
  3. (Optional) Adjust the schedule interval (default: every 3 hours).
  4. (Optional) Change the number of words by updating the HTTP Request URL param words=3.
  5. (Optional) Edit the Gemini prompt language/content to fit your style (currently Vietnamese output).
  6. Run once to test; confirm the message arrives in Telegram.

πŸ” How it works

  1. Schedule Trigger β†’ runs every 3 hours.
  2. HTTP Request β†’ calls random-word-api to get 3 words.
  3. Edit Fields (Set) β†’ wraps the API response under word.
  4. Aggregate β†’ prepares the word field for the LLM.
  5. Message a model (Gemini) β†’ creates a Vietnamese digest: English word, Vietnamese meaning, and example sentence for each word.
  6. Send a text message (Telegram) β†’ posts the digest to your specified chat.

πŸ’‘ About Margin AI

Margin AI is an AI-services agency that acts as your AI Service Companion. We design intelligent, human-centric automation solutionsβ€”turning your team’s best practices into scalable, automated workflows and tools. Industries like marketing, sales, and operations benefit from our tailored AI consulting, automation tools, chatbot development, and more.