← Back to directory
Marketing Medium to set up AI workflow Repurpose/Transform

Social Media Video And Carousel Publishing

Source reviewed Updated 2026-07-07

Send a URL via Telegram to automatically generate an AI video or carousel and publish it to Instagram or TikTok.

marketersfreelancers and consultants

What it does

Send a URL via Telegram to instantly generate and publish an AI video or carousel on Instagram and TikTok without manual editing. The system extracts content from your link, creates the media, and posts it automatically once ready, then confirms completion back in your chat.

Step by step

  1. Set up a Telegram webhook or long-polling listener in n8n to capture incoming public URLs.
  2. Configure an HTTP request node in n8n to POST the extracted URL to Blotato's content extraction endpoint.
  3. Implement a polling loop in n8n that checks Blotato's status API until the generation job returns a 'completed' state.
  4. Use n8n's built-in Instagram and TikTok nodes or HTTP requests to upload the final media asset from Blotato.

Where the LLM does the work

  • Generate engaging captions and relevant hashtags for each post using OpenAI based on the extracted article text.
  • Refine the tone of the generated script or carousel text to match a specific brand voice before sending it to Blotato.
  • Create fallback text variations if the initial AI-generated content is flagged as too generic by the platform.

Watch out for

Instagram and TikTok have strict file format requirements so verify the output MIME type from Blotato before attempting upload.
Telegram message size limits may truncate long captions so split the AI-generated text into multiple messages or use a link preview instead.

Tools that fit

n8n Service Workflow orchestration and automation logic
Blotato Service Content generation and social media publishing
OpenAI Chat Model LLM Generating AI content prompts and text
Telegram Service Triggering the workflow and receiving notifications

The agent brief

Everything your agent needs, including the gotchas. Copy it and go.
agent-brief.md
You are helping me build the following AI agent workflow.

## Goal
Social Media Video And Carousel Publishing: Send a URL via Telegram to automatically generate an AI video or carousel and publish it to Instagram or TikTok.

## Specification
- What it does: Send a URL via Telegram to instantly generate and publish an AI video or carousel on Instagram and TikTok without manual editing. The system extracts content from your link, creates the media, and posts it automatically once ready, then confirms completion back in your chat.
- Trigger: Triggered by an event (Event · on new Telegram message with URL)
- Autonomy: Fully hands-off
- Expected setup effort: about an afternoon
- Tools/services involved:
  - n8n: Workflow orchestration and automation logic
  - Blotato: Content generation and social media publishing
  - OpenAI Chat Model: Generating AI content prompts and text
  - Telegram: Triggering the workflow and receiving notifications

## Known pitfalls, handle each one explicitly in your implementation
1. Instagram and TikTok have strict file format requirements so verify the output MIME type from Blotato before attempting upload.
2. Telegram message size limits may truncate long captions so split the AI-generated text into multiple messages or use a link preview instead.

## Reference implementation
https://n8n.io/workflows/13526 (workflow template)
Fetch and inspect this before building. If it matches my stack, adapt it;
if not, rebuild the pattern with my tools.

## Process requirements
1. Before building: ask me which of the listed tools I actually use and
   what my platform is (n8n / Make / code / other). Do not assume.
2. Adapt the pattern to my answers; do not force the reference stack.
3. Address every pitfall above; tell me how you handled each.
4. Provide a test plan I can run before letting this touch real data.
5. Ask before any step that sends messages, modifies data, or spends money.

Source: https://usecasesforagents.com/use-case/automate-social-media-video-and-carousel-publishing/ via usecasesforagents.com

Frequently asked questions

Can I use a different Automation Platform than n8n?

Yes. n8n is only the example automation platform in this recipe. The same flow works with Home Assistant. Swap the automation platform connection and keep the rest of the setup as written.

Want this running in your business?

This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touch →

Who it's for

Built for marketers who'd rather brief an agent than start from a blank doc.

Freelancers and consultants can run this per-client with no changes beyond the source data.

Seen in the wild

← Back to directory