This workflow automatically generates short, child-friendly English stories using OpenAI, creates an audio narration and an illustrative image, and posts them to a Telegram chat on a schedule. It’s designed to run every 12 hours and deliver a complete story package (text, audio, image) to a configured Telegram channel or group.
What You Can Do
- Automatically generate age-appropriate short stories using OpenAI language models.
- Produce narrated audio of each story (text-to-speech) and a generated illustration for the story.
- Post story text, audio, and image to a Telegram chat on a recurring schedule (every 12 hours by default).
- Customize prompts, chunking, and DALL·E-style image prompts to control story length and visuals.
Quick Start
- Import this workflow into n8n (Workflows → Import from JSON).
- Configure credentials:
– OpenAI API: create credentials and set your OpenAI API key.
– Telegram: create credentials with your Telegram Bot token. - Edit the “Config” node and set chatId to the Telegram chat ID where the bot should post.
- (Optional) Adjust prompts in the “Create a story” and “Create a Prompt for DALL-E” nodes to change style, length, or imagery rules.
- Activate the workflow. The Schedule Trigger runs every 12 hours and will post the generated story, audio, and image to your Telegram chat.
- Test by running the workflow manually after setup to ensure audio/image generation and Telegram posting work correctly.




