n8n

How to Automate Telegram Kids Story Publishing?

Publish fresh Arabic kids stories to your Telegram channel on a set schedule. Text, image, and audio are produced in one flow, so your audience gets a complete story experience. Great for education pages, language apps, and community channels.

A timed trigger runs every 12 hours. A language model writes a short tale, a second step builds a clean image prompt, and OpenAI creates an image without any text. The story is translated into simple Arabic for children, then turned into an audio file. Long text is split into smaller parts to avoid limits, and the channel receives the story text, the image, and the audio in order.

You only need an OpenAI API key and a Telegram bot with access to your channel. Expect content production time to drop from hours to minutes and a steady posting rhythm that grows audience reach. Adjust the prompts to match your theme and tune the schedule to your calendar. Ideal for schools, libraries, and creators who want simple, consistent publishing with text, visual, and voice in one package.

What are the key features?

  • Schedule trigger runs every 12 hours to keep posts regular.
  • Story generation creates short kid friendly tales with a clear lesson.
  • Recursive text splitter breaks long text into safe chunks for processing.
  • Translation step rewrites the story in simple Arabic for children.
  • Image prompt builder describes characters and scenes without adding text to the image.
  • OpenAI image generator produces a matching picture for each tale.
  • Audio generation turns the Arabic story into a clear voice file.
  • Telegram nodes send the story text, the image, and the audio to the same channel.

What are the benefits?

  • Reduce manual work from 2 hours to 5 minutes per story
  • Automate about 90 percent of the content production steps
  • Deliver posts twice daily with consistent timing
  • Connect OpenAI and Telegram in one simple pipeline
  • Improve access for young readers by adding audio narration
  • Handle dozens of stories per week without extra staff

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and Telegram. See the Tools Required section above for links to create accounts with these services.
  3. Create an OpenAI API key in your OpenAI account. In the n8n credentials manager, create a new OpenAI credential and paste the API key. Save it with a clear name like OpenAI Kids Stories.
  4. Create a Telegram bot with BotFather and copy the bot token. Add the bot to your Telegram channel and grant it admin rights so it can post.
  5. Find your channel chat ID and note it. You can use the Telegram API getUpdates method or any chat ID finder tool to retrieve the numeric channel ID.
  6. Open each OpenAI node in the workflow and select your OpenAI credential in the Credential to connect with dropdown. Keep the default models or choose another if needed.
  7. Open the nodes Send the Story To Channel, Send Image to the Channel, and Send Audio to the Channel. Select your Telegram credential and set the chatId field to your channel ID.
  8. Review the prompts in Create a Story for Kids, Translate the Story to Arabic, and Create a Prompt for DALL E. Adjust themes, character types, and reading level as you prefer.
  9. If your stories are long, check the Recursive Character Text Splitter settings. Use the existing chunk size and overlap or tune them to fit your content length.
  10. Run the workflow once manually for testing. Confirm that your Telegram channel receives the text, the image appears correctly without text, and the audio plays clearly.
  11. Open the Schedule Trigger node and set the interval to match your posting plan. The default runs every 12 hours.
  12. Troubleshoot if needed: if nothing posts, confirm the bot is an admin and the chat ID is correct. If image or audio is missing, ensure binary data is enabled in those nodes and file sizes are reasonable. If the Arabic text is too complex, simplify the translation prompt.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.