Templates / Automate product ad creation with Telegram, Fal.AI & Facebook posting

Automate product ad creation with Telegram, Fal.AI & Facebook posting

Ready for 3.0

by Jaruphat J. ✓ · 1,397 views · created 2025-10-13 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model, OpenAI and Facebook Graph API.

How it runs

Trigger: On Telegram events (message).

  1. Get Telegram File Path (HTTP Request): calls an HTTP API
  2. Analyze Product Image (OpenAI Vision) (OpenAI): analyze (image)
  3. Generate Ad Prompt Draft (from Image Analysis) (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Assemble Prompt Parameters (Edit Fields (Set)): sets 10 fields: caption, prompt, style…
  5. User Review: Approve/Reject Ad Prompt (Telegram): send and wait for a reply
  6. Check Prompt Approval (Yes/No) (If): checks a condition and branches into true / false
  7. Send a text message (Telegram): uses Telegram
  8. Revise Prompt Based on Feedback (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  9. Prepare Fal.AI Input Fields (Edit Fields (Set)): sets 2 fields: product_image_URL, image_prompt
  10. Call Fal.AI API (nano-banana model) (HTTP Request): calls an HTTP API

…plus 14 more steps. See the full node list below.

Services it uses

TelegramOpenAI Chat ModelOpenAIFacebook Graph API

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

This workflow automates the entire process of creating and publishing social media ads — directly from Telegram. By simply sending a product photo to your Telegram bot, the system analyzes the image, generates an AI-based advertising prompt, creates a…

Excerpt from Jaruphat J.'s description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.