# templates

name: Cryptocurrency Volume/MCap Screener - Automated Trading Alerts to Discord
author_name: Malik Hashir
author_username: malikx
categories: []
created_at: 2025-10-31T19:01:24.212Z
updated_at: 2025-10-31T19:01:24.212Z
url: https://n8n.io/workflows/10400
scraped_at: 2025-11-25 18:05:05
description:
  Purpose & Audience
  This n8n workflow template is designed for cryptocurrency traders, investors, and market analysts who want to automate the process of detecting unusual trading activity across 1,250+ cryptocurrencies. By continuously monitoring volume-to-market-cap ratios and price movements, the workflow delivers real-time alerts directly to your Discord server—helping you catch potential breakouts, pump schemes, or high-impact market events before they become mainstream news.

  What It Does
  Monitors 1,250+ cryptocurrencies from CoinGecko every 4 hours for unusual trading patterns
  Calculates volume-to-market-cap ratios to identify coins with abnormally high trading activity (&gt;30% ratio or &gt;$100M volume with significant price movement)
  Ranks and filters the top volume alerts based on trading intensity
  Sends beautifully formatted Discord embeds with coin metrics, price changes, market cap, and direct CoinGecko links
  Provides context with educational information about what volume/MCap ratios mean and trading warnings

  Who Is It For
  Day traders and scalpers seeking early signals for high-volatility opportunities
  Market analysts who want automated surveillance of unusual market activity across hundreds of coins
  Discord community managers looking to provide valuable trading insights to their members
  Anyone interested in catching potential pumps, breakouts, or news-driven price movements before the crowd

  Setup once and let it run 24/7. The workflow automatically scans the market every 4 hours and only sends alerts when something significant is detected. Customize the alert thresholds, add more coins, or adjust the schedule to fit your trading style. No coding required—just connect your CoinGecko API and Discord webhook, and you're ready to catch the next big move!

  How to Set Up
  Obtain a free CoinGecko API key and create a Discord webhook for your server
  Import the workflow and add your API credentials
  Customize alert thresholds and update frequency to match your trading preferences
  That's it—receive real-time volume alerts for potential trading opportunities automatically

nodes_used:
  ["n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.if","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE72XTY8bNwyG/4qh8zAQJUqifCkCtEV6SFG0RS7BHvRBbYyu7a1nNuh24f9e2Pmws56p1y7Qm+HhvPOAIl9ST2opQ1LzJ7VY9UNaFfmpqrkKvjlPRaJgo+gl+WKdtQ2dq85gSBZToIzZmyzJ6mJDIBMppBSqhKK2nVqtq/Rq/v5JLfaSgVLL1YPVOQKhYUgRBWyNFEmHhr6qTq3SUtRc/ShD+TD7Jd3KzKlODY/3u39XvIK9LOTUy6sPw3D/q/z5IP2gOnW/7hfDYr1S8/eAwevOOH/Tqfu0SUsZZNOr+dP2k9Q72fT7SHqF2+4zoK+GdbQamJCBavDAwVhI2pScXPWujQNeywfk6RLAQpR0yBUcJQfUdASOkkALWwzeNorjgP5qQsN8CWGsEV20EchzBSquAmMkIHIoHLWv2YwShqsJEc0lhLpYh6kKSGsEVEwGlpzBhmwSZ0x+4pD5WkLWFxVhMC05g+CdOKBYGLKPDqKupeRYYopy4Hsrm1vBSbLl7vFzJvTcwXko+8p8hXJGF4++gPO+AfnaIFYOQLn4kEvSjd0B6vUq3T3+LbN367uHpcxel2HxcTE8TmOWdX1OGazvwJ492QOi9SwUNENgx0BGV+AWBXTTSBQw0Dfust4s0zD7ftGX9abO3krfp39L5CmhCaYDPOsvB0ARW0tuDbKxBagkAua0+5WdbZUyh3IA/G1YlD8eZz+vB5mE6vcxn0OOk2dY7xrD+pNDVmW9GmQ1qLlSz1EPNWgxGVcrQXMtAQkjMLEB9NGiJe9jlVFUczkrRrNvYn3ihC9jJRZxhXetrCtQqhZywgqFEWvJkVrgUVZ7Bas1PGraL0MVtMFHDiDZZSDbEiSbDDRqrbG1lOx4BdDlqEzcgaMrSbOu0blkIRovQEYcRKIAaAzWnEqKiUZJp0f1JKnd2RGddtILjz+gNNM0lJQCUJUGjGLAcWXmbHKRPEo6PRKnSBFNBy5cCdqsIcOhQCjeAtVkISFZYFt1tKFQLmYUdHoyToF65v8A6nPWjRvDbvMDci1DzsgQkR27Wkts4w0V/3+j4lx1aY2hGapAxjWIFD0UqZYKYtPHnvrDR9k8zszszfph00/Dlg9SH+7k983i9lY2z4ndrgriWd/Ho+nJXAVjJCimVqBKAThhgOBCNMFzI3OU0Tepn72+k83QfzfJuGinLvqScXnkRcy1URMQExEoS4CcnYbmIhrTxKRybPGy+jokP8HNhvWX6Xn5XrQ3p/Ozk45yiD7V5HKGZg0DZfIQQylQnM6SKKPXcbQqp2f6dFX63WwnfWFR3nS75yspO519+OftbP6klmmxk37/tL8UvWhH2r/SqcWqyl9qrrc3N9vum0vHmOzzfXBU5LjCjkRuuoPO2f3oHJ27Ao9OVPwVKniiEq5QMScqfIWK/aTyrfGMyYxeJp/nuBsL9xfGhwvj+cJ4d65GJiprLCsvtJ3R70w22NiHRj13RHa7/QcTNa9aLxEAAA==


name: AI-Powered Content Analysis with Decodo Scraping & GPT-4o Insights
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-11-01T17:23:20.342Z
updated_at: 2025-11-01T17:23:20.342Z
url: https://n8n.io/workflows/10413
scraped_at: 2025-11-25 18:05:05
description:
  This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

  AI-Powered Content Analysis System

  Elevate your content quality with this AI-powered Content Analysis System!  
  This workflow automatically evaluates website content using advanced scraping and AI analysis, providing comprehensive SEO insights, readability scores, and actionable improvement recommendations. Perfect for content teams ensuring optimal performance and engagement across digital properties.

  What This Template Does
  Triggers via form submission for on-demand content analysis requests.  
  Checks previous analyses to prevent duplicate processing.  
  Scrapes target URLs using Decodo for comprehensive content extraction.  
  Uses AI to evaluate content quality, SEO effectiveness, and readability.  
  Saves analysis results to Google Sheets for historical tracking.  
  Generates professional Google Docs reports with actionable insights.  
  Sends email notifications with formatted analysis summaries.  
  Alerts teams via Slack for both normal and urgent findings.  
  Creates remediation plans and Trello tasks for low-quality content.

  Key Benefits
  Automated content quality assessment with AI-powered insights  
  Prevents duplicate analyses to optimize resource usage  
  Comprehensive SEO and readability scoring for data-driven decisions  
  Professional reporting with Google Docs and email integration  
  Immediate team alerts for urgent content improvements  
  Historical tracking and trend analysis capabilities  

  Features
  Form-based trigger for easy content analysis requests  
  Duplicate detection and prevention system  
  AI-powered content evaluation using GPT-4o  
  Real-time web scraping with Decodo integration  
  Automated Google Docs report generation  
  Multi-channel notifications (Slack, Gmail)  
  Quality threshold monitoring and alerting  
  Remediation plan generation for low-quality content  
  Trello integration for task management  
  Historical analysis database in Google Sheets  

  Requirements
  OpenAI API credentials for AI analysis  
  Decodo API credentials for web scraping  
  Google Sheets OAuth2 credentials with edit access  
  Google Docs OAuth2 credentials for report generation  
  Gmail OAuth2 credentials for email notifications  
  Slack Bot Token with chat:write permission  
  Trello credentials (optional for task management)  
  Environment variables for configuration settings  

  Target Audience
  Content marketing and strategy teams  
  SEO specialists and digital marketers  
  Content quality assurance teams  
  Digital agencies managing multiple clients  
  Website owners and publishers  
  Content operations managers  

  Step-by-Step Setup Instructions
  Connect OpenAI credentials for AI content analysis capabilities  
  Set up Decodo API credentials for web scraping functionality  
  Configure Google Sheets with required analysis headers  
  Add Google Docs credentials for automated report generation  
  Set up Gmail and Slack credentials for notifications  
  Optional: Configure Trello integration for task management  
  Customize the analysis form with your industry and focus areas  
  Test with sample URLs to verify all integrations and data flow  
  Deploy for ongoing content quality monitoring and optimization  

  Pro Tip: Use coupon code "YARON" for free Decodo credits to enhance your content analysis capabilities!

  This workflow ensures your content maintains high quality standards with automated analysis, professional reporting, and immediate improvement alerts!

nodes_used:
  ["n8n-nodes-base.googleSheets","n8n-nodes-base.function","n8n-nodes-base.formTrigger","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.outputParserStructured","@decodo/n8n-nodes-decodo.decodoTool","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.if","n8n-nodes-base.googleSheets","n8n-nodes-base.slack","n8n-nodes-base.gmail","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.noOp","n8n-nodes-base.stickyNote","n8n-nodes-base.aggregate","n8n-nodes-base.googleDocs","n8n-nodes-base.googleDocs","n8n-nodes-base.trello","n8n-nodes-base.slack","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 7944 characters]


name: Automated Daily Financial Analysis from Loyverse POS with Google Sheets & Email
author_name: Nik B.
author_username: nikkapoo
categories: []
created_at: 2025-11-01T19:27:12.342Z
updated_at: 2025-11-01T19:27:12.342Z
url: https://n8n.io/workflows/10420
scraped_at: 2025-11-25 18:05:05
description:
  Automatically fetches daily sales, shifts, and receipts from Loyverse. Calculates gross profit, net operating profit, other key metrics, saves them to a Google Sheet and sends out a daily report via email.

  Who’s it for
  This template is for any business owner, manager, or analyst using Loyverse POS who needs more advanced financial reporting. If you're a restaurant, bar, or retail owner who wants to automatically track daily net profit, compare sales to historical averages, and build a custom financial dashboard in Google Sheets, this workflow is for you.

  How it works / What it does
  This workflow runs automatically on a daily schedule. It fetches all sales data and receipts from your Loyverse account for the previous business day, defined by your custom shift times (even past midnight). 
  A powerful Code node then processes all the data to calculate the metrics that Loyverse either doesn't provide at all, or only spreads out across several separate reports instead of in one consolidated place. 

  Already set up are metrics like...
  -Total Revenue, Gross Profit, and Net Operating Profit
  Cash handling differences (over/under)
  Average spend per receipt (ATV)
  30-day rolling Net Operating Profit (NOP)
  Performance vs. your historical weekday average

  Finally, it appends the single, calculated row of daily metrics to a Google Sheet and sends an easily customizable summary report to your email.

  How to set up
  This workflow includes detailed Sticky Notes to guide you through the setup process.

  Because every business has a unique POS configuration (different POS devices, categories, and payment types), you'll need to set up a few things manually before executing the workflow. I've tried to make this as easy as possible to follow, and the entire setup should only take about 15 minutes.

  Preparations & Credential setup
  Subscribe to "Integrations" Add-on in Loyverse ($9 / month) to gain API access.
  Create an Access token in Loyverse
  Create Credentials: In your n8n instance, create credentials for Loyverse (use "Generic" &gt; "Bearer Auth"), Google Sheets (OAuth2), and your Email (SMTP or other).

  Make a copy of a prep-configured Google Spreadsheet
  (Link in the second sticky note inside the workflow).

  Fill MASTER CONFIG: 
  Open the MASTER CONFIG node. Follow the comments inside to add your Google Sheet ID, Sheet Names, business hours, timezone, and Loyverse IDs (for POS devices, payment types, and categories).

  Configure Google Sheet Nodes

  Configure Read Historical Data: Open this node. Follow the instructions in the nearby Sticky Note to paste the expressions for your Document ID and Sheet Name.
  Configure Save Product List: Open this node. Paste in the expressions for Document ID and Sheet Name. The column mapper will load; map your sheet columns (e.g., item_name) to the data on the left (e.g., {{ $json.item_name }}).
  Configure Save Latest Sales Data: Open this node. Paste in the expressions for Document ID and Sheet Name. Save and run the workflow. After that, the column mapper will load. This is the most important step: map your sheet's column names (e.g., "Total Revenue") to the calculated metrics from the Calculate All Metrics node (e.g., {{ $json.totalGrossRevenue }}).

  Activate the workflow. 🫡

  Requirements
  Loyverse Integrations Subscription
  Loyverse Access Token
  Credentials for Loyverse (Bearer Auth)
  Credentials for Google Sheets (OAuth2)
  Credentials for Email/SMTP sender

  How to customize the workflow
  This template is designed to be highly flexible.

  Central Configuration:
  Almost all customization (POS devices, categories, payment types, sheet names) is done in the MASTER CONFIG node. You don't need to dig through other nodes.

  Add/Remove Metrics:
  The Calculate All Metrics node has additional metrics already set up, just add the relevant collumns to the SalesData sheet or even add your own calculations to the node. Any new metric you add (e.g., metrics.myNewMetric = 123) will be available to map in the Save Latest Sales Data node.

  Email Body:
  You can easily edit the Send email node to change the text or add new metrics from the Calculate All Metrics node.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.emailSend","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets"]

workflow_json_compressed:
  [encoded data, 10544 characters]


name: Analyze Facebook Ads & Send Insights to Google Sheets with Gemini AI
author_name: JJ Tham
author_username: jj-tham
categories: []
created_at: 2025-11-02T05:25:25.505Z
updated_at: 2025-11-02T05:25:25.505Z
url: https://n8n.io/workflows/10427
scraped_at: 2025-11-25 18:05:05
description:
  Stop manually digging through Meta Ads data and spending hours trying to connect the dots.

  This workflow turns n8n into an AI-powered media buyer that automatically analyzes your ad performance, categorizes your creatives, and delivers insights directly into a Google Sheet.

  ➡️ Watch the full 4-part setup and tutorial on YouTube:
  https://youtu.be/hxQshcD3e1Y

  About This 4-Part Automation Series

  As a media buyer, I built this system to automate the heavy lifting of analyzing ad data and brainstorming new creative ideas.
  This template is the first foundational part of that larger system.

  ✅ Part 1 (This Template): Pulling Ad Data & Getting Quick Insights
  Automatically pulls data into a Google Sheet and uses an LLM to categorize ad performance.

  ✅ Part 2: Finding the Source Files for the Best Ads
  Fetches the image or video files for top-performing ads.

  ✅ Part 3: Using AI to Understand Why an Ad Works
  Sends your best ads to Google Gemini for structured notes on hooks, transcripts, and visuals.

  ✅ Part 4: Getting the AI to Suggest New Creative Ideas
  Uses all the insights to generate fresh ad concepts, scripts, and creative briefs.

  What This Template (Part 1) Does

  Secure Token Management
  Automatically retrieves and refreshes your Facebook long-term access token.

  Fetch Ad Data
  Pulls the last 28 days of ad-level performance data from your Facebook Ads account.

  Process & Clean
  Parses raw data, standardizes key e-commerce metrics (like ROAS), and filters for sales-focused campaigns.

  Benchmark Calculation
  Aggregates all data to create an overall performance benchmark (e.g., average Cost Per Purchase).

  AI Analysis
  A “Senior Media Buyer” AI persona evaluates each ad against the benchmark and categorizes it as “HELL YES,” “YES,” or “MAYBE,” with justifications.

  Output to Google Sheets
  Updates your Google Sheet with both raw performance data and AI-generated insights.

  Who Is It For?

  E-commerce store owners

  Digital marketing agencies

  Facebook Ads media buyers

  How to Set It Up

  Credentials

  Connect your Google Gemini and Google Sheets accounts in the respective nodes.

  The template uses NocoDB for token management. Configure the “Getting Long-Term Token” and “Updating Token” nodes — or replace them with your preferred credential storage method.

  Update Your IDs

  In the “Getting Data For the Past 28 Days…” HTTP Request node, replace act_XXXXXX in the URL with your Facebook Ad Account ID.

  In both Google Sheets nodes (“Sending Raw Data…” and “Updating Ad Insights…”), update the Document ID with your target Google Sheet’s ID.

  Run the Workflow

  Click “Test workflow” to run your first AI-powered analysis!

  Tools Used

  n8n

  Facebook for Developers

  Google AI Studio (Gemini)

  NocoDB (or any credential database of your choice)

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.splitOut","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.nocoDb","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.nocoDb","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.sort","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.filter","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.chainLlm","n8n-nodes-base.merge","n8n-nodes-base.stickyNote","n8n-nodes-base.googleSheets","n8n-nodes-base.if","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.aggregate","n8n-nodes-base.set"]

workflow_json_compressed:
  [encoded data, 16912 characters]


name: Generate LinkedIn Posts with Mistral AI Using 7 Dynamic Content Templates
author_name: DIGITAL BIZ TECH
author_username: dbt
categories: []
created_at: 2025-11-03T07:21:43.502Z
updated_at: 2025-11-03T07:21:43.502Z
url: https://n8n.io/workflows/10450
scraped_at: 2025-11-25 18:05:05
description:
  AI-Powered LinkedIn Post Generator Workflow

  Overview
  This workflow is a two-part intelligent content creation system built in n8n, designed to generate professional and on-brand LinkedIn posts.

  It combines a conversational frontend agent that interacts naturally with users and a backend post generation engine powered by structured templates and Mistral Cloud AI models.

  Workflow Structure
  Frontend:** Conversational “LinkedIn Agent” that guides the user.
  Backend:** “Post Generator” engine that produces final, high-quality content using dynamic templates.

  LinkedIn Agent (Frontend Flow)

  Trigger:** When chat message received
    Starts the workflow whenever a user sends a message to the chatbot or embedded interface.

  Agent:** LinkedIn Agent
    Welcomes the user and lists 7 available post templates:
      Educational  
      Promotional  
      Discussion  
      Case Study & Testimonial  
      News  
      Personal  
      General  
    Prompts the user to select a template number.
    Asks for a topic after the user’s choice.
    Sends both template number and topic to the backend using a Tool call.

  Memory:** Simple Memory1  
    Stores the last 10 messages to maintain conversational context.

  LLM Model:** Mistral Cloud Chat Model1  
    Used for reasoning, conversational responses, and user guidance.

  Tool Used:** template  
    Invokes another trigger in the same workflow: When Executed by Another Workflow.
    Passes the user’s chosen template and topic to the backend.

  Post Generation Engine (Backend Flow)

  Trigger:** When Executed by Another Workflow  
    Receives payload from the template tool (template ID + topic).

  Router Node:** Switch between templates  
    Directs flow to the correct post template logic based on user’s choice (1–7).  
    Example:  
      1 → Knowledge & Educational  
      2 → Promotion  
      3 → Discussion  
      4 → Case Study & Testimonial  
      etc.

  Prompt Template Nodes:**  
    Each Set node defines a large, structured prompt containing:
    Specific tone, audience, and purpose rules  
    Example hooks and CTAs  
    Layout and line formatting instructions  
    “FORBIDDEN PHRASES” list (e.g., no “game-changer”, “revolutionary”)

  Expert Writer Agent:** post generator  
    A specialized agent node that receives the selected prompt template.  
    Generates the final LinkedIn post text using strict formatting and tone rules.  
    Model: Mistral Cloud Chat Model

  Output:**  
    The generated post text is sent back to the template tool and displayed to the user in chat.

  Integrations Used
  | Service | Purpose | Credential |
  |----------|----------|-------------|
  | Mistral Cloud | LLM & post generation | Mistral Cloud account dbt |
  | n8n Agent Framework | Multi-agent orchestration | Native |
  | Chat UI / Webhook | Frontend interaction | Custom embedded UI or webhook trigger |

  Agent System Prompt Summary
  &gt; “You are an intelligent LinkedIn assistant that helps users craft posts.  
  List available templates, guide them to select one, and collect a topic.  
  Then use the provided template tool to request the backend writer to generate a final post.”

  Backend writer’s system prompt:  
  &gt; “You are an expert LinkedIn marketing leader.  
  Generate structured, professional posts for AI/automation topics.  
  Avoid hype, buzzwords, and clichés.  
  Keep sentences short, tone confident, and use strong openers.”

  Key Features
  Dual-agent architecture (Frontend Assistant + Backend Writer)  
  7 dynamic content templates for flexibility  
  Conversational chat interface for ease of use  
  Strict brand tone enforcement with style run Fully automated generation and return of final post in chat

  Summary
  &gt; A modular, agent-based n8n workflow for automated LinkedIn post creation, featuring conversational input, structured templates, and AI-generated output powered by Mistral Cloud.

  Perfect for content teams, social media managers, and AI automation startups.

  Need Help or More Workflows?
  Want to customize this workflow for your business.
  Our team at Digital Biz Tech can tailor it precisely to your use case — from automation logic to AI-powered content engines.

  We can help you set it up for free — from connecting credentials to deploying it live.

  Contact: shilpa.raju@digitalbiz.tech  
  Website: https://www.digitalbiz.tech  
  LinkedIn: https://www.linkedin.com/company/digital-biz-tech/  
  You can also DM us on LinkedIn for any help.

nodes_used:
  ["@n8n/n8n-nodes-langchain.lmChatMistralCloud","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.toolThink","@n8n/n8n-nodes-langchain.toolThink","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.toolWorkflow","@n8n/n8n-nodes-langchain.chatTrigger","@n8n/n8n-nodes-langchain.memoryBufferWindow","n8n-nodes-base.executeWorkflowTrigger","@n8n/n8n-nodes-langchain.lmChatMistralCloud","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.switch","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 21072 characters]


name: Generate & Publish AI Faceless Videos to YouTube Shorts using Sora 2
author_name: Sulieman Said
author_username: sulieman-said
categories: []
created_at: 2025-11-03T09:13:00.747Z
updated_at: 2025-11-03T09:13:00.747Z
url: https://n8n.io/workflows/10455
scraped_at: 2025-11-25 18:05:05
description:
  How it Works  
  This workflow lets you auto-generate cinematic faceless YouTube Shorts — completely on autopilot.  
  It uses a custom automation setup to create short-form AI videos much cheaper than the standard Sora 2 video generation process.  
  Perfect for running a fully automated Shorts or Reels channel that posts new videos daily — without showing your face or editing manually.  

  Workflow Overview  
  Schedule Trigger  
     Automatically runs at your chosen times (e.g., twice per day).  

  AI Prompt Generator  
     Creates detailed, creative video ideas based on your chosen niche.  
     You only need to adjust the system prompt (e.g., Travel Facts, Tech Visuals, Dream Loops, Mini-Facts, Nature Illusions).  
     Output includes:  
       Video Prompt (for Sora 2)  
       AI-Generated Title & Description  
       Social Caption with hashtags  

  AI Video Generation  
     Generates 9:16 vertical short-form videos optimized for YouTube Shorts, TikTok, and Instagram Reels.  
     Runs via a cost-efficient automation layer, offering cinematic results at a fraction of Sora 2’s standard cost.  

  Publishing Automation  
     Uploads automatically to YouTube Shorts (title, description, and hashtags included).  
     Can also post to Telegram or Instagram Reels with a small modification.  

  Why Use This Workflow?  

  🎬 Faceless Content Made Easy  
    Ideal for automated channels that post AI-generated visuals and storytelling — no filming or voice needed.  

  💸 Cheaper Than Sora 2’s Direct API  
    Uses a custom route that drastically reduces costs while keeping near-cinematic quality.  

  ⚙️ Full Automation  
    From idea → video → upload — all handled automatically.  
    You decide the posting frequency (e.g., 1–5 Shorts per day).  

  🌍 Multi-Niche Ready  
    Works for any theme — facts, surreal visuals, art loops, mini documentaries, motivational clips, and more.  

  🚀 Cross-Platform Scaling  
    Native support for YouTube & Telegram.  
    Optional integrations for Instagram Reels or TikTok uploads.  

  Setup Steps  

  API Keys & Credentials  
     Sora 2 access (or connected API key)  
     YouTube API credentials  
     (Optional) Telegram or Instagram API  

  Define Schedule  
     Choose how many videos to post per day.  

  Adjust Prompts  
     Customize the AI agent prompt to your niche.  

  Launch & Scale  
     Watch your faceless channel grow while everything runs automatically.  

  Tips & Notes  

  Start with one niche to test engagement, then duplicate the workflow for more channels.  
  Add subtitles or trending sound layers for higher virality.  
  The workflow is built for long-term, hands-off scalability — ideal for faceless automation entrepreneurs.  

  ⚡ Summary  
  Create an AI-powered faceless Shorts machine that works 24/7.  
  Just pick your niche, adjust the prompt, and let automation handle video generation, upload, and growth — smarter and cheaper than doing it manually with Sora 2.  

  📩 For custom builds or support:  
  suliemansaid.business@gmail.com

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.youTube","n8n-nodes-base.telegram","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE6WXW2/jNhCF/4qgZ03Ky/DmpwYpsMhD26C73aJYBMWQHDrC2pJry9gugvz3Qk4aO77k1ldrOPx4dHQ4vq3nPFA9ua3bbjVQl/gy15MaRVGB0ZgoRdRchLMqaKvRhCwK2WDQe5cRc6YsPTskY3Qg9K4oZq6beuD5YkYDXyw5rz7ysF5c9PPFjAfO9WRYrvmuqbs+86qefLmt23FXMsHElA34HAQgkoZoA4J0TvpsbdGIdVN3NOd6Un8c2vT1e/VLP3AF1adlO53yctz4+2J83PkONv0h0orPVpvqsbhu6kW/aoe27+rJF5BBiQaMs9dNvaAlzXng5WpUJPXdwN1QT+r67r7tZ16uNsvkXfPA7CQ7QQHBcJCA0RBEDAIiWoUyWuel2mFON5zXM34Z96FwW/eE2VnRyKD2kQ8wz9QjKBWvdXQZXKZRXEkQ2VrIpCJyxJKEOyXu+WV1tezni+Ed8iqLDaB/n7pKRql0EqBCtoBUFARTCjiH2UWXkWTaQp9fVufTsecj5Y+d737Yos6om6YbarszeqjbRfVaNdKKl0RVO6K6aDAWE4Gss4BcLHiBBAoTOtRCCRZbvg99P51x9YHnbddWFzc0VD/3mWev4J3Nx/L7Bvfr9+EtNtoeyHxaWilyZIsKrCUFGMiCjyqBsIKSc0kVF0754XObua/Ory7f7geD2IA/EPl1dohMQRgKELJEQJsE+EIGlJYRY0ohG78jN3e8pIHvcU+i3gzD4jf+e82rfUOgF68xBO4YQpOL2lMCjooATSCIqUhIrGQqFLQsO4R/UDtUpV9Wv3GXn0mDb9Tusyn8j+0bx5u+/7rJbaEtas0IItsIGGMAb6OGFEgrjjF6K+sXQ2MruM1WkMgGjB37eVkgJkTQwWjKJZkgzPY4Fzecvj6cpfo40LBevV110UjEt0jukzekSEPGKABTThC1siASFhWCRoX5lJGv1nHWrm7abvpmJzv/P3KN2KeiSgbUaXxPOYPnqEF4iQFtIqIdm/y+mPWUq6Gv/uzXn9aRT8J+f3y+QyqlwEaLF0Xd4hmXfYq2QIzOAKbRRkUiBKmtl7mUlHcvYu42cJ94xtMlzU/SDduCfTwp1Z6VUfusE0pg6Q0gugLelwgoTCJC8pnzy1be2sSUpIUTGaLwCRBjBJJFQEAjhPQ2eyy7Nlmu07Becq5+XQ+L9VBd0XK1+4mejOp+U39fvm2z9/lap14V12f68QBJEmWRLGASDOP1AhQNQnbKGWKVZNl5KT/137qNa94ZfmNOy8Oh6NnsS9FFJQQoCmFMZ4IQWYPULjpRsGCRW8D7OyQtmYaNOsf52vIUSyvxGqzdO5qEsxSsA5lLAkzOjMNZgVIUGp1icT69OPjI9wyW70mI62Z83nEa22zKH6eayW09p3bs/eV2Mzo/c8dtCpu67TL/U0/E3fX1XbMn+bF2p1xz0K7Zrjl5iR1l2NvhGMTpPNnv2DyueSYij2Ls6XYM423n2q8+1vHZ+/Fo14P/C8faHo69R3sd2/1YuxMf5nEZT020k9ua2r/GUFzTlB9+e5b5oPxAi1ORfL/Xbuy+vNWT6qc73d39C2uc76sVDwAA


name: Build a Product Catalog Chatbot with Mistral AI, Google Drive & Supabase RAG
author_name: DIGITAL BIZ TECH
author_username: dbt
categories: []
created_at: 2025-11-03T09:57:50.267Z
updated_at: 2025-11-03T09:57:50.267Z
url: https://n8n.io/workflows/10459
scraped_at: 2025-11-25 18:05:05
description:
  AI Product Catalog Chatbot with Google Drive Ingestion & Supabase RAG

  Overview
  This workflow builds a dual-system that connects automated document ingestion with a live product catalog chatbot powered by Mistral AI and Supabase.

  It includes:
  Ingestion Pipeline:** Automatically fetches JSON files from Google Drive, processes their content, and stores vector embeddings in Supabase.  
  Chatbot:** An AI agent that queries the Supabase vector store (RAG) to answer user questions about the product catalog.  

  It uses Mistral AI for chat intelligence and embeddings, and Supabase for vector storage and semantic product search.

  Chatbot Flow
  Trigger:** When chat message received or Webhook (from live website)
  Model:** Mistral Cloud Chat Model (mistral-medium-latest)
  Memory:** Simple Memory (Buffer Window) — keeps last 15 messages for conversational context
  Vector Search Tool:** Supabase Vector Store
  Embeddings:** Mistral Cloud
  Agent:** product catalog agent
    Responds to user queries using the products table in Supabase.  
    Searches vectors for relevant items and returns structured product details (name, specs, images, and links).  
    Maintains chat session history for natural follow-up questions.

  Document → Knowledge Base Pipeline
  Triggered manually (Execute workflow) to populate or refresh the Supabase vector store.

  Steps
  Google Drive (List Files)  
     → Fetch all files from the configured Google Drive folder.

  Loop Over Items  
     → For each file:
     Google Drive (Get File)  
       → Download the JSON document.
     Extract from File  
       → Parse and read raw JSON content.
     Map Data into Fields (Set node)  
       → Clean and normalize JSON keys (e.g., page_title, comprehensive_summary, key_topics).
     Convert Data into Chunks (Code node)  
       → Merge text fields like summary and markdown.  
       → Split content into overlapping 2,000-character chunks.  
       → Add metadata such as title, URL, and chunk index.
     Embeddings (Mistral Cloud)  
       → Generate vector embeddings for each text chunk.
     Insert into Supabase Vectorstore  
       → Save chunks + embeddings into the website_mark table.
     Wait  
       → Pause for 30 seconds before the next file to respect rate limits.

  Integrations Used
  | Service | Purpose | Credential |
  |----------|----------|------------|
  | Google Drive | File source for catalog JSON documents | Google Drive account dbt |
  | Mistral AI | Chat model & embeddings | Mistral Cloud account dbt |
  | Supabase | Vector storage & RAG search | Supabase DB account dbt |
  | Webhook / Chat | User-facing interface for chatbot | Website or Webhook |

  Sample JSON Data Format (for Ingestion)

  The ingestion pipeline expects structured JSON product files, which can include different categories such as Apparel or Tools.

  Apparel Example (T-Shirts)
  [
    {
      "Name": "Classic Crewneck T-Shirt",
      "Item Number": "A-TSH-NVY-M",
      "Image URL": "https://www.example.com/images/tshirt-navy.jpg",
      "Image Markdown": "",
      "Size Chart URL": "https://www.example.com/charts/tshirt-sizing",
      "Materials": "100% Pima Cotton",
      "Color": "Navy Blue",
      "Size": "M",
      "Fit": "Regular Fit",
      "Collection": "Core Essentials"
    }
  ]

  Tools Example (Drill Bits)
  [
    {
      "Name": "Titanium Drill Bit, 1/4\"",
      "Item Number": "T-DB-TIN-250",
      "Image URL": "https://www.example.com/images/drill-bit-1-4.jpg",
      "Image Markdown": "",
      "Spec Sheet URL": "https://www.example.com/specs/T-DB-TIN-250",
      "Materials": "HSS with Titanium Coating",
      "Type": "Twist Drill Bit",
      "Size (in)": "1/4",
      "Shank Type": "Hex",
      "Application": "Metal, Wood, Plastic"
    }
  ]

  Agent System Prompt Summary
  &gt; “You are an AI product catalog assistant.  
  Use only the Supabase vector database as your knowledge base.  
  Provide accurate, structured responses with clear formatting — including product names, attributes, and URLs.  
  If data is unavailable, reply politely: ‘I couldn’t find that product in the catalog.’”

  Key Features
  Automated JSON ingestion from Google Drive → Supabase  
  Intelligent text chunking and metadata mapping  
  Dual-workflow architecture (Ingestion + Chatbot)  
  Live conversational product search via RAG  
  Supports both embedded chat and webhook channels  

  Summary
  &gt; A powerful end-to-end workflow that transforms your product data into a searchable, AI-ready knowledge base, enabling real-time product Q&A through a Mistral-powered chatbot.

  Perfect for eCommerce teams, distributors, or B2B companies managing large product catalogs.

  Need Help or More Workflows?
  Want to customize this workflow for your business or integrate it with your tools?  
  Our team at Digital Biz Tech can tailor it precisely to your use case — from automation pipelines to AI-powered product discovery.

  💡 We can help you set it up for free — from connecting credentials to deploying it live.

  Contact: shilpa.raju@digitalbiz.tech  
  Website: https://www.digitalbiz.tech  
  LinkedIn: https://www.linkedin.com/company/digital-biz-tech/  
  You can also DM us on LinkedIn for any help.

nodes_used:
  ["n8n-nodes-base.splitInBatches","n8n-nodes-base.set","n8n-nodes-base.googleDrive","n8n-nodes-base.extractFromFile","@n8n/n8n-nodes-langchain.documentDefaultDataLoader","@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter","@n8n/n8n-nodes-langchain.embeddingsMistralCloud","@n8n/n8n-nodes-langchain.vectorStoreSupabase","n8n-nodes-base.wait","n8n-nodes-base.wait","n8n-nodes-base.manualTrigger","@n8n/n8n-nodes-langchain.vectorStoreSupabase","@n8n/n8n-nodes-langchain.lmChatMistralCloud","@n8n/n8n-nodes-langchain.embeddingsMistralCloud","@n8n/n8n-nodes-langchain.memoryBufferWindow","n8n-nodes-base.webhook","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.googleDrive","n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.chatTrigger","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 8844 characters]


name: Automate Web Research & Analysis with Oxylabs & GPT for Comprehensive Reports
author_name: Vytenis
author_username: vytenis
categories: []
created_at: 2025-11-04T14:54:38.597Z
updated_at: 2025-11-04T14:54:38.597Z
url: https://n8n.io/workflows/10504
scraped_at: 2025-11-25 18:05:05
description:
  Fully automate deep research from start to finish: scrape Google Search results, select relevant sources, scrape & analyze each source in parallel, and generate a comprehensive research report.

  Who is this for?

  This workflow is for anyone who needs to research topics quickly and thoroughly: content creators, marketers, product managers, researchers, journalists, students, or anyone seeking deep insights without spending hours browsing websites. If you find yourself opening dozens of browser tabs to piece together information, this template will automate that entire process and deliver comprehensive reports in minutes.

  How it works

  Submit your research questions through n8n's chat interface (include as much context as you need)  
  AI generates strategic search queries to explore different angles of your topic (customize the number of queries as needed)  
  Oxylabs scrapes Google Search results for each query (up to 50 results per query)  
  AI evaluates and selects sources that are the most relevant and authoritative  
  Content extraction runs in parallel as Oxylabs scrapes each source and AI extracts key insights  
  Summaries are collected in n8n's data table for final processing  
  AI synthesizes everything into a comprehensive research report with actionable insights

  See the complete step-by-step tutorial on the n8n blog.

  Requirements

  Oxylabs AI Studio API key** – Get a free API key with 1000 credits  
  OpenAI API key** (or use alternatives like Claude, Gemini, and local Ollama LLMs)

  Setup

  Install Oxylabs AI Studio as shown on this page
  Set your API keys:  
  	Oxylabs AI Studio  
  	OpenAI  
  Create a data table  
  Select the table name in each data table node  
  Create a sub-workflow:  
  	Select the 3 nodes (Scrape content, Summarize content, Insert row)  
  	Right-click  
  	Select “Convert 3 nodes to sub-workflow”  
  Edit the sub-workflow settings for for parallel execution:  
  	Mode: Run once for each item  
  	Options → Add Option → disable “Wait For Sub-Workflow Completion”

  Once you finish all these setup steps, you can run the workflow through n8n's chat interface. For example, send the following message:
  I'm planning to build a wooden summer house and would appreciate guidance on the process. What are the key considerations I should keep in mind from planning through completion? I'm particularly interested in the recommended construction steps and which materials will ensure long-term durability and quality.

  Customize this workflow for your needs

  Feel free to modify the workflow to fit the scale and final output your project requires:

  To reuse this workflow, clear the data table after the final analysis by adding a Data table node with the Delete row(s) action  
  Scale up** by processing more search queries, increasing results per query beyond 10, and selecting additional relevant URLs  
  Enable JavaScript rendering** in Oxylabs AI Studio (Scraper) node to ensure all content is gathered  
  Adjust the system prompts** in LLM nodes to fit your specific research goals  
  Explore other AI Studio apps** like Browser Agent for interactive browser control or Crawler for mapping entire websites  
  Connect other nodes** like Google Sheets, Notion, Airtable, or webhooks to route results where you need them

nodes_used:
  ["@n8n/n8n-nodes-langchain.chatTrigger","n8n-nodes-oxylabs-ai-studio.oxylabsAiStudio","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.set","n8n-nodes-base.dataTable","n8n-nodes-base.dataTable","n8n-nodes-base.if","n8n-nodes-base.aggregate","n8n-nodes-base.wait","n8n-nodes-base.wait","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-oxylabs-ai-studio.oxylabsAiStudio","n8n-nodes-base.dataTable","@n8n/n8n-nodes-langchain.openAi","@n8n/n8n-nodes-langchain.openAi"]

workflow_json_compressed:
  [encoded data, 7760 characters]


name: AI-Driven Inventory Management with OpenAI Forecasting & ERP Integration
author_name: Oneclick AI Squad
author_username: oneclick-ai
categories: []
created_at: 2025-11-05T13:27:19.843Z
updated_at: 2025-11-05T13:27:19.843Z
url: https://n8n.io/workflows/10531
scraped_at: 2025-11-25 18:05:05
description:
  This n8n workflow automates the monitoring of warehouse inventory and sales velocity to predict demand, generate purchase orders automatically, send them to suppliers, and record all transactions in ERP and database systems. It uses AI-driven forecasting to ensure timely restocking while maintaining operational efficiency and minimizing stockouts or overstocking.

  Key Features

  Automated Scheduling:** Periodically checks inventory and sales data at defined intervals.
  Real-Time Data Fetching:** Retrieves live warehouse stock levels and sales trends.
  AI Demand Forecasting:** Uses OpenAI GPT to predict future demand based on sales velocity and stock trends.
  Auto-Purchase Orders:** Automatically generates and sends purchase orders to suppliers.
  ERP Integration:** Logs completed purchase orders into ERP systems like SAP, Oracle, or Netsuite.
  Database Logging:** Saves purchase order details and forecast confidence data into SQL databases (PostgreSQL/MySQL).
  Email Notifications:** Notifies relevant teams upon successful order creation and logging.
  Modular Configuration:** Each node includes configuration notes and credentials setup instructions.

  Workflow Process

  Schedule Trigger

     Runs every 6 hours to monitor stock and sales data.
     Interval can be adjusted for higher or lower frequency checks.

  Fetch Current Inventory Data

     Retrieves live inventory levels from the warehouse API endpoint.
     Requires API credentials and optional GET/POST method setup.

  Fetch Sales Velocity

     Pulls recent sales data for forecasting analysis.
     Used later for AI-based trend prediction.

  Merge Inventory & Sales Data

     Combines inventory and sales datasets into a unified JSON structure.
     Prepares data for AI model input.

  AI Demand Forecasting

     Sends merged data to OpenAI GPT for demand prediction.
     Returns demand score, reorder need, and confidence levels.

  Parse AI Response

     Extracts and structures forecast results.
     Combines AI data with original inventory dataset.

  Filter: Reorder Needed

     Identifies items flagged for reorder based on AI output.
     Passes only reorder-required products to next steps.

  Create Purchase Order

     Automatically creates a PO document with item details, quantity, and supplier information.
     Calculates total cost and applies forecast-based reorder logic.

  Send PO to Supplier

     Sends the generated purchase order to supplier API endpoints.
     Includes response validation for order success/failure.

  Log to ERP System

      Records confirmed purchase orders into ERP platforms (SAP, Oracle, Netsuite).
      Includes timestamps and forecast metrics.

  Save to Database

      Stores all PO data, supplier responses, and AI forecast metrics into PostgreSQL/MySQL tables.
      Useful for long-term audit and analytics.

  Send Notification Email

      Sends summary emails upon PO creation and logging.
      Includes PO ID, supplier, cost, and demand reasoning.

  Setup Instructions

  Schedule Trigger:**
    Adjust to your preferred interval (e.g., every 6 hours or once daily).

  API Configuration:**

    Provide credentials in Inventory, Sales, and Supplier nodes.
    Use Authorization headers or API keys as per your system.

  AI Node (OpenAI):**

    Add your OpenAI API key in the credentials section.
    Modify the prompt if you wish to include additional forecasting parameters.

  ERP Integration:**

    Replace placeholder URLs with your ERP system endpoints.
    Match fields like purchase order number, date, and cost.

  Database Connection:**

    Configure credentials for PostgreSQL/MySQL in the Save to Database node.
    Ensure tables (purchase_orders) are created as per schema provided in sticky notes.

  Email Notifications:**

    Set up SMTP credentials (e.g., Gmail, Outlook, or custom mail server).
    Add recipients under workflow notification settings.

  Industries That Benefit

  This automation is highly beneficial for:

  Retail & E-commerce:** Predicts product demand and auto-orders from suppliers.
  Manufacturing:** Ensures raw materials are restocked based on production cycles.
  Pharmaceuticals:** Maintains optimum inventory for high-demand medicines.
  FMCG & Supply Chain:** Balances fast-moving goods availability with minimal overstocking.
  Automotive & Electronics:** Prevents delays due to missing components.

  Prerequisites

  API access to inventory, sales, supplier, and ERP systems.
  Valid OpenAI API key for demand forecasting.
  SQL database (PostgreSQL/MySQL) for record storage.
  SMTP or mail server credentials for email notifications.
  n8n environment with required nodes installed (HTTP, AI, Filter, Email, Database).

  Modification Options

  Change forecast logic or thresholds for different industries.
  Integrate Slack/Teams for live notifications.
  Add approval workflow before sending POs.
  Extend AI prompt for seasonality or promotional trends.
  Add dashboard visualization using Grafana or Google Sheets.

  Explore More AI Workflows:
  Get in touch with us to build industry-grade n8n automations with predictive intelligence.

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.code","n8n-nodes-base.filter","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.postgres","n8n-nodes-base.emailSend","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 9096 characters]


name: Process Large Documents with OCR using SubworkflowAI and Gemini
author_name: Jimleuk
author_username: jimleuk
categories: []
created_at: 2025-11-06T11:49:13.463Z
updated_at: 2025-11-06T11:49:13.463Z
url: https://n8n.io/workflows/10566
scraped_at: 2025-11-25 18:05:05
description:
  Working with Large Documents In Your VLM OCR Workflow

  Document workflows are popular ways to use AI but what happens when your document is too large for your app or your AI to handle? Whether its context window or application memory that's grinding to a halt, Subworkflow.ai is one approach to keep you going.

  &gt; Subworkflow.ai is a third party API service to help AI developers work with documents too large for context windows and runtime memory.

  Prequisites
  You'll need a Subworkflow.ai API key to use the Subworkflow.ai service.
  Add the API key as a header auth credential. More details in the official docs https://docs.subworkflow.ai/category/api-reference

  How it Works
  Import your document into your n8n workflow
  Upload it to the Subworkflow.ai service via the Extract API using the HTTP node. This endpoint takes files up to 100mb.
  Once uploaded, this will trigger an Extract job on the service's side and the response is a "job" record to track progress.
  Poll Subworkflow.ai's Jobs endpoint and keep polling until the job is finished. You can use the "IF" node looping back unto itself to achieve this in n8n.
  Once the job is done, the Dataset of the uploaded document is ready for retrieval. Use the Datasets and DatasetItems API to retrieve whatever you need to complete your AI task.
  In this example, all pages are retrieved and run through a multimodal LLM to parse into markdown. A well-known process when parsing data tables or graphics are required.

  How to use
  Integrate Subworkflow's Extract API seemlessly into your existing document workflows to support larger documents from 100mb+ to up to 5000 pages.

  Customising the workflow
  Sometimes you don't want the entire document back especially if the document is quite large (think 500+ pages!), instead, use query parameters on the DatasetItems API to pick individual pages or a range of pages to reduce the load.

  Need Help?
  Official API documentation**: https://docs.subworkflow.ai/category/api-reference
  Join the discord**: https://discord.gg/RCHeCPJnYw

nodes_used:
  ["n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.manualTrigger","n8n-nodes-base.googleDrive","n8n-nodes-base.splitOut","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.googleGemini","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5384 characters]


name: Automate Hotel Booking Requests from Gmail to Google Sheets with GPT-4o-mini
author_name: Gtaras
author_username: tarasidis
categories: []
created_at: 2025-11-06T23:44:26.252Z
updated_at: 2025-11-06T23:44:26.252Z
url: https://n8n.io/workflows/10578
scraped_at: 2025-11-25 18:05:05
description:
  Who’s it for
  This workflow is for hotel managers, travel agencies, and hospitality teams who receive booking requests via email. It eliminates the need for manual data entry by automatically parsing emails and attachments, assigning booking cases to the right teams, and tracking performance metrics.

  What it does
  This workflow goes beyond simple automation by including enterprise-grade logic and security:

  🛡️ Gatekeeper:** Watches your Gmail and filters irrelevant emails before spending money on AI tokens.
  🧠 AI Brain:** Uses OpenAI (GPT-4o-mini) to extract structured data from unstructured email bodies and PDF attachments.
  ⚖️ Business Logic:** Automatically routes tasks to different teams based on urgency, room count, and VIP status.
  🔒 Security:** Catches PII (like credit card numbers) and scrubs them before they hit your database.
  🚨 Safety Net:** If anything breaks, a dedicated error handling path logs the issue immediately so no booking is lost.
  📈 ROI Tracking:** Calculates the time saved per booking to prove the value of automation.

  How to set up
  Create your Google Sheet: Create a new sheet and rename the tabs to: Cases, Team Assignments, Error Logs, Success Metrics.
  Add Credentials: Go to n8n Settings → Credentials and add your Gmail (OAuth2), Google Sheets, and OpenAI API keys.
  Configure User Settings: Open the "Configuration: User Settings" node at the start of the workflow. Paste your specific Google Sheet ID and Admin Email there.
  Adjust Business Rules: Open the "Apply Business Rules" node (Code node) to adjust the logic for team assignment (e.g., defining what counts as a "VIP" booking).
  Customize Templates: Modify the email templates in the Gmail nodes to match your hotel's branding.
  Test: Send a sample booking email to yourself to verify the filters and data extraction.

  Setup requirements
  Gmail account (OAuth2 connected)
  Google Sheets (with the 4 tabs listed below)
  OpenAI API key (GPT-4o-mini recommended)
  n8n Cloud or self-hosted instance

  How to customize
  Filter Booking Emails:** Update the trigger node keywords to match your specific email subjects (e.g., "Reservation", "Booking Request").
  Apply Business Rules:** Edit the Javascript in the Code node to fit your company’s internal logic (e.g., changing priority thresholds).
  New Metrics:** Add new columns in the Google Sheet (e.g., “Revenue Metrics”) and map them in the "Update Sheet" node.
  AI Model:** Switch to GPT-4 if you need higher reasoning capabilities for complex PDF layouts.

  Google Sheets Structure Description
  This workflow uses a Google Sheets document with four main tabs to track and manage hotel booking requests.

  1. Cases
  This is the main data log for all incoming booking requests.
  case_id:** Unique identifier generated by the workflow.
  processed_date:** Timestamp when the workflow processed the booking.
  travel_agency / contact_details:** Extracted from the email.
  number_of_rooms / check_in_date:** Booking details parsed by the AI.
  special_requests:** Optional notes (e.g., airport transfer).
  assigned_team / priority:** Automatically set based on business rules.
  days_until_checkin:** Dynamic field showing urgency.

  2. Team Assignments
  Stores internal routing and assignment details.
  timestamp:** When the case was routed.
  case_id:** Link to the corresponding record in the Cases tab.
  assigned_team / team_email:** Which department handles this request.
  priority:** Auto-set based on room count or urgency.

  3. Error Log
  A critical audit trail that captures details about any failed processing steps.
  error_type:** Categorization of the failure (e.g., MISSING_REQUIRED_FIELDS).
  error_message:** Detailed technical explanation for debugging.
  original_sender / snippet:** Context to help you manually process the request if needed.

  4. Success Metrics
  Tracks the results of your automation to prove its value.
  processing_time_seconds:** The time savings achieved by the automation (run time vs. human time).
  record_updated:** Confirmation that the database was updated.

  🙋 Support
  If you encounter any issues during setup or have questions about customization, please reach out to our dedicated support email: foivosautomationhelp@gmail.com

nodes_used:
  ["n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.googleSheets","n8n-nodes-base.gmail","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.guardrails","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.filter","n8n-nodes-base.if","n8n-nodes-base.extractFromFile","n8n-nodes-base.set","n8n-nodes-base.gmail","n8n-nodes-base.gmailTrigger","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.gmail","@n8n/n8n-nodes-langchain.guardrails","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.gmail","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.if","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatGoogleGemini"]

workflow_json_compressed:
  [encoded data, 13824 characters]


name: Summarize Google Play Store Reviews with GPT-4-mini, Pinecone & Slack Alerts
author_name: Ertay Kaya
author_username: ertay
categories: []
created_at: 2025-11-07T18:06:27.519Z
updated_at: 2025-11-07T18:06:27.519Z
url: https://n8n.io/workflows/10605
scraped_at: 2025-11-25 18:05:05
description:
  This workflow automatically fetches reviews for one or more Google Play Store apps, summarizes the feedback using OpenAI, stores and manages review data with Pinecone, and posts the summary to a Slack channel. It is designed for product teams, community managers, or anyone who wants to keep track of app sentiment and review trends without manually reading each review.

  Features:

  Fetches daily reviews for specified Google Play Store app bundle IDs using a Google Service Account.
  Stores reviews in a Pinecone vector database for efficient retrieval and summarization.
  Uses OpenAI to generate a summary, including:
    Positive and negative review highlights
    Star rating breakdown and average rating
    Total number of reviews processed
  Posts the summary to a Slack channel of your choice.
  Supports both daily and weekly triggers.
  Automatically clears old reviews from the vector store weekly to keep data fresh.

  Setup Instructions:

  Add your Google Play app bundle IDs in the “Set the bundle ids” node.
  Configure your Google Service Account, Pinecone, OpenAI, and Slack credentials.
  Set your preferred Slack channel in the “Send to Slack channel” node.
  Enable the workflow and customize the schedule as needed.

  Use Cases:

  Monitor app sentiment and user feedback trends.
  Share review insights with your team in Slack.
  Automate reporting for product or support teams.

nodes_used:
  ["n8n-nodes-base.splitOut","n8n-nodes-base.splitInBatches","n8n-nodes-base.splitInBatches","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.splitOut","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.filter","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.vectorStorePinecone","@n8n/n8n-nodes-langchain.embeddingsOpenAi","@n8n/n8n-nodes-langchain.documentDefaultDataLoader","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.splitOut","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.embeddingsOpenAi","@n8n/n8n-nodes-langchain.vectorStorePinecone","n8n-nodes-base.slack","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 6408 characters]


name: Scrape Google Maps Business Leads with Apify & GPT-4 Email Extraction
author_name: Dr. Firas
author_username: drfiras
categories: []
created_at: 2025-11-08T18:57:42.413Z
updated_at: 2025-11-08T18:57:42.413Z
url: https://n8n.io/workflows/10640
scraped_at: 2025-11-25 18:05:05
description:
  💥 Automate Scrape Google Maps Business Leads (Email, Phone, Website) using Apify

  🧠 AI-Powered Business Prospecting Workflow (Google Maps + Email Enrichment)

  Who is this for?
  This workflow is designed for entrepreneurs, sales teams, marketers, and agencies who want to automate lead discovery and build qualified business contact lists — without manual searching or copying data.  
  It’s perfect for anyone seeking an AI-driven prospecting assistant that saves time, centralizes business data, and stays fully compliant with GDPR.

  What problem is this workflow solving?
  Manually searching for potential clients, copying their details, and qualifying them takes hours — and often leads to messy spreadsheets.  
  This workflow automates the process by:
  Gathering publicly available business information from Google Maps  
  Enriching that data with AI-powered summaries and contact insights  
  Compiling it into a clean, ready-to-use Google Sheet database

  This means you can focus on closing deals, not collecting data.

  What this workflow does
  This automation identifies, analyzes, and organizes business opportunities in just a few steps:
  Telegram Trigger → Send a message specifying your business type, number of leads, and Google Maps URL.  
  Apify Integration → Fetches business information from Google Maps (public data).  
  Duplicate Removal → Ensures clean, non-redundant results.  
  AI Summarization (GPT-4) → Generates concise business summaries for better understanding.  
  Email Extraction (GPT-4) → Finds and extracts professional contact emails from company websites.  
  Google Sheets Integration → Automatically stores results (name, category, location, phone, email, etc.) in a structured sheet.  
  Telegram Notification → Confirms when all businesses are processed.  

  All data is handled ethically and transparently — only from public sources and without any unsolicited contact.

  Setup
  Telegram Setup  
     Create a Telegram bot via BotFather  
     Copy the API token and paste it into the Telegram Trigger node credentials.  

  Apify Setup  
     Create an account on Apify  
     Get your API token and connect it to the “Run Google Maps Scraper” node.  

  Google Sheets Setup  
     Connect your Google account under the “Google Maps Database” node.  
     Specify the target spreadsheet and worksheet name.  

  OpenAI Setup  
     Add your OpenAI API key to the AI nodes (“Company Summary Info” and “Extract Business Email”).  

  Test  
     Send a Telegram message like:  
       restaurants, 5, https://www.google.com/maps/search/restaurants+in+Paris  

  How to customize this workflow to your needs
  Change search region or business type** by modifying the Telegram input message format.  
  Adjust the number of leads** via the maxCrawledPlacesPerSearch parameter in Apify.  
  Add filters or enrichments** (e.g., websites with social links, review counts, or opening hours).  
  Customize AI summaries** by tweaking the prompt inside the “Company Summary Info” node.  
  Integrate CRM tools** like HubSpot or Pipedrive by adding a connector after the Google Sheets node.  

  ⚙️ Expected Outcome
  ✅ A clean, enriched, and ready-to-use Google Sheet of businesses with:  
  Name, category, address, and city  
  Phone number and website  
  AI-generated business summary  
  Extracted professional email (if available)  

  ✅ Telegram confirmation once all businesses are processed  

  ✅ Fully automated, scalable, and GDPR-compliant prospecting workflow  

  💡 This workflow provides a transparent, ethical way to streamline your B2B lead research while staying compliant with privacy and anti-spam regulations.

  🎥 Watch This Tutorial

  👋 Need help or want to customize this?
  📩 Contact: LinkedIn  
  📺 YouTube: @DRFIRASS  
  🚀 Workshops: Mes Ateliers n8n

  📄 Documentation: Notion Guide
  Need help customizing?
  Contact me for consulting and support : Linkedin / Youtube / 🚀 Mes Ateliers n8n  

nodes_used:
  ["@apify/n8n-nodes-apify.apify","n8n-nodes-base.removeDuplicates","@apify/n8n-nodes-apify.apify","n8n-nodes-base.splitInBatches","n8n-nodes-base.googleSheets","n8n-nodes-base.wait","n8n-nodes-base.telegramTrigger","n8n-nodes-base.code","n8n-nodes-base.telegram","n8n-nodes-base.set","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 7324 characters]


name: Search & Enrich: Smart Keyword Analysis with Decodo + OpenAI GPT-4.1-mini
author_name: Ranjan Dailata
author_username: ranjancse
categories: []
created_at: 2025-11-09T08:34:56.307Z
updated_at: 2025-11-09T08:34:56.307Z
url: https://n8n.io/workflows/10648
scraped_at: 2025-11-25 18:05:05
description:
  Disclaimer

  Please note - This workflow is only available on n8n self-hosted as it's making use of the community node for the Decodo Web Scraping



  This workflow automates intelligent keyword and topic extraction from Google Search results, combining Decodo’s advanced scraping engine with OpenAI GPT-4.1-mini’s semantic analysis capabilities. The result is a fully automated keyword enrichment pipeline that gathers, analyzes, and stores SEO-relevant insights.

  Who this is for

  This workflow is ideal for:

  SEO professionals** who want to extract high-value keywords from competitors.
  Digital marketers** aiming to automate topic discovery and keyword clustering.
  Content strategists** building data-driven content calendars.
  AI automation engineers** designing scalable web intelligence and enrichment pipelines.
  Growth teams** performing market and search intent research with minimal effort.

  What problem this workflow solves

  Manual keyword research is time-consuming and often incomplete. Traditional keyword tools only provide surface-level data and fail to uncover contextual topics or semantic relationships hidden in search results.

  This workflow solves that by:

  Automatically scraping live Google Search results for any keyword.
  Extracting meaningful topics, related terms, and entities using AI.
  Enriching your keyword list with semantic intelligence to improve SEO and content planning.
  Storing structured results directly in n8n Data Tables for trend tracking or export.

  What this workflow does

  Here’s a breakdown of the flow:

  Set the Input Fields – Define your search query and target geo (e.g., “Pizza” in “India”).
  Decodo Google Search – Fetches organic search results using Decodo’s web scraping API.
  Return Organic Results – Extracts the list of organic results and passes them downstream.
  Loop Over Each Result – Iterates through every search result description.
  Extract Keywords and Topics – Uses OpenAI GPT-4.1-mini to identify relevant keywords, entities, and thematic topics from each snippet.
  Data Enrichment Logic – Checks whether each result already exists in the n8n Data Table (based on URL).
  Insert or Skip – If a record doesn’t exist, inserts the extracted data into the table.
  Store Results – Saves both enriched search data and Decodo’s original response to disk.

  End Result: A structured and deduplicated dataset containing URLs, keywords, and key topics — ready for SEO tracking or further analytics.

  Setup

  Pre-requisite

  Please make sure to install the n8n custom node for Decodo.

  Import and Configure the Workflow

  Open n8n and import the JSON template.
  Add your credentials:

     Decodo API Key under Decodo Credentials account.
     OpenAI API Key under OpenAI Account.

  Define Input Parameters

  Modify the Set node to define:

    search_query: your keyword or topic (e.g., “AI tools for marketing”)
    geo: the target region (e.g., “United States”)

  Configure Output

  The workflow writes two outputs:

    Enriched keyword data → Stored in n8n Data Table (DecodoGoogleSearchResults).
    Raw Decodo response → Saved locally in JSON format.

  Execute

  Click Execute Workflow or schedule it for recurring keyword enrichment (e.g., weekly trend tracking).

  How to customize this workflow

  Change AI Model** — Replace gpt-4.1-mini with gemini-1.5-pro or claude-3-opus for testing different reasoning strengths.
  Expand the Schema** — Add extra fields like keyword difficulty, page type, or author info.
  Add Sentiment Analysis** — Chain a second AI node to assess tone (positive, neutral, or promotional).
  Export to Sheets or DB** — Replace the Data Table node with Google Sheets, Notion, Airtable, or MySQL connectors.
  Multi-Language Research** — Pass a locale parameter in the Decodo node to gather insights in specific languages.
  Automate Alerts** — Add a Slack or Email node to notify your team when high-value topics appear.

  Summary

  Search & Enrich is a low-code AI-powered keyword intelligence engine that automates research and enrichment for SEO, content, and digital marketing.

  By combining Decodo’s real-time SERP scraping with OpenAI’s contextual understanding, the workflow transforms raw search results into structured, actionable keyword insights. It eliminates repetitive research work, enhances content strategy, and keeps your keyword database continuously enriched — all within n8n.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.set","n8n-nodes-base.function","n8n-nodes-base.readWriteFile","n8n-nodes-base.stickyNote","@decodo/n8n-nodes-decodo.decodo","n8n-nodes-base.splitInBatches","@n8n/n8n-nodes-langchain.informationExtractor","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.dataTable","n8n-nodes-base.stickyNote","n8n-nodes-base.dataTable","n8n-nodes-base.if","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5560 characters]


name: Summarize Apple App Store Reviews with Pinecone, GPT-4 Mini & Slack
author_name: Ertay Kaya
author_username: ertay
categories: []
created_at: 2025-11-09T22:39:52.451Z
updated_at: 2025-11-09T22:39:52.451Z
url: https://n8n.io/workflows/10666
scraped_at: 2025-11-25 18:05:05
description:
  This n8n workflow automates the process of collecting, storing, and summarizing customer reviews from the Apple App Store for multiple apps. It fetches daily reviews, stores them in a Pinecone vector database, and generates a weekly summary using OpenAI, which is then posted to a Slack channel.

  Key Features

  Fetches daily customer reviews for a list of Apple App Store apps using the App Store Connect API.
  Stores reviews in Pinecone, with separate namespaces for each app and automatic weekly cleanup.
  Uses OpenAI to generate a summary of reviews, including positive/negative highlights and average star rating.
  Posts the summary to a specified Slack channel every week.


  How to use

  Set your Apple App Store app IDs and names in the provided Set nodes.
  Configure your Apple API, Pinecone, OpenAI, and Slack credentials.
  Adjust the schedule triggers as needed for daily fetching and weekly summarization.
  Deploy the workflow to automate review monitoring and reporting for your apps.

nodes_used:
  ["n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.splitInBatches","n8n-nodes-base.jwt","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.vectorStorePinecone","@n8n/n8n-nodes-langchain.embeddingsOpenAi","@n8n/n8n-nodes-langchain.documentDefaultDataLoader","n8n-nodes-base.splitOut","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.embeddingsOpenAi","@n8n/n8n-nodes-langchain.vectorStorePinecone","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.splitInBatches","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.filter","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.slack","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 6408 characters]


name: AI Telegram-to-WordPress Publishing with GPT-4 & Media Handling
author_name: Alexandru Burca
author_username: alex13
categories: []
created_at: 2025-11-10T06:38:04.925Z
updated_at: 2025-11-10T06:38:04.925Z
url: https://n8n.io/workflows/10671
scraped_at: 2025-11-25 18:05:05
description:
  AI-powered automation that rewrites, enhances, and publishes Telegram RSS content directly to your WordPress news site, including image/video upload and category mapping.

  Who’s it for
  This workflow is designed for content creators, news publishers, and social media managers who share updates on Telegram and want to automatically republish them as formatted articles on WordPress. It’s ideal for news portals, agencies, or blogs that manage content across multiple channels.

  Features
  Multi-Channel Telegram RSS Monitoring
  Automatic Category Assignment
  Duplicate Prevention System (GUID Matching)
  Media Download + Type Detection (Image / Video)
  Full AI Article Rewriting (GPT-4O)
  -- Stage 1: Full rewrite with structure
  -- Stage 2: Context enhancement
  Media Handling Logic
  WordPress Publish

  How it works / What it does
  Fetches new posts from a Telegram channel feed (via RSS).
  Uses OpenAI to rewrite the text into a polished news-style article.
  Detects whether the content includes images or videos and downloads them.
  Uploads the media to WordPress and links it to the post.
  Automatically publishes the formatted article to WordPress with the correct category and excerpt.

  Set up steps

  Setup takes around 10–15 minutes.
  You’ll need API keys for OpenAI and WordPress Application Passwords.
  Add your Telegram RSS feed URL and WordPress site URL in the relevant nodes.
  (Optional) Adjust tone or rewrite style in the OpenAI node and category mapping in the Switch node.
  All configuration details are included in sticky notes inside the workflow.

  Requirements

  WordPress site with REST API access and Application Password
  OpenAI API key
  Telegram channels RSS URL

  How to customize the workflow
  You can easily adjust the writing style in the OpenAI node, change categories in the Switch node, or schedule how often the workflow checks Telegram for new posts.

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.merge","n8n-nodes-base.splitInBatches","n8n-nodes-base.set","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.merge","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.switch","n8n-nodes-base.httpRequest","n8n-nodes-base.merge","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.set","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.rssFeedReadTrigger","n8n-nodes-base.code","n8n-nodes-base.merge","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.set"]

workflow_json_compressed:
  [encoded data, 13560 characters]


name: Automated Document Sync Between SharePoint and Google Drive with Supabase
author_name: DIGITAL BIZ TECH
author_username: dbt
categories: []
created_at: 2025-11-12T08:27:34.109Z
updated_at: 2025-11-12T08:27:34.109Z
url: https://n8n.io/workflows/10749
scraped_at: 2025-11-25 18:05:05
description:
  SharePoint → Supabase → Google Drive Sync Workflow

  Overview
  This workflow is a multi-system document synchronization pipeline built in n8n, designed to automatically sync and back up files between Microsoft SharePoint, Supabase/Postgres, and Google Drive.

  It runs on a scheduled trigger, compares SharePoint file metadata against your Supabase table, downloads new or updated files, uploads them to Google Drive, and marks records as completed — keeping your databases and storage systems perfectly in sync.

  Workflow Structure
  Data Source:** SharePoint REST API for recursive folder and file discovery.  
  Processing Layer:** n8n logic for filtering, comparison, and metadata normalization.  
  Destination Systems:** Supabase/Postgres for metadata, Google Drive for file backup.

  SharePoint Sync Flow (Frontend Flow)

  Trigger:** Schedule Trigger  
    Runs at fixed intervals (customizable) to start synchronization.

  Fetch Files:** Microsoft SharePoint HTTP Request  
    Recursively retrieves folders and files using SharePoint’s REST API:  
    /GetFolderByServerRelativeUrl(...)?$expand=Files,Folders,Folders/Files,Folders/Folders/Folders/Files

  Filter Files:** filter files  
    A Code node that flattens nested folders and filters unwanted file types:  
    Excludes system or temporary files (~$)  
    Excludes extensions: .db, .msg, .xlsx, .xlsm, .pptx

  Normalize Metadata:** normalize last modified date  
    Ensures consistent Last_modified_date format for accurate comparison.

  Fetch Existing Records:** Supabase (Get)  
    Retrieves current entries from n8n_metadata to compare against SharePoint files.

  Compare Datasets:** Compare Datasets  
    Detects new or modified files based on UniqueId, Last_modified_date, and Exists.  
    Routes only changed entries forward for processing.

  File Processing Engine (Backend Flow)

  Loop:** Loop Over Items2  
    Iterates through each new or updated file detected.

  Build Metadata:** get metadata and Set metadata  
    Constructs final metadata fields:
    file_id, file_title, file_url, file_type, foldername, last_modified_date  
    Generates fileUrl using UniqueId and ServerRelativeUrl if missing.

  Upsert Metadata:** Insert Document Metadata  
    Inserts or updates file records in Supabase/Postgres (n8n_metadata table).  
    Operation: upsert with id as the primary matching key.

  Download File:** Microsoft SharePoint HTTP Request1  
    Fetches the binary file directly from SharePoint using its ServerRelativeUrl.

  Rename File:** rename files  
    Renames each downloaded binary file to its original file_title before upload.

  Upload File:** Upload file  
    Uploads the renamed file to Google Drive (My Drive → root folder).

  Mark Complete:** Postgres  
    Updates the Supabase/Postgres record setting Loading Done = true.

  Optional Cleanup:** Supabase1  
    Deletes obsolete or invalid metadata entries when required.

  Integrations Used
  | Service | Purpose | Credential |
  |----------|----------|-------------|
  | Microsoft SharePoint | File retrieval and download | microsoftSharePointOAuth2Api |
  | Supabase / Postgres | Metadata storage and synchronization | Supabase account 6 ayan |
  | Google Drive | File backup and redundancy | Google Drive account 6 rn dbt |
  | n8n Core | Flow control, dataset comparison, batch looping | Native |

  System Prompt Summary
  &gt; “You are a SharePoint document synchronization workflow.  
  Fetch all files, compare them to database entries, and only process new or modified files.  
  Download files, rename correctly, upload to Google Drive, and mark as completed in Supabase.”  

  Workflow rule summary:  
  &gt; “Maintain data integrity, prevent duplicates, handle retries gracefully, and continue on errors.  
  Skip excluded file types and ensure reliable backups between all connected systems.”

  Key Features
  Scheduled automatic sync across SharePoint, Supabase, and Google Drive  
  Intelligent comparison to detect only new or modified files  
  Idempotent upsert for consistent metadata updates  
  Configurable file exclusion filters  
  Safe rename + upload pipeline for clean backups  
  Error-tolerant and fully automated operation  

  Summary
  &gt; A reliable, SharePoint-to-Google Drive synchronization workflow built with n8n, integrating Supabase/Postgres for metadata management.  
  It automates file fetching, filtering, downloading, uploading, and marking as completed — ensuring your data stays mirrored across platforms.

  Perfect for enterprises managing document automation, backup systems, or cross-cloud data synchronization.

  Need Help or More Workflows?
  Want to customize this workflow for your organization?  
  Our team at Digital Biz Tech can extend it for enterprise-scale document automation, RAGs and social media automation.

   We can help you set it up for free — from connecting credentials to deploying it live.

  Contact: shilpa.raju@digitalbiz.tech  
  Website: https://www.digitalbiz.tech  
  LinkedIn: https://www.linkedin.com/company/digital-biz-tech/  
  You can also DM us on LinkedIn for any help.

nodes_used:
  ["n8n-nodes-base.splitInBatches","n8n-nodes-base.httpRequest","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.compareDatasets","n8n-nodes-base.supabase","n8n-nodes-base.supabase","n8n-nodes-base.postgres","n8n-nodes-base.postgres","n8n-nodes-base.googleDrive","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.code"]

workflow_json_compressed:
  [encoded data, 7568 characters]


name: Automate Blog-to-Social Media with GPT-4 for LinkedIn, X, and Reddit
author_name: Le Nguyen
author_username: leeseifer
categories: []
created_at: 2025-11-12T09:24:53.723Z
updated_at: 2025-11-12T09:24:53.723Z
url: https://n8n.io/workflows/10750
scraped_at: 2025-11-25 18:05:05
description:
  Turn your blog into a set-and-forget content engine: every new article is instantly repurposed into channel-specific social posts with visuals, keeping your brand visible on LinkedIn, X, and Reddit without extra copywriting time. Perfect for lean marketing teams who want consistent, always-on distribution from a single source of content.

  How it works
  • Watches your blog RSS feed (or receives a single URL) and detects new articles.
  • Saves each post in Postgres so every article is only processed once.
  • Fetches the article HTML, extracts the main body content and sends it to OpenAI (GPT-4.1).
  • OpenAI creates platform-optimized copy: 1 LinkedIn post, 1 X/Twitter post, 1 Reddit post + image prompts.
  • Generates on-brand images with OpenAI and publishes everything automatically to LinkedIn, X, and Reddit.
  • You can also trigger it manually or via webhook whenever you want to push a specific campaign.

  Setup Steps
  • Time: around 20–40 minutes for someone familiar with n8n and the platforms.
  • Create a Postgres table “rss_items” with fields: guid (PRIMARY KEY), title, link, published_at.
  • Add credentials in n8n for:
    – Postgres
    – OpenAI
    – LinkedIn OAuth2
    – X/Twitter OAuth2 + OAuth1 (for media upload)
    – Reddit OAuth2
  • In the RSS node, set your blog feed URL (for example: https://yourblog.com/feed).
  • In the webhook node, confirm the URL/path you want external tools or other workflows to call with a “link” field.
  • Run the manual trigger with one test blog URL to verify:
    – Article content is extracted correctly.
    – AI returns LinkedIn/X/Reddit posts and image prompts.
    – Posts and images appear correctly on all social accounts.
  • Once tests look good, enable the Schedule Trigger so Blog2Social AI runs automatically at your chosen interval.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.httpRequest","n8n-nodes-base.html","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.set","n8n-nodes-base.linkedIn","n8n-nodes-base.twitter","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.openAi","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.webhook","n8n-nodes-base.rssFeedRead","n8n-nodes-base.postgres","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.splitInBatches","n8n-nodes-base.respondToWebhook","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.merge","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.reddit","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.wait","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 12160 characters]


name: Auto Generate Descriptive Node Names with AI for Workflow Readability
author_name: Anan
author_username: mohamed3nan
categories: []
created_at: 2025-11-16T15:58:08.323Z
updated_at: 2025-11-16T15:58:08.323Z
url: https://n8n.io/workflows/10889
scraped_at: 2025-11-25 18:05:05
description:
  ⚡Auto Rename n8n Workflow Nodes with AI✨
  This workflow uses AI to automatically generate clear and descriptive names for every node in your n8n workflows.
  It analyzes each node's type, parameters, and connections to create meaningful names, making your workflows instantly readable.

  Who is it for?
  This workflow is for n8n users who manage complex workflows with dozens of nodes. If you've ever:
  Built workflows full of generic names like HTTP Request 2 or Edit Fields 1
  Struggled to understand your own work after a few weeks
  Copied workflows from others with unclear node names
  Spent hours manually renaming nodes one by one

  ...then this workflow will save you significant time and effort.

  Requirements
  n8n API Credentials**: Must be configured to allow listing and updating workflows
  AI Provider Credentials**: An API key for your preferred AI provider (OpenRouter is used currently)

  How it works
  Trigger: Launch via form (select from dropdown) or manual trigger (quick testing with pre-selected workflow)
  Fetch: Retrieve the target workflow's JSON and extract nodes and connections
  Generate: Send the workflow JSON to the AI, which creates a unique, descriptive name for every node
  Validate: Verify the AI mapping covers all original node names
  Apply: If valid, update all node names, parameter references, and connections throughout the workflow
  Save: Save/Update the workflow with renamed nodes and provide links to both new and previous versions


  If validation fails (e.g., AI missed nodes), the workflow stops with an error. You can modify the error handling to retry or loop back to the AI node.

  Setup
  Connect n8n API credentials
     Open any n8n node in the workflow and make sure your n8n API credentials is connected

  Configure AI provider credentials
     Open the "OpenRouter" node (or replace with your preferred AI)
     Add your API credentials
     Adjust the model if needed (current: openai/gpt-5.1-codex-mini)

  Test the workflow
     Use Manual Trigger for quick testing with a pre-selected workflow
     Use Form Trigger for a user-friendly interface with workflow selection

  Important notice
  If you're renaming a currently opened workflow, you must reload the page after execution to see the latest version, n8n doesn't automatically refresh the canvas when workflow versions are updated via API.

  Need help?
  If you're facing any issues using this workflow, join the community discussion on the n8n forum.

nodes_used:
  ["n8n-nodes-base.n8n","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.chainLlm","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.form","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.n8n","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stopAndError","n8n-nodes-base.n8n","n8n-nodes-base.aggregate","n8n-nodes-base.form","@n8n/n8n-nodes-langchain.lmChatOpenRouter","n8n-nodes-base.n8n","n8n-nodes-base.formTrigger","n8n-nodes-base.manualTrigger","n8n-nodes-base.set"]

workflow_json_compressed:
  [encoded data, 9588 characters]


name: Generate LinkedIn Carousel Images from Text with Mistral AI & S3 Storage
author_name: DIGITAL BIZ TECH
author_username: dbt
categories: []
created_at: 2025-11-17T05:06:54.929Z
updated_at: 2025-11-17T05:06:54.929Z
url: https://n8n.io/workflows/10900
scraped_at: 2025-11-25 18:05:05
description:
  AI Carousel Caption & Template Editor Workflow

  Overview
  This workflow is a caption-only carousel text generator built in n8n. It turns any raw LinkedIn post or text input into 3 short, slide-ready title + subtext captions and renders those captions onto image templates. Output is a single aggregated response with markdown image embeds and download links.

  Workflow Structure
  Input:** Chat UI trigger accepts text and optional template selection.  
  Core AI:** Agent cleans input and returns structured JSON with 3 caption pairs.  
  Template Rendering:** Edit Image nodes render title and subtext on chosen templates.  
  Storage:** Rendered images uploaded to S3.  
  Aggregate Output:** Aggregate node builds final markdown response with embeds and download links.

  Chat Trigger (Frontend)
  Trigger:** When chat message received  
    UI accepts plain text post.  
    allowFileUploads optional for template images.  
    SessionId preserved for context.

  AI Agent (Core)
  Node name:** AI Agent  
  Model:** Mistral Cloud Chat Model (mistral-small-latest)  
  Behavior:**  
    Clean input (remove stray formatting like \n and ** but keep emojis).  
    Produce exactly one JSON object with fields: postclean, title1, subtext1, title2, subtext2, title3, subtext3.  
    Titles must be short (max 5 words). Subtext 1 or 2 short sentences, max 7 words per line if possible.  
    Agent must return valid JSON to be parsed by the Structured Output Parser.

  Structured Output Parser
  Node name:** Structured Output Parser  
  Validates agent JSON and prevents downstream errors. If parsing fails, stop and surface error.

  Normalize Title Nodes
  Nodes:** normalize title,name 1, normalize title,name 2, normalize title,name 3 (and optional 4)  
  Map parsed output into node fields: title, subtext, safeName (safe filename for exports).

  Template Images
  Source:** Google Drive template PNGs (download via Google Drive nodes) or provided upload.  
  Keep templates high resolution and consistent aspect ratio.

  Edit Image Nodes (Render Captions)
  Nodes:** Edit Image 1, Edit Image2, Edit Image3, Edit Image3 (or Edit Image3/Edit Image4 as available)  
  MultiStep operations render:
    Title text (font, size, position)  
    Subtext (font, size, position)  
  This is where caption text is added to the template.

  Upload to S3
  Nodes:** S3  
  Upload rendered images to bucketname using safeName filenames. Confirm public access or use signed URLs.

  Get S3 URLs and Aggregate
  Nodes:** get s3 url image 1, get s3 url image 2, get s3 url image 3, get s3 url image 4  
  Merge + Aggregate:** Merge1 and Aggregate collect image items.  
  Output Format:** output format builds a single markdown message:
    Inline image embeds ``  
    Download links per image.

  Integrations Used
  | Service | Purpose | Credential |
  |---------|---------|-----------|
  | Mistral Cloud | AI agent model | Mistral account |
  | Google Drive | Template image storage | Google Drive account  |
  | S3 | Store rendered images and serve links | Supabase account  |
  | n8n Core | Flow control, parsing, image editing | Native |

  Agent System Prompt Summary
  &gt; You are a data formatter and banner caption creator. Clean the user input (remove stray newlines and markup but keep emojis). Return a single JSON object with postclean, title1/subtext1, title2/subtext2, title3/subtext3. Titles must be short (max 5 words). Subtext should be 1 to 2 short sentences, useful and value adding. Respond only with JSON.

  Key Features
  Caption only output: 3 short slide-ready caption pairs.  
  Structured JSON output enforced by a parser for reliability.  
  Renders captions onto image templates using Edit Image nodes.  
  Uploads images to S3 and returns markdown embeds plus download links.  
  Template editable: swap Google Drive background templates or upload your own.  
  Zero guess formatting: agent must produce parseable JSON to avoid downstream failures.

  Summary
  A compact n8n workflow that converts raw LinkedIn text into a caption-only carousel with rendered images. It enforces tight caption rules, validates AI JSON, places captions on templates, uploads images, and returns a single ready-to-post markdown payload.

  Need Help or More Workflows?
  We can wire this into your account, replace templates, or customize fonts, positions, and export options.  
   We can help you set it up for free — from connecting credentials to deploying it live.

  Contact: shilpa.raju@digitalbiz.tech  
  Website: https://www.digitalbiz.tech  
  LinkedIn: https://www.linkedin.com/company/digital-biz-tech/   
  You can also DM us on LinkedIn for any help.

nodes_used:
  ["@n8n/n8n-nodes-langchain.lmChatMistralCloud","n8n-nodes-base.s3","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.s3","n8n-nodes-base.s3","n8n-nodes-base.s3","n8n-nodes-base.editImage","@n8n/n8n-nodes-langchain.chatTrigger","n8n-nodes-base.aggregate","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.editImage","n8n-nodes-base.editImage","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.merge","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 8364 characters]


name: 🏫 English Lesson Generator from Podcasts with RSS, GPT-4, ElevenLabs and Gmail
author_name: Samir Saci
author_username: samirsaci
categories: []
created_at: 2025-11-18T14:58:22.738Z
updated_at: 2025-11-18T14:58:22.738Z
url: https://n8n.io/workflows/10968
scraped_at: 2025-11-25 18:05:05
description:
  Tags: ESL, English Learning, Podcasts, RSS, AI Exercises, ElevenLabs

  Context

  Hi! I’m Samir, Supply Chain Engineer and Data Scientist based in Paris, and founder of the startup LogiGreen.

  I created this workflow for my mother, who is currently learning English, to turn the BBC 6 Minute English podcast into ready-to-use English lessons.



  The lesson includes vocabulary, exercises and discussion questions along with links to access the podcast content (audio and transcript).

  &gt; Use this assistant to automatically share English lessons from a renowned podcast.


  📬 For business inquiries, you can find me on LinkedIn

  Who is this template for?

  This template is designed for:

  ESL teachers** who want a fresh, structured lesson every week from real-life audio
  Independent learners** who want a guided way to study English with podcasts
  Language schools or content creators** who send regular English lessons by email

  What does this workflow do?

  This workflow acts as an AI-powered English lesson generator from podcast episodes.

  Runs every Sunday at 20:00 using a Schedule Trigger and reads the BBC 6 Minute English RSS feed  
  Checks a Data Table of archived episodes and filters out those already sent (using their guid)  
  Keeps the latest unsent episode and loads its web page content via HTTP  
  Parses the HTML in a Code node to extract the episode description, full transcript and BBC vocabulary list  
  Calls three AI nodes (OpenAI) to generate:
     a motivational email hook message
     fill-in-the-blank vocabulary exercises
     discussion questions related to the topic  
  Combines all vocabulary words and sends them to ElevenLabs to generate a slow-paced audio track for listening practice  
  Builds a prettify HTML email that includes: title, description, hook, vocabulary list, exercises, discussion questions and resource links  
  Sends the final lesson by email via the Gmail node, with the vocabulary audio attached  

  For example, this is the latest email generated by the workflow:



  P.S.: You can customise the footer to your school or company identity.

  🎥 Tutorial

  I advise you to check the tutorial on my YouTube channel for the details on how to set up the nodes and customise the content:

  Next Steps

  Follow the stickers to set up all the nodes:

  Replace the Data Table reference with your own (storing at least guid, title, link, processed_date)  
  Set up your OpenAI credentials in the three Model nodes  
  Set up your ElevenLabs credentials and choose a voice in the audio node  
  Configure your Gmail credentials and recipient email address in the Send Email node  
  Adapt the RSS feed URL if you want to track another podcast or source  
  Customise the HTML email (colours, logo, footer text) in the Prepare Email Code node  
  Adjust the schedule (time or frequency) if you prefer another cadence  

  Submitted: 18 November 2025  
  Template designed with n8n version 1.116.2

nodes_used:
  ["n8n-nodes-base.limit","n8n-nodes-base.code","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.rssFeedRead","n8n-nodes-base.aggregate","n8n-nodes-base.merge","n8n-nodes-base.filter","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.merge","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.splitOut","n8n-nodes-base.aggregate","n8n-nodes-base.stickyNote","@elevenlabs/n8n-nodes-elevenlabs.elevenLabs","n8n-nodes-base.dataTable","n8n-nodes-base.merge"]

workflow_json_compressed:
  [encoded data, 12104 characters]


name: Automated 🤖🎵 AI Music Generation with ElevenLabs, Google Sheets & Drive
author_name: Davide
author_username: n3witalia
categories: []
created_at: 2025-11-20T14:48:28.305Z
updated_at: 2025-11-20T14:48:28.305Z
url: https://n8n.io/workflows/11047
scraped_at: 2025-11-25 18:05:05
description:
  🤖🎵 This workflow automates the creation, storage, and cataloging of AI-generated music using the Eleven Music API, Google Sheets, and Google Drive.

  Key Advantages
  ✅ Fully Automated Music Generation Pipeline

  Once started, the workflow automatically:

  Reads track parameters
  Generates music via API
  Uploads the file
  Updates your spreadsheet
    No manual steps needed after initialization.

  ✅ Centralized Track Management

  A single Google Sheet acts as your project control center, letting you organize:

  Prompts
  Durations
  Generated URLs
    This avoids losing track of files and creates a ready-to-share catalog.

  ✅ Seamless Integration with Google Services

  The workflow:

  Reads instructions from Google Sheets
  Saves the MP3 to Google Drive
  Updates the same Sheet with the final link
    This ensures everything stays synchronized and easy to access.

  ✅ Scalable and Reliable Processing

  The loop-with-delay mechanism:

  Processes tracks sequentially
  Prevents API overload
  Ensures stable execution
    This is especially helpful when generating multiple long tracks.

  ✅ Easy Customization

  Because the prompts and durations come from Google Sheets:

  You can edit prompts at any time
  You can add more tracks without modifying the workflow
  You can clone the Sheet for different projects

  ✅ Ideal for Creators and Businesses

  This workflow is perfect for:

  Content creators generating background music
  Agencies designing custom soundtracks
  Businesses needing AI-generated audio assets
  Automated production pipelines

  How It Works

  The process operates as follows:

  The workflow starts manually via the "Execute workflow" trigger
  It retrieves a list of music track requests from a Google Sheets spreadsheet containing track titles, text prompts, and duration specifications
  The system processes each track request individually through a batch loop
  For each track, it sends the text prompt and duration to ElevenLabs Music API to generate studio-quality music
  The generated MP3 file (in 44100 Hz, 128 kbps format) is automatically uploaded to a designated Google Drive folder
  Once uploaded, the workflow updates the original Google Sheets with the direct URL to the generated music file
  A 1-minute wait period between each track generation prevents API rate limiting
  The process continues until all track requests in the spreadsheet have been processed

  Set Up Steps

  Prerequisites:
  ElevenLabs paid account with Music API access enabled
  Google Sheets spreadsheet with specific columns: TITLE, PROMPT, DURATION (ms), URL
  Google Drive folder for storing generated music files

  Configuration Steps:

  ElevenLabs API Setup:
     Enable Music Generation access in your  ElevenLabs account
     Generate an API key from the ElevenLabs developer dashboard
     Configure HTTP Header authentication in n8n with name "xi-api-key" and your API value

  Google Sheets Preparation:
     Create or clone the music tracking spreadsheet with required columns
     Fill in track titles, detailed text prompts, and durations in milliseconds (10,000-300,000 ms)
     Configure Google Sheets OAuth credentials in n8n
     Update the document ID in the Google Sheets nodes

  Google Drive Configuration:
     Create a dedicated folder for music uploads
     Set up Google Drive OAuth credentials in n8n
     Update the folder ID in the upload node

  Workflow Activation:
     Ensure all API credentials are properly configured
     Test with a single track entry in the spreadsheet
     Verify music generation, upload, and spreadsheet update work correctly
     Execute the workflow to process all pending track requests

  The workflow automatically names files with timestamp prefixes (song_yyyyMMdd) and handles the complete lifecycle from prompt to downloadable music file.

  Need help customizing?  
  Contact me for consulting and support or add me on Linkedin.

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.manualTrigger","n8n-nodes-base.splitInBatches","n8n-nodes-base.wait","n8n-nodes-base.googleSheets","n8n-nodes-base.httpRequest","n8n-nodes-base.googleDrive","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE+1Z627bOBZ+FYIdbC+QHN0vBopF2qZtdpImzaWdtg4MijyyOZFIjUg58QQG5jF2X2+eZEHJji9xOmmL3V/zz5bIw+/cDz/dYM5wHx97+0569urq7S+Xh6fv4/fYwiVogvs3mAuliaCwb9aRIMtp6kMah5R4vk9oEAKLaep5MUsCmofE873Ud53QC1M3Jozkvu964DosDCIPW1hDWRVEw8samDoF3VQvZVkVoIHhvq4bmFlYkBJwH+82WpZEA0O7++iwUZyiNyCgJppLga64HqO9AiYgDkimjGgyUrj/5cLCQjIwP2869UiaUJo5oZ3GsWsHCcvsNI0SOw0hSEIvdvI4x7fHnmpOL6fondRghE4r81Akwm6l2hlR0FPtmvmSSipuIOH+FzsMAssOEufCwhWpSQkaamXseMWZHuN+EgUWHgMfjTXuB2lkYSqFBqFxHz96hL5JZfQP9EbKUQHoVc0nMBADcTbmCl3J+jIv5BUic2kK6TEgWkMrxkJKy5qMwEJEMESJJoUccTFCMke7+/aoOxAYKlsAjTLvjISVoztsu8f71gLD6RhAq07mKqyewfVxibzb+sxCmREMSoGyOmyyNttrzdVCDkygniJzfgFICjAIZVOjRkGtECUCLcAipRvGpT2qCYM58LyWJRJENzUpUEHEqCEjQFUty0qrHjougChAOS8KpI3dclmXSEtUw4grDTWamrO40FCD0oiL1ghfVtUwFrh4Mta6Uv2dHV1Pe9C+LUimelzukPFlljvOWFLRPO0hY4o3G+YdE4UIKrngZVMi1sx9LXPkOkgBlYKp1hgEleT6zqLQbG00qNbOz45EMUUV4QxVBRHm0aNH6Nmzt/IKcd1Ghuo/e2YCBZZxUgNhag6nht8aUFp11tvwrQIDZm5BY6rtEdFUhTQSl5F0eOy361cDo3NxU7E2QpU5Ap2fHKge2teokLIyYVvLZjRGQOh4gazLAoJcu1McMSjI1AgnE8kZaqOh4CXXnUla/dtCg5SGqlP/pRQCqF7F/5BYNjEgEtFDu4y1eHgNDFFZNKXonLT/ymxr9BiE5tRAabErqCecgmUiSCBt1DCr66aLqVtPaLmMaLPAZCogXRN6qRbpzCkpimlvIPCsK08foFZt+XFn1rzi0cBz4jT37DR2YztIw8QmCQttP828ME+Ik/tkWfE+GlC04PTSZPqff/x77xqoMe0C159//OfeUlgS0ZDirOajEdQb1TD2HMtNvc1ieD9uknixE8TUDj0W2EHGXDsF17fz2HfymMaOF2VL3AdSVuhoAjXa11Cq+6t1VXC9L14QTcegNjC6qbcNI5aVWdHC3cTr3+KFJEh9GuU2jWhsB3GS2iQNXNv3g8QhLKURBCt2JlzfC/Kqe7kCLXEcy3OSCwtfQTaW8rLtwU6UBpQFxA4CmtpB5DE7DePMph4h4Eap59C2Ka0p0whuOsy8VGALk1I2pum4d3zRW3ojc12fZBDaXkJiO/BCaid+CDbxHIi8mACh7lK7N6DnkXqvjqM2l7rs2nBDECR/5QYL57wwz8/3zZsJKZp5ly+kvDSDhMlD3MfnJwd4djGzcFtU3rXwbvBwWBfdiGHhUjIDr+DK2LyVhPt4xNlzB1uYEjoGdgKqKfS52YQXFZ5JquZa9Kgsd1TV1s5WoR224zrTV2/y9JfptVfYvzMWnrqyvv5Mfs4++sOJOHr3YXTy4nL48qCuRjvAuH607cgOMH4tRwWXrslyJmlTgtAmAB6iyLfg+L/q+89GVc+ZKaWKXW5X+3A6byVnXSyZ7KM1MFNQSdHGxGoYHe02euztVrwdVk3U/uvTSUSi4D1QFunk7Uq9WKvuiFDa5sCd9A568W0K+ODFJItdm6ROZAd5CHYGHrW9GIgb5h7z2UohNaOsVPP5494sMMY96ZrZehK4XjJP+I3sXfMJqfjGlDFxdxYnlqDHsh3pj07PsLWePr8qKV5INsV9/PxmIBAa4BpUBVQPFdB24XAxW6gB7qM2xrqFXdM3Dwf45gb9ZGT1jk+ODo/P0Gw2wPNlLY5hAWKkx8OyFbJY/eXxq/OT3bP9o3foSamePr5As9lil2RQDDnrxHcyJu4AD8QMYQubsaPD3QW9+f++gXr5oALK8+lcN3OYKXHLLtyaF7edldOXt8F0ZtxjLZ6bQDrrHGZM/RYIg9o8xBb+zZx2vOaUVRd9uVlEgGx01eihGSXJakaWlT8MAtdxhq6XmOJ0N6o3Dl2E8+/B7+Lo+h2Rrw8Owujg12W07d0GgRle0BNGJpCEYyD66bag9pZ1HSALchLYGWGJHTh+ZmdB4NpBkMcQp26Uus7ymPN2mvuLmO5Ssh2S1mPaj7bH9Fz4cyXFaHhz85OQV73Oak8eT6fT6cEBY4+fzmY9Ez4ZF6Se9hjRpJfzAvauNQijF5rNsIXbgvLQ2ng47WY5U1fXm4ssGNQPLrH68mUdX7OayM9X6u1vcFDGrz8H5OTjpzSQB9nnr9fV9ma0UljbBzsdBLXzrcLnpVMk4v5y2Sp9t1q+3ZuGe83ny9Hx5w97JL26Uy27wXdeLNET4V/1+LYAWw5FcRpAnFLHjsBJ7CD2IzuN09SmJApCLyUMfFgNL3MBQAdcXH7/+BCm3tYom4/mt+OC+WGmA1MAF0XsCrIPHK5aAG041fJqKJoyg3qx7snjjVHz8dMe11D2WgHL9Wa/GTvoGEqy5B/e9ZYqKV1zYZou46oqyG0JW9wmcD8nhYLb93PXtiIY5KQp9KGZY2/XUSJewLkCdibnLzoWZX722f7Zwd4PH7+Q8j0IuibxwxBuxXwPhrXO88NQNqV9DyIThT+Ko5PxPaevhPgy2Rb/74Ao5WQFg5kADc3wQJBrR30L1gsLl6SquBgddhWYQc4FvIBCmipVmqVcjF4uUvzL6lEXFibacI36TL6UYgK1Nr1dLQ/tHr7mUDB1Jk87D3RvNzuDrOYMHO7jjq/Af98t/r5b/OjdAqIEwGHUTlgY2UHouHbi+4mduokbOk6WEifeSku738xLO1YUbGuOssb92FqQ077nLMlp3wnWyelHaO16s8lGD8QbafirVzCBwmTMgtaFdjr9GaY9dAr6LqvdEo0D/E6iXUpBqQE2YgZ48a/b1k3GhiAfoyfGnX10zW1ScfsSphb6YKKzjz4dnZ8Md4/3hz/vfXr6FX7MTfOMBKlju2lK7QDyyE4oy2w3ogxy12MA/lbTe9/3SeAh1veS5KvW7zjMbkQaiDl7jWhhePEvLYHd5s6Sjv6fJJgaE1Mpn7b05Jw7h1sKdIDPuC5ggC00wMfzK2O7dIBfLVhr0zUH+GveSdwwSYDYbup4dpCaLze+l9jgpwGwJIn8NNzqHf+bveP70YOcYwbMrzln9ZK0wmt39WAg5q+NqbolS2p886OOFOuU84ows70V2G0yf89PDsxXAPPz8NjvomOLZU07pNrcehb9T4HWXIxabaGle7kURzVrh95J2xkm3f6WdQwimtCAgZ2xgNkBczI79X1qh4RkhMZRCmB4ENrx6vPW2RGe/RtcEm6Mba7JXU+5l7ltV1qYCwbXuO/MLgyNt8Is/riwtevsNnFfu5BslbjO+mwXue0KvVXYpjIr4i6spcR7mKZ7NL6j0DaQ6+z0VkkP+lCwTfY2bnjLCbPZfwHTnmQZkR4AAA==


name: Generate Professional Documents with Claude AI Skills🤹🤖 & Upload to Google Drive
author_name: Davide
author_username: n3witalia
categories: []
created_at: 2025-11-20T14:53:06.110Z
updated_at: 2025-11-20T14:53:06.110Z
url: https://n8n.io/workflows/11049
scraped_at: 2025-11-25 18:05:05
description:
  🤹🤖 This workflow (AI Document Generator with Anthropic Agent Skills and Uploading to Google Drive) automates the process of generating, downloading, and storing professionally formatted files (PDF, DOCX, PPTX, XLSX) using the Anthropic Claude API and Google Drive.

  This workflow connects user prompts with the Anthropic API to generate professional documents in multiple formats, automatically retrieves and uploads them to Google Drive — providing a complete AI-powered document automation system.

  Key Advantages

  ✅ Full Automation**
  From user input to file delivery, the entire pipeline — creation, extraction, download, and upload — runs without manual intervention.

  ✅ Multi-Format Support**
  Handles four major business document types:
  	PPTX (Presentations)
  	PDF (Reports)
  	DOCX (Documents)
  	XLSX (Spreadsheets)

  ✅ Professional Output**
  Each format includes tailored Claude system prompts with detailed formatting and design principles:
  	Layout structure
  	Typography
  	Visual hierarchy
  	Consistency and readability

  	This ensures that every file produced follows professional standards.

  ✅ Easy Customization**
  	You can modify the prompt templates or add new Skills using the “Get All Skills” node.
  	The form and switch logic make it simple to extend with additional file types or workflows.

  ✅ Seamless Cloud Integration**
  	Generated files are automatically uploaded to a Google Drive folder, enabling:
  	Centralized storage
  	Easy sharing and access
  	Automatic organization

  ✅ Reusable and Scalable**
  	This workflow can be used as a foundation for:
  	Automated report generation
  	Client deliverables
  	Internal documentation systems
  	AI-driven content creation pipelines

  How it Works

  This n8n workflow enables users to create professional documents using Anthropic's Claude AI and automatically save them to Google Drive. The process works as follows:

  Form Trigger: The workflow starts with a web form where users submit a prompt and select their desired file type (PPTX, PDF, DOCX, or XLSX).

  Document Type Routing: A switch node routes the request based on the selected file type to the appropriate document creation node.

  AI Document Generation: Each document type has a dedicated HTTP Request node that calls Anthropic's Messages API with:
     Specific system prompts tailored for each document type (PowerPoint, PDF, Word, or Excel)
     The user's input prompt
     Appropriate Anthropic skills (pptx, pdf, docx, xlsx) for specialized document creation
     Code execution capabilities for complex formatting

  File ID Extraction: Custom JavaScript code nodes extract the generated file ID from Anthropic's response using recursive search algorithms to handle nested response structures.

  File Download: HTTP Request nodes download the actual file content from Anthropic's Files API using the extracted file ID.

  Cloud Storage: Finally, the downloaded files are automatically uploaded to a specified Google Drive folder, organized and ready for use.
  Set Up Steps

  API Configuration:
     Set up HTTP Header authentication with Anthropic API
     Add x-api-key header with your Anthropic API key
     Configure required headers: anthropic-version and anthropic-beta

  Google Drive Integration:
     Connect Google Drive OAuth2 credentials
     Specify the target folder ID where documents will be uploaded
     Ensure proper permissions for file upload operations

  Custom Skills (Optional):
     Use the "Get All Skills" node to retrieve available custom skills
     Update skill_id fields in JSON bodies if using custom Anthropic skills
     Modify the form dropdown to include custom skill options if needed

  Form Configuration:
     The form is pre-configured with prompt field and file type selection
     No additional setup required for basic functionality

  Execution:
     Activate the workflow
     Access the form trigger URL
     Submit prompts and select desired output formats
     Generated files will automatically appear in the specified Google Drive folder

  The workflow handles the entire process from AI-powered document creation to cloud storage, providing a seamless automated solution for professional document generation.

  Need help customizing?  
  Contact me for consulting and support or add me on Linkedin.

nodes_used:
  ["n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.formTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.switch","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDrive","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 9220 characters]


