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