AutomationMart
Home/Browse/Automate product ad creation with Telegram, Fal.AI & Facebook posting
n8n

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

n8nn8n29 modulesv1.0
OpenAITelegramInstagramFacebook

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 marketing image via Fal.AI, writes an engaging Facebook/Instagram caption, and posts it automatically. This template saves hours of manual work for marketers and small business owners who constantly need to design, write, and publish product camp

At a glance

Automate product ad creation with Telegram, Fal.AI & Facebook posting is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Telegram, Instagram, Facebook. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Telegram, Instagram, Facebook
Modules
29
Price
Free
Version
v1.0
Automate product ad creation with Telegram, Fal.AI & Facebook posting workflow diagram

About this workflow

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 marketing image via Fal.AI, writes an engaging Facebook/Instagram caption, and posts it automatically. This template saves hours of manual work for marketers and small business owners who constantly need to design, write, and publish product campaigns. It eliminates repetitive steps like prompt writing, AI model switching, and post scheduling — letting you focus on strategy, not execution. The workflow integrates seamlessly with Fal.AI for image generation, OpenAI Vision for image analysis, and the Facebook Graph API for automated publishing. Whether you’re launching a 10.10 campaign or promoting a new product line, this template transforms your product photo into a ready-to-publish ad in just minutes. --- Who’s it for This workflow is designed for: - Marketers and e-commerce owners who need to create social content quickly. - Agencies managing multiple clients’ campaigns. - Small business owners who want to automate Facebook/Instagram posts. - n8n creators who want to learn AI-assisted content automation. --- What problem does this solve Manually creating ad images and captions is time-consuming and repetitive. You need to: 1. Edit the product photo. 2. Write a creative brief or prompt. 3. Generate an image in Fal.AI or Midjourney. 4. Write a caption. 5. Log into Facebook and post. This workflow combines all five steps into one automation — triggered directly by sending a Telegram message. It handles AI analysis, image creation, caption writing, and posting, removing human friction while maintaining quality and creative control. --- What this workflow does The workflow is divided into four main zones, color-coded inside the canvas: 🟩 Zone 1 – Product Image Analysis - Trigger: User sends a product image to a Telegram bot. - n8n retrieves the file path using Telegram API. - OpenAI Vision analyzes the product photo and describes color, material, and shape. - An AI agent converts this into structured data for generating ad prompts. 🟥 Zone 2 – Generate Ad Image Prompt - The AI agent creates a professional advertising prompt based on the product description and campaign (e.g., “10.10 Sale”). - The prompt is sent to the user for confirmation via Telegram before proceeding. 🟨 Zone 3 – Create Ad Image via Fal.AI - The confirmed prompt and image are sent to Fal.AI’s image generation API. - The system polls the generation status until completion. - The generated image is sent back to Telegram for user review and approval. 🟦 Zone 4 – Write Caption & Publish - The approved image is re-analyzed by AI to write a Facebook/Instagram caption. - The user confirms the text on Telegram. - Once approved, the workflow uploads the final post (image + caption) to Facebook automatically using the Graph API. --- Setup Prerequisites - n8n self-hosted or Cloud account - Telegram Bot Token (via @BotFather) - Fal.AI API key - Facebook Page Access Token with publishing permissions - OpenAI API Key for image analysis and text generation Steps 1. Create a Telegram Bot and paste its token into n8n Credentials. 2. Set up Fal.AI Credentials under HTTP Request → Authentication. 3. Connect your Facebook Page through Facebook Graph API credentials. 4. In the HTTP Request node, set: - URL: - Auth: Bearer {{ $credentials.FalAI.apiKey }} 5. Configure all LLM and Vision nodes using your OpenAI credentials. --- Node settings 🟩 Analyze Image (OpenAI Vision) --- 🟥 Set Node – Prepare Fal.AI Body --- 🟦 HTTP Request (Facebook Graph API) --- How to customize the workflow - Change AI Models: Swap Fal.AI for Flux, Veo3, or SDXL by adjusting API endpoints. - Add Channels: Extend the workflow to post on LINE OA or Instagram. - Add Approval Logic: Keep Telegram confirmation steps before every publish. - Brand Rules: Adjust AI prompt templates to enforce tone, logo, or color palette consistency. - Multi-language Posts: Add translation nodes for global campaigns. --- Troubleshooting | Problem | Cause | Solution | |----------|--------|-----------| | Telegram message not triggering | Webhook misconfigured | Reconnect Telegram Trigger | | Fal.AI API error | Invalid JSON or token | Use JSON.stringify() in Set node and check credentials | | Facebook upload fails | Missing permissions | Ensure Page Access Token has pagesmanageposts | | LLM parser error | Output not valid JSON | Add Structured Output Parser and enforce schema | --- ⚠️ Security Notes - Do NOT hardcode API keys in Set or HTTP Request nodes. - Always store credentials securely under n8n Credentials Manager. - For self-hosted setups, use .env variables for sensitive keys (OpenAI, Fal.AI, Facebook). --- 🏷️ Hashtags n8n #Automation #AIworkflow #FalAI #FacebookAPI #TelegramBot #nanobanana #NoCode #MarketingAutomation #SocialMediaAI #JaruphatJ #WorkflowTemplate #OpenAI #LLM #ProductAds #CreativeAutomation Product Image Process Step

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send Telegram messages for Channels missed calls

Every time a missed call occurs in Channels, Make will automatically send a Telegram message.

Free

Generate weekly Meta Ads report with GPT-4 insights and Slack delivery

What this workflow does - Runs automatically every Monday morning at 8 AM - Collects your Meta Ads data from the last 7 days for a given account (date range is configurable) - Formats the data, aggregating it at the campaign, ad set, and ad levels - Generates AI-driven analysis and insights on your results, providing actionable recommendations - Renders the report as a visually appealing PDF with charts and tables - Sends the report via Slack (you can also add email or WhatsApp) A sample for the

Free

Summarize sales calls and update CRM using WayinVideo and GPT-4o-mini

Description Paste any sales call recording URL into a form — this n8n workflow automatically transcribes the call using WayinVideo, extracts structured CRM data with AI, and saves a complete report directly to your shared Google Doc. No manual note-taking, no missed action items, no forgotten follow-ups. Just submit the recording and your CRM notes write themselves. Built for sales teams, digital marketing agencies, and freelancers who want to turn every client call into structured, searchable C

Free

Create or update a Wishpond lead from a new Facebook Lead Ads form submission

Every time a new Facebook Lead Ads lead is generated a new lead will be created or updated in Wishpond. Your Facebook form needs to collect at least an email address as it's a mandatory field in Wishpond.

Free

Generate images with OpenAI DALL-E via Telegram & log to Google Sheets

Workflow Description This workflow allows users to generate AI images directly from Telegram while automatically logging each request to Google Sheets for tracking. When a user sends a prompt to your Telegram bot, the workflow receives the prompt, generates an image using OpenAI, saves the prompt and generated image link to Google Sheets, and then sends the image back to the user in Telegram. ⚙️ How to Set It Up Connect your Telegram credentials by adding your bot token in both the

Free

Automated B2B lead generation: Google Places, Scrape.do & AI enrichment

Automated B2B Lead Generation: Google Places, Scrape.do & AI Enrichment This workflow is a powerful, fully automated B2B lead generation engine. It starts by finding businesses on Google Maps based on your criteria (e.g., "dentists" in "Istanbul"), assigns a quality score to each, and then uses Scrape.do to reliably access their websites. Finally, it leverages an AI agent to extract valuable contact information like emails and social media profiles. Th

Free

Track Forex Factory news releases with MyFxBook, Telegram & Google Sheets

Get Forex Factory News Release to Telegram, Google Sheets. Record News Data and Live Price from MyFxBook for Affected Currency Pairs. This n8n template demonstrates how to capture Actual Data Releases as quickly as possible for trading decisions. Use cases: 1. Get notified if the actual data release is positive or negative for the relevant currency. 2. Use the Telegram chat message about the news release as a trigger to open a trading position in MetaTrader 4. 3. Record news data and live price

Free

Monitor Google Shopping prices with Bright Data & email alerts

Monitor Google Shopping Prices with Bright Data & Email Alerts This template requires a self-hosted n8n instance to run. A comprehensive n8n automation that monitors product prices daily using Bright Data's Google Shopping dataset and sends smart email alerts when price conditions are met. --- 📋 Overview This workflow provides an automated price monitoring solution that tracks product prices from Google Shopping daily and sends intelligent email notifications. Perfect for e-commerce monitoring,

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free