Automate Children’s Storytelling with n8n and OpenAI

This workflow automates creating and sharing magical children’s stories on Telegram, saving hours with AI-generated text, audio, and images. Perfect for educators and content creators aiming to engage young audiences effortlessly.
scheduleTrigger
chainSummarization
lmChatOpenAi
+6
Workflow Identifier: 2055
NODES in Use: Schedule Trigger, Set, Chain Summarization, OpenAI Chat Model, Telegram, OpenAI Audio, OpenAI Image, Text Splitter, Sticky Note
Automate childrens stories with n8n and OpenAI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow automatically creates and shares kids’ stories every 12 hours using OpenAI and Telegram.
It solves the problem of spending too much time making stories, pictures, and audio by doing all steps without human help.
The result is fresh stories with images and audio sent directly to a Telegram channel regularly.


Who should use this workflow

This is good for teachers, parents, or anyone wanting to give children fun stories often without writing or recording themselves.
Users who want simple, automatic creation and easy sharing on Telegram will find this helpful.


Tools and services used

  • n8n: Runs the automation workflow.
  • OpenAI GPT-3.5-turbo: Writes and summarizes the story text.
  • OpenAI Image Generation (DALL·E): Creates pictures from text descriptions.
  • OpenAI Audio Generation: Converts story text into listening audio.
  • Telegram Bot API: Sends messages, audio, and pictures to a Telegram channel.

How this workflow works: Inputs, processing, outputs

Inputs

The only input is the automatic timer that triggers every 12 hours.
No manual input is needed once set up.

Processing Steps

  1. Trigger: A scheduled timer starts the workflow on a fixed interval.
  2. Create story: ChatGPT is asked to write a short, fun, cultural children’s story about 900 characters.
  3. Image prompt creation: The story is summarized with focus only on character appearances, avoiding text in images.
  4. Generate image: The prompt feeds into OpenAI’s image generator to make a picture illustrating the story.
  5. Generate audio: The original story text converts to audio narration for listening.
  6. Send messages: The text story, audio file, and image are each sent via Telegram bot to the chosen channel.

Outputs

The result is three posts in a Telegram channel: the story text, the story picture, and the story audio narration.
Children can read, see, and listen to the story easily.


Beginner step-by-step: How to deploy the workflow in n8n

Step 1: Import the workflow file

  1. Download the workflow JSON from the Download button on this page.
  2. Open the n8n editor.
  3. Go to Workflows > Import from File.
  4. Find the downloaded JSON file and import it.

Step 2: Add API credentials

  1. Go to Credentials in n8n.
  2. Add new OpenAI API Key credential with your API key.
  3. Assign this OpenAI credential to the nodes named Create a story and Generate Audio for the story.
  4. Add Telegram Bot API credential with your bot token.
  5. Assign Telegram credentials to all Telegram sending nodes: Send Story Text, Send Audio for the story, Send Story Picture.

Step 3: Configure Telegram target

  1. Find the Config node in the workflow.
  2. Update the chatId parameter with the Telegram channel or group ID where stories will be posted.

Step 4: Test the workflow once

  1. Run the workflow manually in n8n to check if it completes without errors.
  2. Check the specified Telegram channel receives the story, image, and audio.

Step 5: Activate for production

  1. Turn on the workflow by activating it in n8n.
  2. The schedule trigger will now run the workflow automatically every 12 hours.

For those using self-host n8n, see this resource for stable, continuous hosting.


Customizing the workflow

  • You can change the posting frequency in the Schedule Trigger node to send stories more or less often.
  • Edit the prompt inside the Create a story node to adjust story length, style, or difficulty level.
  • Change Telegram chatId in Config node to post to a different channel or group.
  • Add translation steps if you want stories in other languages.
  • Add feedback or survey steps in Telegram to learn what stories readers like most.

Common issues and fixes

  • API Authentication fails: Check OpenAI API Keys are added and assigned to nodes correctly.
  • Telegram messages not sent: Verify Telegram Bot API token and chatId. Confirm chat is correct using tools like @userinfobot.
  • Images contain unwanted text: Edit the prompt in Create a Prompt for DALL-E node to forbid text.

Pre-production checklist

  • Make sure all credentials work by testing them in n8n.
  • Run the complete workflow manually to see no errors happen.
  • Check the story text is easy to read and the audio and image look good.
  • Save a backup of the workflow JSON before big changes.
  • Use a private Telegram channel first to test posts before sharing widely.

Summary of results

→ The workflow runs automatically every 12 hours and creates a children’s story with text, audio, and an illustration.
→ The generated content posts directly to a Telegram channel for easy sharing with kids.
✓ Saves many hours by removing manual writing and media creation tasks.
✓ Gives young readers fresh, fun stories regularly with sound and pictures.
✓ Allows easy configuration for different channels, posting times, and story styles.


Automate childrens stories with n8n and OpenAI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Open n8n credentials, add a new OpenAI API Key credential, then assign it to all OpenAI nodes such as the story creation and audio generation nodes.
Use Telegram bots like @userinfobot to get your channel or group’s numerical chat ID. Use this ID in the Config node of the workflow.
Yes. Change the interval setting in the Schedule Trigger node to run the workflow more or less frequently.
The DALL·E prompt might not forbid text. Edit the prompt in the Create a Prompt for DALL-E node to explicitly say no text or words in the images.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.