Publish Arabic kids’ stories with text, images, and audio using OpenAI and Telegram

Go to Workflow
0 views
Built by Mohamed kaddour Mohamed kaddour
Created on September 24, 2026

Description

Quick overview
This workflow runs every 12 hours to generate a short kids’ story with OpenAI, translate it into Arabic, create a DALL·E image prompt and image, and publish the Arabic text, image, and an Arabic text-to-speech audio file to a Telegram channel.

How it works
Runs on a schedule trigger every 12 hours.
Uses OpenAI (GPT-4 Turbo) to generate an original short kids’ story in English, using a text splitter to chunk any input context.
Translates the story into simple, kid-friendly Arabic with a moral lesson using OpenAI (GPT-4 Turbo).
Posts the Arabic story text to the configured Telegram channel.
Converts the Arabic story text to speech with OpenAI text-to-speech and uploads the audio to Telegram.
Summarizes the story into a “no text in the image” character-focused prompt and generates an illustration with OpenAI image generation (DALL·E), then posts the image to Telegram.

Setup
Add an OpenAI API credential with access to GPT-4 Turbo, image generation (DALL·E), and text-to-speech.
Add a Telegram bot credential, make the bot an admin in your target channel or group, and set the correct chat ID in all Telegram send steps.
Set an explicit model in the OpenAI chat model used for the DALL·E prompt generation to avoid relying on the node default.
Adjust the schedule interval if you want a different publishing frequency.

Nodes Used (5)

OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter
Summarization Chain
@n8n/n8n-nodes-langchain.chainSummarization
Telegram
n8n-nodes-base.telegram