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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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.


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 Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free