AI-Powered Children s Arabic Storytelling on Telegram n8n Workflow Template

n8n workflow template · 13 nodes · OpenAI

AI-Powered Children s Arabic Storytelling on Telegram is a free n8n workflow template that runs on a schedule and works with OpenAI and Telegram. It has 13 nodes, 9 of them AI nodes (OpenAI Chat Model, Recursive Character Text Splitter, Summarization Chain and OpenAI). The notes inside the workflow say: “The n8n template for creating kids' stories in Arabic provides a versatile platform for storytellers to captivate young audiences with educational and interactive tales.” To run it, you add your own credentials for OpenAI API and Telegram Bot API.

At a glance

Trigger
Schedule Trigger (Schedule Trigger)
Nodes
13
Apps
OpenAI and Telegram
AI nodes
9
Credentials
2 types
Category
Chatbots and messaging

Apps and integrations

  • OpenAI
  • Telegram

Node types used

  • OpenAI Chat Model
  • Schedule Trigger
  • Recursive Character Text Splitter
  • Summarization Chain
  • OpenAI
  • Telegram

Setup notes

The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.

Template for Kids' Story in Arabic

The n8n template for creating kids' stories in Arabic provides a versatile platform for storytellers to captivate young audiences with educational and interactive tales. Along with its core functionalities, this template allows for customization to suit various use cases and can be set up effortlessly.

Check this example

Node Functionalities

Automated Storytelling Process

Use Cases

  1. Educational Platforms

Educational platforms can automate the creation and distribution of educational stories in Arabic for children using this template. By incorporating visual and auditory elements into the storytelling process, educational platforms can enhance learning experiences and engage young learners effectively.

  1. Children's Libraries

Children's libraries can utilize this template to curate and share a diverse collection of Arabic stories with young readers. The automated generation of visual content and audio files enhances the storytelling experience, encouraging children to immerse themselves in new worlds and characters through captivating narratives.

  1. Language Learning Apps

Language learning apps focused on Arabic can integrate this template to offer culturally rich storytelling experiences for children learning the language. By translating stories into Arabic and supplementing them with visual and auditory components, these apps can facilitate language acquisition in an enjoyable and interactive manner.

Configuration Guide for Nodes

OpenAI Chat Model Nodes

  • Credentials: Provide the necessary API credentials for the OpenAI GPT-4 Turbo model.
  • Options: Configure any specific options required for the chat model.

Create a Prompt for DALL-E Node

  • Prompts Customization: Customize prompts to generate relevant visual content for the stories.
  • Summarization Method and Prompts: Define the summarization method and prompts for generating visual content without text.

Generate an Image for the Story Node

  • Resource: Specify the type of resource (image).
  • Prompt: Set up the prompt for producing an image without text within the visual content.

Generate Audio for the Story Node

  • Resource: Select the type of resource (audio).
  • Input: Define the input text for generating audio files.

Translate the Story to Arabic Node

  • Chunking Mode: Choose the chunking mode (advanced).
  • Summarization Method and Prompts: Set the summarization method and prompts for translating the story into Arabic.

Send the Story To Channel Node

  • Chat ID: Provide the chat ID where the story text will be sent.
  • Text: Configure the text to be sent to the channel.

By configuring each node as per the guidelines above, users can effectively set up and customize the n8n template for kids' stories in Arabic, tailoring it to specific use cases and delivering a seamless and engaging storytelling experience for young audiences.

Nodes in this workflow

The 13 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:

  1. OpenAI Chat Model (OpenAI Chat Model)
  2. OpenAI Chat Model1 (OpenAI Chat Model)
  3. Schedule Trigger (Schedule Trigger)
  4. Recursive Character Text Splitter (Recursive Character Text Splitter)
  5. OpenAI Chat Model2 (OpenAI Chat Model)
  6. Create a Prompt for DALL-E (Summarization Chain)
  7. Generate an Image for the Story (OpenAI)
  8. Generate Audio for the Story (OpenAI)
  9. Send the Story To Channel (Telegram)
  10. Send Image to the Channel (Telegram)
  11. Translate the Story to Arabic (Summarization Chain)
  12. Send Audio to the Channel (Telegram)
  13. Create a Story for Kids (Summarization Chain)

Credentials you need

  • OpenAI API – used by Generate Audio for the Story, Generate an Image for the Story, OpenAI Chat Model and OpenAI Chat Model1 and others
  • Telegram Bot API – used by Send Audio to the Channel, Send Image to the Channel and Send the Story To Channel

Configure your own credentials after importing. Create each credential in n8n, then select it in the node.

How to import into n8n

  1. Download the JSON file with the button above.
  2. In n8n, open a new workflow, select the ... menu and choose Import from File. You can also paste the JSON straight into the editor canvas.
  3. Open each node that shows a warning and select or create its credential.
  4. Read the notes on the canvas, test the workflow with sample data, then activate it.

Do you need somewhere to run it? Read our guide to self-hosted n8n.

Need this customised?

We can adapt this workflow to your apps, data and process, then deploy and support it.

Contact Us