Skip to main content

Create social media content from Telegram with AI

Workflow preview

Workflow preview
100%
Create social media content from Telegram with AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description: Create Social Media Content from Telegram with AI This n8n workflow empowers you to effortlessly generate social media content and captivating image prompts, all powered by AI. Simply ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.switch, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Onur.

Original n8n.io source

1.1 Workflow description

Title
Create social media content from Telegram with AI
Workflow name
Create social media content from Telegram with AI

Description:

Create Social Media Content from Telegram with AI

This n8n workflow empowers you to effortlessly generate social media content and captivating image prompts, all powered by AI. Simply send a topic request through Telegram (as a voice or text message), and watch as the workflow conducts research, crafts engaging social media posts, and creates detailed image prompts ready for use with your preferred AI art generation tool.

What does this workflow do?

This workflow streamlines the content creation process by automating research, social media content generation, and image prompt creation, triggered by a simple Telegram message.

Who is this for?

  • Social Media Managers: Quickly generate engaging content and image ideas for various platforms.
  • Content Creators: Overcome writer's block and discover fresh content ideas with AI assistance.
  • Marketing Teams: Boost productivity by automating social media content research and drafting.
  • Anyone looking to leverage AI for efficient and creative social media content creation.

Benefits

  • Effortless Content and Image Prompt Generation: Automate the creation of social media posts and detailed image prompts.
  • AI-Powered Creativity: Leverage the power of LLMs to generate original content ideas and captivating image prompts.
  • Increased Efficiency: Save time and resources by automating the research and content creation process.
  • Voice-to-Content: Use voice messages to request content, making content creation even more accessible.
  • Enhanced Engagement: Create high-quality, attention-grabbing content that resonates with your audience.

How it Works

  1. Receive Request: The workflow listens for incoming voice or text messages on Telegram containing your content request.
  2. Process Voice (if necessary): If the message is a voice message, it's transcribed into text using OpenAI's Whisper API.
  3. AI Takes Over: The AI agent, powered by an OpenAI Chat Model and SerpAPI, conducts online research based on your request.
  4. Content and Image Prompt Generation: The AI agent generates engaging social media content and a detailed image prompt based on the research.
  5. Image Generation (Optional): You can use the generated image prompt with your preferred AI art generation tool (e.g., DALL-E, Stable Diffusion) to create a visual.
  6. Output: The workflow provides you with the social media content and the detailed image prompt, ready for you to use or refine.

n8n Nodes Used

  • Telegram Trigger
  • Switch
  • Telegram (for fetching voice messages)
  • OpenAI (Whisper API for voice-to-text)
  • Set (for preparing variables)
  • AI Agent (with OpenAI Chat Model and SerpAPI tool)
  • HTTP Request (for optional image generation)
  • Extract from File (for optional image processing)
  • Set (for final output)

Prerequisites

  • Active n8n instance
  • Telegram account with a bot
  • OpenAI API key
  • SerpAPI account
  • Hugging Face API key (if you want to generate images within the workflow)

Setup

  1. Import the workflow JSON into your n8n instance.
  2. Configure the Telegram Trigger node with your Telegram bot token.
  3. Set up the OpenAI and SerpAPI credentials in the respective nodes.
  4. If you want to generate images directly within the workflow, configure the HTTP Request node with your Hugging Face API key.
  5. Test the workflow by sending a voice or text message to your Telegram bot with a topic request.

This workflow combines the convenience of Telegram with the power of AI to provide a seamless content creation experience. Start generating engaging social media content today!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Receive Telegram Messages

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 2 - Voice or Text?

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 3 - Fetch Voice Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Transcribe Voice to Text

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - Prepare for LLM

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 9 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 10 - SerpAPI

Type / Role
@n8n/n8n-nodes-langchain.toolSerpApi - toolSerpApi
Config choices
Version 1

Block 11 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 12 - Extract from File

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Prepare Final Output

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Generate Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Create social media content from Telegram with AI
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Onur
Published 02 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3057/3057.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create social media content from Telegram with AI do?

Description: Create Social Media Content from Telegram with AI This n8n workflow empowers you to effortlessly generate social media content and captivating image prompts, all powered by AI. Simply ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.