Send Daily Dictionary Translations

OpenAI

Fetches a random entry from a classic literary dictionary, translates it into multiple German proficiency levels using AI, and sends it to subscribers via Telegram and Superchat.

Language LearningTelegram BotScheduled MessagesLiterary Content

Overview

This workflow delivers a daily dose of wit and language learning by pulling a random entry from Ambrose Bierce's The Devil's Dictionary, translating it into four levels of German proficiency, and sending the result to subscribers on Telegram and Superchat. It runs on a schedule — no manual intervention needed once it's set up.

How It Works

  1. Scheduled Trigger — The workflow fires every day at 8:00 AM (Europe/Berlin timezone).
  2. Fetch the Source Text — An HTTP request retrieves the full text of The Devil's Dictionary from Project Gutenberg.
  3. Parse a Random Entry — A code node splits the text into individual dictionary entries and selects one at random.
  4. Translate with AI — An AI agent takes the selected entry and produces a formatted message containing the original English plus German translations at four CEFR levels (A1, A2, B1, B2), preserving Bierce's trademark satire at each level.
  5. Send to Subscribers — The formatted message is sent in parallel to both a Telegram channel and a Superchat contact.

Workflow Nodes

NodeTypePurpose
Scheduled TriggerTriggerRuns the workflow daily at 8:00 AM
Fetch TextHTTP RequestDownloads the full dictionary text from Project Gutenberg
Parse EntryCodeExtracts all entries and picks one at random
AI TranslationAI AgentTranslates the entry into four German proficiency levels
Telegram SendHTTP RequestPosts the message to a Telegram channel
Superchat SendHTTP RequestSends the message to a Superchat recipient

What You'll Need

  • Telegram Bot Token and Channel ID — Create a bot via BotFather and add it to your channel.
  • Superchat API Key, Channel ID, and Recipient ID — Available from your Superchat account settings.
  • These values are stored as workflow variables and referenced securely in the HTTP request nodes.

Customization Ideas

  • Change the source text — Swap out the Gutenberg URL for any other public-domain text and adjust the parsing logic.
  • Change the target language — Modify the AI prompt to translate into Spanish, French, or any language you're studying.
  • Adjust the schedule — Edit the cron expression to send messages at a different time or frequency.
  • Add more channels — Duplicate the send nodes to also post to Slack, Discord, or email.

Example Output

The daily message looks something like this:

📖 Here is your daily entry from Ambrose Bierce's The Devil's Dictionary, in English and in German at different levels of proficiency. Thanks for playing!

🇬🇧 ENGLISH: BORE, n. A person who talks when you wish him to listen.

🇩🇪 GERMAN (A1): ...

🇩🇪 GERMAN (A2): ...

🇩🇪 GERMAN (B1): ...

🇩🇪 GERMAN (B2): ...

Each German translation matches the vocabulary and grammar complexity of that CEFR level while keeping the satirical tone intact.

Getting Started

  1. Import the workflow into Needle.
  2. Add your Telegram and Superchat credentials as workflow variables.
  3. Enable the scheduled trigger.
  4. Wait for your first message at 8:00 AM — or run the workflow manually to test it right away.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy