by Madame AI
AI Image Remix & Design Bot for Telegram with BrowserAct & Gemini This workflow transforms your Telegram bot into an intelligent creative assistant. It can chat conversationally, fetch trending image prompts from PromptHero for inspiration, or perform a deep "remix" of any photo you upload by analyzing its composition and regenerating it with high-fidelity prompt engineering. Target Audience Digital artists, designers, content creators, and hobbyists looking for AI-assisted inspiration and image generation. How it works Traffic Control: The workflow starts with a Telegram Trigger and immediately splits traffic: new messages go one way, while interactive button clicks (like "Regenerate") go another. Intent Classification: An AI Agent analyzes text inputs to decide if the user wants to "Chat" (small talk) or "Start" a creative session (fetch inspiration). Inspiration Mode: If "Start" is detected, BrowserAct scrapes trending prompts from PromptHero and saves them to a Google Sheet. Visual Forensics: If the user uploads an image, an AI Vision Agent (using OpenRouter/Gemini) analyzes it in extreme detail (lighting, composition, subjects) and saves the description. Master Prompt Engineering: Specialized AI Agents expand these inputs (either scraped prompts or image descriptions) into massive, detailed prompts using the "Rule of Multiplication." Production: Google Gemini generates the new image, which is sent back to Telegram with interactive buttons to "Regenerate" or move to the "Next" idea. ⚠️ Complex Workflow This workflow is complex. Please proceed using the tutorial video. How to set up Configure Credentials: Connect your Telegram, Google Sheets, BrowserAct, Google Gemini, and OpenRouter accounts in n8n. Prepare BrowserAct: Ensure the Image Remix & Design Bot template is saved in your BrowserAct account. Setup Google Sheet: Create a Google Sheet with four tabs: PromptHero, Current State, UserImage, and Current Image. Connect Sheet: Open all Google Sheets nodes in the workflow and paste your spreadsheet ID. Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials. Activate: Turn on the workflow. Requirements BrowserAct* account with the *Image Remix & Design Bot** template. Telegram** account (Bot Token). Google Sheets** account. Google Gemini** account. OpenRouter** account (or compatible LLM credentials). How to customize the workflow Change Art Style: Modify the system prompt in the Generate Image agents to enforce a specific style (e.g., "Cyberpunk," "Watercolor," or "Photorealistic"). Add More Sources: Update the BrowserAct template to scrape prompts from other sites like Civitai or Midjourney feed. Switch Image Model: Replace the Gemini image generation node with Stable Diffusion or DALL-E 3 if you prefer different aesthetics. Need Help? How to Find Your BrowserAct API Key & Workflow ID How to Connect n8n to BrowserAct How to Use & Customize BrowserAct Templates Workflow Guidance and Showcase Video How To create stateful n8n Workflows | AI Image Remix Bot with n8n & BrowserAct & Telegram 🎨
by Automate With Marc
🎨 Instagram Carousel & Caption Generator on Autopilot (GPT-5 + Nano Banana + Blotato + Google Sheets) Description Watch the full step-by-step tutorial on YouTube: https://youtu.be/id22R7iBTjo Disclaimer (self-hosted requirement): This template assumes you have valid API credentials for OpenAI, Wavespeed/Nano Banana, Blotato, and Google. If using n8n Self-Hosted, ensure HTTPS access and credentials are set in your instance. How It Works Chat Trigger – Receive a topic/idea (e.g. “5 best podcast tips”). Image Prompt Generator (GPT-5) – Creates 5 prompts using the “Hook → Problem → Insight → Solution → CTA” framework. Structured Output Parser – Formats output into a JSON array. Generate Images (Nano Banana) – Converts prompts into high-quality visuals. Wait for Render – Ensures image generation completes. Fetch Rendered Image URLs – Retrieves image links. Upload to Blotato – Hosts and prepares images for posting. Collect Media URLs – Gathers all uploaded image URLs. Log to Google Sheets – Stores image URLs + timestamps for tracking. Caption Generator (GPT-5) – Writes an SEO-friendly caption. Merge Caption + Images – Combines data. Post Carousel (Blotato) – Publishes directly to Instagram. Step-by-Step Setup Instructions 1) Prerequisites n8n (Cloud or Self-Hosted) OpenAI API Key (GPT-5) Wavespeed API Key (Nano Banana) Blotato API credentials (connected to Instagram) Google Sheets OAuth credentials 2) Add Credentials in n8n OpenAI: Settings → Credentials → Add “OpenAI API” Wavespeed: HTTP Header Auth (e.g. Authorization: Bearer <API_KEY>) Blotato: Add “Blotato API” Google Sheets: Add “Google Sheets OAuth2 API” 3) Configure & Test Run with an idea like “Top 5 design hacks”. Check generated images, caption, and logged sheet entry. Confirm posting works via Blotato. 4) Optional Add a Schedule Trigger for weekly automation. Insert a Slack approval loop before posting. Customization Guide ✏️ Change design style: Modify adjectives in the Image Prompt Generator. 📑 Adjust number of slides: Change Split node loop count. 💬 Tone of captions: Edit Caption Generator’s system prompt. ⏱️ Adjust render wait time: If image generation takes longer, increase the Wait node duration from 30 seconds to 60 seconds or more. 🗂️ Log extra data: Add columns in Google Sheets for campaign or topic. 🔁 Swap posting tool: Replace Blotato with your scheduler or email node. Requirements OpenAI API key (GPT-5 or compatible) Wavespeed API key (Nano Banana) Blotato API credentials Google Sheets OAuth credentials n8n account (Cloud or Self-Hosted)
by SOLOVIEVA ANNA
Who this is for Users who frequently receive images or documents via LINE or email Teams needing automatic OCR + AI summarization Anyone who wants hands-free document processing and structured storage How it works Triggers: LINE Webhook and Gmail IMAP Trigger capture incoming messages or emails. Source Tagging: Inputs are tagged as LINE or EMAIL for later branching. File Handling: Files are uploaded to Google Drive and converted for analysis. OCR: An AI vision model extracts all readable text from the document image. AI Summarization: A text model produces a concise summary. Logging: The summary is appended to Google Sheets for record-keeping. Email Drafting: A Gmail Draft is generated containing the OCR text and summary. How to set up Connect your LINE, Gmail, OpenAI, and Google Drive/Sheets credentials. Update folder IDs, sheet names, and authentication fields as needed. Optional: customize summarization instructions. Customization ideas Add translation or classification steps Modify output format for Slack/Notion Store files in date-based Drive folders
by Marco Florez
Turn your code commits into engaging social media content automatically. This workflow monitors a GitHub repository, uses AI to write a LinkedIn post about your changes, generates a beautiful "Mac-window" style image of your code, and publishes it all to LinkedIn. How it works GitHub Trigger: Watches for new push events in your selected repository. AI Analysis: Passes the code changes to an LLM (via LangChain) to write a professional LinkedIn post and select the best code snippet. Image Generation: Creates a custom HTML view of your code (with syntax highlighting and window controls) and converts it to an image using the HCTI API. Hosting & Posting: Uploads the generated image back to GitHub for hosting, then combines the text and image to publish a live post on LinkedIn. Set up steps Configure Credentials: You will need credentials for: GitHub (OAuth2 or Access Token) LinkedIn (OAuth2) OpenRouter (or swap the model node for OpenAI/Anthropic) HCTI.io (for the HTML-to-Image conversion) Update GitHub Nodes: In the Trigger node: Set your Owner and Repository. In the File Download node: Set the same Owner and Repository. In the Upload Image node: Set the target repo where you want images stored. Update LinkedIn Node: Add your LinkedIn Person URN in the Person field.
by Shun Nakayama
Automate your Instagram growth strategy by generating and posting viral Reels using AI and Creatomate. This workflow plans content topics based on trends, generates video assets, and handles the approval and posting process—all without manual video editing. How it works Schedule Trigger: Runs every day at 9:00 AM. Topic Planning: Checks past topics from Google Sheets to avoid duplicates, then uses OpenAI (GPT-4o) to generate a new quiz-style content plan. Video Generation: Uses Creatomate to generate a video based on a template, dynamically inserting the AI-generated text and images. Approval Loop: Sends the generated video to Slack for human review. Posting: Once approved in Slack, the workflow automatically uploads the Reel to Instagram. Logging: Saves the new topic to Google Sheets and notifies Slack upon successful publication. Setup steps Configure Credentials: OpenAI: For generating content plans. Creatomate: For video rendering. Google Sheets: For tracking past topics. Slack: For approval notifications. Facebook Graph API: For Instagram publishing. Google Sheets Setup: Create a Google Sheet with columns: Question, Answer, Title, Date. Update the Get Past Topics and Save New Topic nodes with your Sheet ID. Creatomate Setup: Create a template in Creatomate or use an existing one. Update the Generate Video node with your template_id in the JSON body. Slack Setup: Create a channel for approvals. Update the Slack Approval Request and Slack Notification nodes with your Channel ID. Activate: Turn on the workflow to start automating your content pipeline!
by Rajeet Nair
Overview This workflow automates financial reconciliation across multiple data sources such as bank statements, invoices, ERP systems, and CSV uploads. It standardizes all incoming data, performs rule-based matching, enhances results with AI-powered fuzzy matching, and assigns confidence scores. High-confidence matches are auto-reconciled, while uncertain ones are flagged for human review. How It Works Data Ingestion Receives financial data via webhook from different sources. Source Detection & Routing Identifies the data type and routes it to the correct normalization flow. Data Normalization Converts all records into a unified schema with consistent fields like ID, amount, date, and description. Data Merging Combines all normalized records into a single dataset for matching. Deterministic Matching Matches records using exact field combinations such as ID, amount, and date to generate initial confidence. Match Quality Check Filters low-confidence matches for further analysis. AI Fuzzy Matching Uses AI to identify near matches based on descriptions, amount tolerance, and date proximity. Confidence Scoring Combines deterministic and AI results into a final confidence score with a detailed audit trail. Decision Routing High confidence → auto-reconciled Low confidence → flagged for human review Reporting Logs reconciliation results into Google Sheets. Notifications Sends a summary report to Slack for visibility. Setup Instructions Configure webhook to receive financial data Set matching keys and confidence thresholds Connect OpenAI for fuzzy matching Connect Google Sheets for reporting Connect Slack for notifications Ensure input data follows expected formats Test with sample financial data Activate the workflow Use Cases Bank statement vs invoice reconciliation ERP vs accounting system matching Financial audit automation Detecting missing or duplicate transactions Reducing manual reconciliation effort Requirements n8n instance with webhook support OpenAI API access Google Sheets account Slack workspace Structured financial datasets (CSV/API) Notes Deterministic matching ensures accuracy for exact matches. AI fuzzy matching improves coverage for ambiguous records. Confidence scoring provides transparency and auditability. Human review ensures control over uncertain reconciliations.
by Vuong Nguyen
How it works This workflow generates an 8-second product advertising video from a single input image. It downloads the image from Google Drive, converts it to base64 for the API request, analyzes it with Gemini (Creative Visualiser), then turns the description into a short video script/prompt. The prompt + image are sent to Veo to start a long-running video generation job. The workflow polls until a video URI is available, downloads the MP4, and uploads it back to Google Drive. Setup 1) Connect credentials used in this workflow: Google Drive + Google Gemini, and an API key for the Veo HTTP requests. 2) Set the input image file in Download ad image. 3) Set the output folder in Upload to Drive. 4) (Optional) Adjust aspectRatio, resolution, and durationSeconds in Generate Video, then execute the workflow.
by David Roberts
The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.
by Sk developer
🚀 LinkedIn Video to MP4 Automation with Google Drive & Sheets | RapidAPI Integration This n8n workflow automatically converts LinkedIn video URLs into downloadable MP4 files using the LinkedIn Video Downloader API, uploads them to Google Drive with public access, and logs both the original URL and Google Drive link into Google Sheets. It leverages the LinkedIn Video Downloader service for fast and secure video extraction. 📝 Node Explanations (Single-Line) 1️⃣ On form submission → Captures LinkedIn video URL from the user via a web form. 2️⃣ HTTP Request → Calls LinkedIn Video Downloader to fetch downloadable MP4 links. 3️⃣ If → Checks for API errors and routes workflow accordingly. 4️⃣ Download mp4 → Downloads the MP4 video file from the API response URL. 5️⃣ Upload To Google Drive → Uploads the downloaded MP4 file to Google Drive. 6️⃣ Google Drive Set Permission → Makes the uploaded file publicly accessible. 7️⃣ Google Sheets → Logs successful conversions with LinkedIn URL and sharable Drive link. 8️⃣ Wait → Delays execution before logging failed attempts. 9️⃣ Google Sheets Append Row → Logs failed video downloads with N/A Drive link. 📄 Google Sheets Columns URL** → Original LinkedIn video URL entered in the form. Drive_URL** → Publicly sharable Google Drive link to the converted MP4 file. (For failed downloads) → Drive_URL will display N/A. 💡 Use Case Automate LinkedIn video downloading and sharing using LinkedIn Video Downloader for social media managers, marketers, and content creators without manual file handling. ✅ Benefits Time-saving* (auto-download & upload), *Centralized tracking* in Sheets, *Easy sharing* via Drive links, and *Error logging* for failed downloads—all powered by *RapidAPI LinkedIn Video Downloader**.
by Dr. Firas
💥 Generate AI Music & Publish to YouTube Automatically with Blotato This workflow automatically generates AI music, creates a thumbnail, converts everything into a video, and publishes it directly to YouTube — fully automated. Perfect for building faceless YouTube music channels, AI content automation, or passive content generation pipelines. Who is this for? This template is ideal for: YouTube creators building AI music channels Content creators creating faceless videos Automation enthusiasts using n8n for content pipelines Agencies generating bulk YouTube content Anyone wanting to automate music creation and publishing Whether you're creating lofi music, ambient tracks, meditation sounds, or background music, this workflow removes manual work entirely. What problem is this workflow solving? Creating AI music videos typically involves multiple manual steps: Generating music Creating thumbnails Converting audio into video Uploading to YouTube Writing titles and metadata This process is time-consuming and repetitive. This workflow automates everything into a single end-to-end pipeline, allowing you to: Generate unlimited AI music Automatically create thumbnails Convert audio into video Publish directly to YouTube What this workflow does This workflow performs the following steps: User submits a music request via form AI generates an optimized music prompt ElevenLabs generates AI music AI generates thumbnail prompt Atlas Cloud generates thumbnail image Cloudinary uploads generated assets Shotstack creates video (image + audio) Blotato uploads video to YouTube automatically SEO-optimized YouTube title is generated automatically Final result: AI-generated music video automatically published to YouTube The entire process runs fully automated. Setup To use this workflow, configure the following credentials: Required APIs OpenAI API Key — Prompt generation Elevenlabs** API Key — Music generation AtlasCloud** API Key — Thumbnail generation Cloudinary Account — Media hosting Shotstack API Key — Video creation Blotato** API Key — YouTube publishing Community Node Requirement This workflow uses the Blotato community node. 🎥 Watch This Tutorial 👋 Need help or want to customize this? 📩 Contact: LinkedIn 📺 YouTube: @DRFIRASS 🚀 Workshops: Mes Ateliers n8n Need help customizing? Contact me for consulting and support : Linkedin / Youtube / 🚀 Mes Ateliers n8n
by Dmitry Mikheev
Telegram Rich Output Helper Workflow Who is this for? Builders of Telegram chat‑bots, AI assistants, or notification services who already run n8n and need to convert long, mixed‑media answers from an LLM (or any upstream source) into Telegram‑friendly messages. Prerequisites A Telegram bot created with @BotFather. The bot’s HTTP API token saved as a Telegram API credential in n8n. n8n ≥ 1.0 with the built‑in Telegram node still installed. A parent workflow that calls this one via Execute Workflow and passes: chatId — the destination chat ID (integer). output — a string that can contain plain text and HTTP links to images, audio, or video. What the workflow does Extract Links – A JavaScript Code node scans output, deduplicates URLs, and classifies each by file extension. Link Path If no media links exist, the text path is used. Otherwise, each link is routed through a Switch node that triggers the correct Telegram call (sendPhoto, sendAudio, sendVideo) so users get inline previews or players. Text Path An IF node checks whether the remaining text exceeds Telegram’s 1 000‑character limit. When it does, a Code node slices the text at line boundaries; SplitInBatches then sends the chunks sequentially so nothing is lost. All branches converge, keeping the whole exchange inside one execution. Customisation tips Adjust the character limit** – edit the first expression in “If text too long”. Filter/enrich links** – extend the regex or add MIME checks before dispatch. Captions & keyboards** – populate additionalFields in the three “Send back” nodes. Throughput vs. order* – tweak the batch size in both *SplitInBatches** nodes. With this template in place, your users receive the complete message, playable media, and zero manual formatting – all within Telegram’s API limits.
by NanaB
Description This n8n workflow automates the entire process of creating and publishing AI-generated videos, triggered by a simple message from a Telegram bot (YTAdmin). It transforms a text prompt into a structured video with scenes, visuals, and voiceover, stores assets in MongoDB, renders the final output using Creatomate, and uploads the video to YouTube. Throughout the process, YTAdmin receives real-time updates on the workflow’s progress. This is ideal for content creators, marketers, or businesses looking to scale video production using automation and AI. You can see a video demonstrating this template in action here: https://www.youtube.com/watch?v=EjI-ChpJ4xA&t=200s How it Works Trigger: Message from YTAdmin (Telegram Bot) The flow starts when YTAdmin sends a content prompt. Generate Structured Content A Mistral language model processes the input and outputs structured content, typically broken into scenes. Split & Process Content into Scenes The content is split into categorized parts for scene generation. Generate Media Assets For each scene: Images: Generated using OpenAI’s image model. Voiceovers: Created using OpenAI’s text-to-speech. Audio files are encoded and stored in MongoDB. Scene Composition Assets are grouped into coherent scenes. Render with Creatomate A complete payload is generated and sent to the Creatomate rendering API to produce the video. Progress messages are sent to YTAdmin. The flow pauses briefly to avoid rate limits. Render Callback Once Creatomate completes rendering, it sends a callback to the flow. If the render fails, an error message is sent to YTAdmin. If the render succeeds, the flow proceeds to post-processing. Generate Title & Description A second Mistral prompt generates a compelling title and description for YouTube. Upload to YouTube The rendered video is retrieved from Creatomate. It’s uploaded to YouTube with the AI-generated metadata. Final Update A success message is sent to YTAdmin, confirming upload completion. Set Up Steps (Approx. 10–15 Minutes)Step 1: Set Up YTAdmin Bot Create a Telegram bot via BotFather and get your API token. Add this token in n8n's Telegram credentials and link to the "Receive Message from YTAdmin" trigger. Step 2: Connect Your AI Providers Mistral: Add your API key under HTTP Request or AI Model nodes. OpenAI: Create an account at platform.openai.com and obtain an API key. Use it for both image generation and voiceover synthesis. Step 3: Configure Audio File Storage with MongoDB via Custom API Receives the Base64 encoded audio data sent in the request body. Connects to the configured MongoDB instance (connection details are managed securely within the API- code below). Uses the MongoDB driver and GridFS to store the audio data. Returns the unique _id (ObjectId) of the stored file in GridFS as a response. This _id is crucial as it will be used in subsequent steps to generate the download URL for the audio file. My API code can be found here for reference: https://github.com/nanabrownsnr/YTAutomation.git Step 4: Set Up Creatomate Create a Creatomate account, define your video templates, and retrieve your API key. Configure the HTTP request node to match your Creatomate payload requirements. Step 5: Connect YouTube In n8n, add OAuth2 credentials for your YouTube account. Make sure your Google Cloud project has YouTube Data API enabled. Step 6: Deploy and Test Send a message to YTAdmin and monitor the flow in n8n. Verify that content is generated, media is created, and the final video is rendered and uploaded. Customization Options Change the AI Prompts Modify the generation prompts to adjust tone, voice, or content type (e.g., news recaps, product videos, educational summaries). Switch Messaging Platform Replace Telegram (YTAdmin) with Slack, Discord, or WhatsApp by swapping out the trigger and response nodes. Add Subtitles or Effects Integrate Whisper or another speech-to-text tool to generate subtitles. Add overlay or transition effects in the Creatomate video payload. Use Local File Storage Instead of MongoDB Swap out MongoDB upload http nodes with filesystem or S3-compatible storage. Repurpose for Other Platforms Swap YouTube upload with TikTok, Instagram, or Vimeo endpoints for broader publishing. **Need Help or Want to Customize This Workflow? If you'd like assistance setting this up or adapting it for a different use case, feel free to reach out to me at nanabrownsnr@gmail.com. I'm happy to help!**