{
  "name": "AI-Powered Children's English Storytelling on Telegram with OpenAI",
  "nodes": [
    {
      "id": "757a7e67-073a-4fa1-b571-2ddd147b35f6",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1000,
        1240
      ]
    },
    {
      "id": "761ed83a-2cfb-474a-b596-922e5a7e2717",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        660,
        1060
      ]
    },
    {
      "id": "41faf334-30d6-4cc0-9a94-9c486ec3fa6c",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1520,
        1420
      ]
    },
    {
      "id": "d9ad0a3a-2ce6-4071-8262-8176b3eecf36",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        220
      ],
      "parameters": {
        "width": 1004.4263690337257,
        "height": 811.7188223885136,
        "content": "### Setting Up a Workflow for \"AI-Powered Children's English Storytelling on Telegram\"\n\nIn this guide, we will walk you through the process of setting up a workflow to create and share captivating chi"
      }
    },
    {
      "id": "b550e4ff-167d-4b12-8dff-0511a435cd7c",
      "name": "Create a Prompt for DALL-E",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        1500,
        1280
      ]
    },
    {
      "id": "024a3615-9e90-4e47-81e3-21febfc2f0c9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        240
      ],
      "parameters": {
        "width": 611.6882702103559,
        "height": 651.7145525871413,
        "content": "### Use Case for Setting Up a Workflow for Children's Stories\n\nCheck this example: [https://t.me/st0ries95](https://t.me/st0ries95)\n\n\nThe workflow for children's stories serves as a valuable tool for "
      }
    },
    {
      "id": "11bfff09-33c6-48ab-b9e6-2e5349a87ca5",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1160,
        1260
      ]
    },
    {
      "id": "9da21054-961e-4b7a-973e-1c180571ce92",
      "name": "Create a story",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        1080,
        1060
      ]
    },
    {
      "id": "35579446-e11c-416b-b34a-b31e8461a1b3",
      "name": "Generate Audio for the story",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1520,
        1060
      ]
    },
    {
      "id": "453d149f-a2a7-4fc9-ba3b-85b42df1c29b",
      "name": "Generate a Picture for the story",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1840,
        1280
      ]
    },
    {
      "id": "8f324f12-b21e-4d0c-b7fa-5e2f93ba08aa",
      "name": "Send Story Text",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1520,
        840
      ]
    },
    {
      "id": "51a08f75-1c34-48a0-86de-b47e435ef618",
      "name": "Send Audio for the story",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1720,
        1060
      ]
    },
    {
      "id": "3f890a4d-26ea-452a-8ed5-917282e8b0d8",
      "name": "Send Story Picture",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2020,
        1280
      ]
    },
    {
      "id": "1cbec52c-b545-45df-885f-57c287f81017",
      "name": "Config",
      "type": "n8n-nodes-base.set",
      "position": [
        880,
        1060
      ]
    }
  ],
  "connections": {
    "Config": {
      "main": [
        [
          {
            "node": "Create a story",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a story": {
      "main": [
        [
          {
            "node": "Generate Audio for the story",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create a Prompt for DALL-E",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Story Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Create a story",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Create a Prompt for DALL-E",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Create a Prompt for DALL-E": {
      "main": [
        [
          {
            "node": "Generate a Picture for the story",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Audio for the story": {
      "main": [
        [
          {
            "node": "Send Audio for the story",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate a Picture for the story": {
      "main": [
        [
          {
            "node": "Send Story Picture",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Create a story",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}