Skip to main content

Create and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato

Workflow preview

Workflow preview
100%
Create and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow takes a Telegram message containing an idea or URL, uses OpenAI to generate platform ready captions plus an image prompt, creates an image via AtlasCloud (Grok Imagine)...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolhttprequest, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.httprequest

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Create and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato
Workflow name
Create and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato

Quick Overview

This workflow takes a Telegram message containing an idea or URL, uses OpenAI to generate platform-ready captions plus an image prompt, creates an image via AtlasCloud (Grok Imagine), then publishes the post to LinkedIn, X, and Instagram through Blotato and confirms back in Telegram.

How it works

  1. Triggers when your Telegram bot receives a message with a topic, idea, or link to repurpose.
  2. Applies workflow defaults (language, brand voice, and image style) and sends the request to OpenAI to generate a LinkedIn post, X caption, Instagram caption, and an image-generation prompt.
  3. If the message includes a URL, the agent fetches and summarizes the page content via an HTTP “read web link” tool before writing the captions.
  4. Sends the image prompt to AtlasCloud’s image generation API and polls the prediction endpoint until the image is completed or fails.
  5. Extracts the generated image URL and publishes it with the generated captions to LinkedIn, X, and Instagram via Blotato.
  6. Sends a Telegram confirmation message back to the original chat with the published status and image URL.

Setup

  1. Create a Telegram bot with @BotFather and connect your Telegram credentials to the Telegram Trigger and Telegram message nodes.
  2. Add an OpenAI API key and select the model you want to use in the OpenAI Chat Model configuration.
  3. Add an AtlasCloud API key (HTTP Header Auth) and ensure your account has credits for Grok Imagine image generation.
  4. Install/enable the Blotato community node, connect your Blotato API credentials, and select your LinkedIn, X, and Instagram accounts in each publish step.
  5. Review the “Workflow settings” values (language, brand voice, image style, model, aspect ratio, resolution) to match your posting preferences.

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 request on Telegram

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

Block 2 - Workflow settings

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

Block 3 - AI content agent

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

Block 4 - OpenAI Chat Model

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

Block 5 - Conversation memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.4

Block 6 - Read a web link

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 7 - Format the content

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

Block 8 - Generate image (Grok)

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

Block 9 - Wait for image

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

Block 10 - Poll image result

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

Block 11 - Check image status

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

Block 12 - Extract image URL

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

Block 13 - Publish to LinkedIn

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 14 - Publish to X

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 15 - Publish to Instagram

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 16 - Confirm on Telegram

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

Block 17 - Stop and error

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

Block 18 - Sticky Note 0701ff85

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

Block 19 - Sticky Note ca2083cf

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

Block 20 - Sticky Note c3072499

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

Block 21 - Sticky Note 04d44c93

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

Block 22 - Sticky Note 4c951f3f

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

3. Summary Table

Workflow Create and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato
Complexity advanced
Nodes 22
Categories Social Media, Multimodal AI
Author Dr. Firas
Published 14 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16347/16347.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 and publish AI social posts from Telegram with OpenAI, AtlasCloud and Blotato do?

Quick Overview This workflow takes a Telegram message containing an idea or URL, uses OpenAI to generate platform ready captions plus an image prompt, creates an image via AtlasCloud (Grok Imagine)...

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 Social Media, Multimodal AI use case.