# templates

name: AI-Powered Facebook Comment Management: Auto-Reply, Delete, Ban & Notify
author_name: SpaGreen Creative
author_username: spagreen
categories: []
created_at: 2025-10-30T10:04:12.646Z
updated_at: 2025-10-30T10:04:12.646Z
url: https://n8n.io/workflows/10320
scraped_at: 2025-12-24 13:02:45
description:
  Who is this for?
  This n8n workflow is designed for Facebook Page administrators, social media managers, and community moderators who want to automate comment management on their Facebook Pages. It's perfect for businesses with high comment volume, content creators, and marketing teams who need to maintain a positive community environment without manually reviewing every comment. The workflow automatically filters and responds to positive/supportive comments while handling negative ones appropriately.

  What this Workflow Does
  This n8n workflow monitors Facebook Page comments, classifies them using  OpenAI, automatically responds to positive and supportive comments, and handles negative comments by deleting them and tracking repeat offenders. It can ban users who repeatedly post negative content and maintains a record of all interactions in Google Sheets.

  Key Features
  Automated Comment Monitoring**: Fetches posts and comments from a Facebook Page
  AI-Powered Classification**: Uses OpenAI to classify comments into positive, supportive, or negative categories
  Intelligent Response Generation**: Creates human-like replies in the same language as the original comment (English or Bangla)
  Negative Comment Management**: Deletes negative comments and tracks them in Google Sheets
  User Banning System**: Automatically bans users who repeatedly post negative content
  Admin Reply Detection**: Only processes comments that haven't already received admin replies
  Comprehensive Logging**: Records all comment interactions in Google Sheets for analysis

  Requirements
  Facebook Page access with Graph API credentials
  OpenAI API credentials for comment classification
  Google Sheets account for logging comment data
  n8n instance (self-hosted or cloud)
  Facebook Page ID (configured as 47104xxxxx69097 in the workflow)

  Google Sheet Column Structure
  A Google Sheet formatted like this** ➤ sample

  Workflow Components
  1. Post Retrieval Section
  Start**: Manual trigger to begin the workflow
  Get 0-100 Posts from Page**: Fetches up to 100 recent posts
  Split All Posts**: Breaks each post into individual items
  Loop Over Posts**: Iterates through each post for further processing

  2. Comment Processing Section
  Get Individual Post Comments**: Retrieves comments for each post
  Check Comment**: Verifies the presence of comments
  Split All Comments**: Splits retrieved comments into individual items
  Loop Over Comments**: Iterates through comments one by one
  Get Any Reply in Comment**: Checks if the comment has admin replies
  Check Reply**: Confirms presence or absence of replies

  3. Admin Reply Detection
  Edit Fields**: Extracts relevant data from comments
  Separatamento Without Admin Reply**: Filters out comments that haven't received admin replies
  Check Comment1**: Validates if such comments exist
  Split Out Without Admin Reply Comments**: Prepares these comments for AI classification

  4. Comment Classification (via OpenAI)
  Loop Over Items2**: Loops through comments without admin replies
  Replay Comment Data**: Uses OpenAI to classify comments

  5. Response Generation
  Switch**: Routes comments based on classification
  Positive Replay**: Generates a friendly, human-like reply for positive comments
  Support Replay**: Generates a warm, appreciative reply for supportive comments
  Reply to Comment**: Posts the AI-generated reply on Facebook

  6. Negative Comment Handling
  Delete Comment**: Removes negative comments from Facebook
  Append Row in Sheet**: Logs comment details in Google Sheets
  Get Row in Sheet**: Retrieves user history from the sheet
  Code in JavaScript**: Counts how many negative comments the user has posted
  If**: Checks if user has more than 1 negative comment
  Banned User**: Executes a Facebook ban on repeat offenders
  Update Row in Sheet**: Updates the user's status to banned in Google Sheets

  7. Optional Features
  Facebook Graph API**: Sends warning messages to users with negative comments

  Support & Help
  WhatsApp**: Chat on WhatsApp
  Discord**: SpaGreen Community
  Facebook Group**: SpaGreen Support
  Website**: https://spagreen.net
  Developer Portfolio**: Codecanyon SpaGreen

nodes_used:
  ["n8n-nodes-base.switch","n8n-nodes-base.facebookGraphApi","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.if","n8n-nodes-base.splitInBatches","n8n-nodes-base.code","n8n-nodes-base.splitOut","n8n-nodes-base.noOp","n8n-nodes-base.noOp","n8n-nodes-base.wait","n8n-nodes-base.if","n8n-nodes-base.noOp","n8n-nodes-base.noOp","n8n-nodes-base.set","n8n-nodes-base.manualTrigger","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.splitOut","n8n-nodes-base.splitInBatches","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.splitOut","n8n-nodes-base.noOp","n8n-nodes-base.noOp","n8n-nodes-base.splitInBatches","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.splitOut","n8n-nodes-base.googleSheets","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.noOp","n8n-nodes-base.stickyNote","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.facebookGraphApi","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.toolThink","n8n-nodes-base.httpRequestTool","@n8n/n8n-nodes-langchain.memoryBufferWindow","@n8n/n8n-nodes-langchain.googleGeminiTool","n8n-nodes-base.noOp","n8n-nodes-base.googleDocsTool","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5684 characters]


name: Facebook Messenger Chatbot with GPT-4.1 & Human Escalation Support
author_name: SpaGreen Creative
author_username: spagreen
categories: []
created_at: 2025-10-30T10:05:50.517Z
updated_at: 2025-10-30T10:05:50.517Z
url: https://n8n.io/workflows/10321
scraped_at: 2025-12-24 13:02:43
description:
  Who is this for?
  This n8n workflow is designed for businesses, customer support teams, and page administrators who want to automate their Facebook Messenger responses while maintaining the ability to escalate to human agents when needed. It's perfect for e-commerce stores, service providers, and organizations that receive customer inquiries through Facebook Messenger and want to provide instant, intelligent responses 24/7. The workflow can handle both text messages and attachments, automatically detects when human intervention is needed, and seamlessly transfers the conversation to a human admin.

  What this Workflow Does
  This n8n workflow creates an intelligent Facebook Messenger chatbot that can understand and respond to customer messages in both English and Bengali. It automatically classifies incoming messages to determine if they require human assistance, processes attachments by identifying file types, generates appropriate responses using AI, and escalates conversations to human admins when necessary. The workflow maintains conversation context through memory and can reference external documents for more accurate responses.

  Key Features
  Multi-language Support**: Automatically detects and responds in English or Bengali
  Message Classification**: Determines if a message requires human intervention
  Attachment Handling**: Identifies and processes different file types (images, documents, etc.)
  AI-powered Responses**: Generates intelligent, context-aware responses using OpenAI
  Admin Escalation**: Seamlessly transfers conversations to human agents when needed
  Memory Management**: Maintains conversation context for more natural interactions
  Document Integration**: Can reference external Google Docs for information
  Webhook Verification**: Properly handles Facebook's webhook verification process

  Requirements
  Facebook Page with Messenger functionality
  Facebook Graph API credentials
  OpenAI API credentials
  Google Docs API credentials (optional)
  n8n Instance (self-hosted or cloud)
  Admin Facebook user ID for escalation

  Workflow Components
  1. Webhook Setup
  Webhook**: Receives incoming messages from Facebook Messenger
  If3**: Verifies webhook subscription requests
  Respond to Webhook**: Completes the verification process

  2. Message Processing
  If**: Determines if the message contains text or attachments
  Classify text**: Analyzes text messages to determine if human intervention is needed
  AI Agent1**: Identifies attachment types

  3. AI Response Generation
  AI Agent**: Generates intelligent responses to user messages
  OpenAI Chat**: Powers the AI Agent with language model capabilities
  Think**: Ensures responses match the user's language and tone
  Memory**: Maintains conversation context
  HTTP**: Enables external data retrieval
  Google Docs**: Allows referencing external documentation

  4. Escalation Logic
  If2**: Determines if escalation is needed based on classification
  Edit Fields1**: Prepares data for escalation messages
  Wait3**: Adds delay before sending messages

  5. Message Delivery
  Admin Message**: Notifies admin when escalation is needed
  User Message**: Confirms to user that their message was forwarded
  Admin Message1**: Notifies admin about attachments
  User Replay Message**: Sends AI-generated responses to users

  Notes
  The workflow uses a custom session key for memory management
  Admin ID should be updated to match your Facebook admin user ID
  The system is configured to respond in both English and Bengali
  Webhook verification requires a specific verify token (set to "admin" in this example)
  The workflow includes appropriate delays to prevent rate limiting

  Ideal Use Cases
  Customer service automation for e-commerce stores
  Lead qualification and initial response
  After-hours customer support
  Information dissemination for organizations
  Appointment scheduling and basic inquiries
  Product information and recommendation requests

  Support & Help
  WhatsApp**: Chat on WhatsApp
  Discord**: SpaGreen Community
  Facebook Group**: SpaGreen Support
  Website**: https://spagreen.net
  Developer Portfolio**: Codecanyon SpaGreen

nodes_used:
  ["n8n-nodes-base.webhook","n8n-nodes-base.respondToWebhook","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.toolThink","n8n-nodes-base.wait","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.if","n8n-nodes-base.httpRequestTool","n8n-nodes-base.googleDocsTool","@n8n/n8n-nodes-langchain.memoryBufferWindow","n8n-nodes-base.wait","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.wait","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.facebookGraphApi","n8n-nodes-base.facebookGraphApi","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.if","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.openAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE7VZS2/kxhH+K/Qcksu00i92s3Vx1muvs4nXu9iHDcM2gn5KjDjkhORIKywW2FziU+BTYgSx4UOcWSMIEiOHxLnYf2WwfyD5CanmjDSUxJFGa/siDdnV1V+9q5pPRrkb7Y5+/p49PHj01jv2ztvs8f3JbDQeTXyrR7tPRnnZtLq0/naks0Zp4lNGiRTSCEaEYFzSjHFCmfSp4IammdSGpEZyq7HOlDeY6pTxjDsBfFs/mRa69Tdr75oHvp1Nb1bwxrceDmjrmX86HpV64uG0G7fRverIA2FyS1tvquoguaf3fPJgNp1WdZvc3Netqdrd5MasrZL7flocJz9KHkx0XJs1bTXxdfIzXboi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0ToKVDwzJcKayXeaS/XvJQcSniIaOOXt1fOn+YXudu6Ma5NC36RCPTZPlILP+/eJ39sN+dVkyO/kYtSzgV3I9S36J4Ju1d5mdI5OziXHYV+gVPC62JttKS64h7kB668HtSIYyzlmap0//D5RdmoGRIQAA


name: Facebook Lead Management: Automate Email Responses with Gmail & Google Sheets
author_name: SpaGreen Creative
author_username: spagreen
categories: []
created_at: 2025-10-30T10:19:05.756Z
updated_at: 2025-10-30T10:19:05.756Z
url: https://n8n.io/workflows/10323
scraped_at: 2025-12-24 13:02:43
description:
  Who is this for?
  This n8n workflow is designed for marketers, sales teams, and business owners who use Facebook Lead Ads to capture customer information. It's perfect for those who want to immediately engage with leads through multiple channels without manual intervention. The workflow automatically processes new leads from Facebook Lead Ads, sends personalized emails. Designed for businesses that want to improve lead response time and conversion rates through automated multi-channel communication.

  What this Workflow Does
  This n8n workflow automatically captures leads from Facebook Lead Ads, formats the data, saves it to Google Sheets, sends personalized emails to each and updates the status of each communication in Google Sheets. It can be triggered automatically when new leads are submitted or manually for testing purposes.

  Key Features
  Facebook Lead Ads Integration**: Automatically captures new leads in real-time
  Google Sheets Synchronization**: Saves and updates lead information in a structured format
  Multi-Channel Communication**: Sends both email messages
  Status Tracking**: Updates communication status in Google Sheets
  Flexible Triggers**: Can be triggered by new leads or manually executed
  Data Formatting**: Cleans and formats phone numbers for validation
  Conditional Processing**: Only processes leads with specific status values

  Requirements
  Facebook Lead Ads account with webhook access
  Google Sheets account with OAuth2 access
  Gmail account for sending emails

  Workflow Components
  1. Trigger Section
  Facebook Lead Ads**: Automatically triggers when new leads are submitted
  Executed by Another Workflow**: Allows this workflow to be called from another workflow
  Click to Start**: Manual trigger for testing purposes

  2. Data Processing Section
  Format Ads Lead Response Data**: Extracts and formats lead details
  Save Ads Lead In Sheet**: Inserts or updates lead information in Google Sheets

  3. Email Communication Section
  Send a Email**: Sends personalized emails to leads
  Save State of Rows in Email Sent**: Updates email status in Google Sheets

  5. Flow Control
  Get Row in Sheet**: Fetches rows with specific status values
  Loop Over Items**: Processes each lead individually
  Wait**: Adds delays between requests to prevent rate limits

  Google Sheet Column Structure
  A Google Sheet formatted like this ➤ sample

  Support & Help
  WhatsApp**: Chat on WhatsApp
  Discord**: SpaGreen Community
  Facebook Group**: SpaGreen Support
  Website**: https://spagreen.net
  Developer Portfolio**: Codecanyon SpaGreen

nodes_used:
  ["n8n-nodes-base.wait","n8n-nodes-base.splitInBatches","n8n-nodes-base.manualTrigger","n8n-nodes-base.executeWorkflowTrigger","n8n-nodes-base.facebookLeadAdsTrigger","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.noOp","n8n-nodes-base.googleSheets","n8n-nodes-base.gmail","n8n-nodes-base.googleSheets","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:
  H4sIAAAAAAAAE61XyW7bSBD9FYKHOamN3hfdnG1gIJkA8SA+DHzopVrmWCIFkbJjGP73KUqOpSik17nYktisevXq1dK3ZZXKaTmrvr876czZJx+/2PW/sZyUC+h8Ob0tq7rtfB3hpD8Xg/MMlODMaBO0YFoLabgVknFhQGkZuLLGB6aCkdFTbx0Eyr0S0sqk0W4Hi+Xcd/B+Bak9hW69fN/gL9ABOuhWa7iblLVfAHpDNBCa5rL4DD4VX3ztZ7CAupsWp1Cn4t16flmcXfiuPV4uiy/Qtvi8Lf4oPi58NW+L43XXLHxXRT+f3/Se/awtp/+co/0mQf/xdhs9l4JanoAwJSKR1DISJGckcu1oYsIxlcsHVGe+6nprN8v+W21rsjFHgm/h6Hr7cNm0VVc1Nfpg3OmJ1BLdXkO4wHA2TOoojQQlCYTeZ44JfSpFnLSC85go46w35FfotYMVwr2923r9jt82ttkRu5vcx0CFpobLSFwQBmNQkXgXMCRGDTXGM2PkLobPTbMsvl7BqjjBfLSj4bTLedWd1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C83r243Pjz6dZVwd5qWV6y3cbV9f9PcnRYxWJ0Jso7zOHNKcGVThMuQwDtcnGxfbwiihtib2hjeXEPwP3bhHjveZfoIH9vtNycneKFL8KOc0rvzcwTyy5waMvf85j9o/2CNH/IwPs4HLR7Gt2fyfLKHe3AAD1r8DcDbaf19yR6y+cxVdThxwwvkkJuhFW7Q5qN3mv8hdY/HO6q+R9bkcWoek+yQp1+v9QN27+7+Ay0q2hQtEQAA


name: Automate AI Video Creation & Multi-Platform Publishing with GPT-4, Veo 3.1 & Blotato
author_name: Dr. Firas
author_username: drfiras
categories: []
created_at: 2025-10-30T17:49:57.827Z
updated_at: 2025-10-30T17:49:57.827Z
url: https://n8n.io/workflows/10358
scraped_at: 2025-12-24 13:02:41
description:
  💥 Automate AI Video Creation & Multi-Platform Publishing with Veo 3.1 & Blotato

  🎯 Who is this for?
  This workflow is designed for content creators, marketers, and automation enthusiasts who want to produce professional AI-generated videos and publish them automatically on social media — without editing or manual uploads. Perfect for those using Veo 3.1, GPT-4, and Blotato to scale video creation.

  💡 What problem is this workflow solving?
  Creating short-form content (TikTok, Instagram Reels, YouTube Shorts) is time-consuming — from writing scripts to video editing and posting.  
  This workflow eliminates the manual steps by combining AI storytelling + video generation + automated publishing, letting you focus on creativity while your system handles production and distribution.

  ⚙️ What this workflow does
  Reads new ideas from Google Sheets  
  Generates story scripts using GPT-4  
  Creates cinematic videos using Veo 3.1 (fal.ai/veo3.1/reference-to-video) with 3 input reference images  
  Uploads the final video automatically to Google Drive  
  Publishes the video across multiple platforms (TikTok, Instagram, Facebook, X, LinkedIn, YouTube) via Blotato  
  Updates Google Sheets with video URL and status (Completed / Failed)

  🧩 Setup
  Required accounts:
  OpenAI → GPT-4 API key  
  fal.ai → Veo 3.1 API key  
  Google Cloud Console → Sheets & Drive connection  
  Blotato → API key for social media publishing  

  Configuration steps:
  Copy the Google Sheets structure:  
     A: id_video  
     B: niche  
     C: idea  
     D: url_1  
     E: url_2  
     F: url_3  
     G: url_final  
     H: status  

  Add your API keys to the Workflow Configuration node.  
  Insert three image URLs and a short idea into your sheet.  
  Wait for the automation to process and generate your video.  

  🧠 How to customize this workflow
  Change duration or aspect ratio** → Edit the Veo 3.1 node JSON body (duration, aspect_ratio)  
  Modify prompt style** → Adjust the “Optimize Prompt for Veo” node for your desired tone or cinematic look  
  Add more platforms** → Extend Blotato integration to publish on Pinterest, Reddit, or Threads  
  Enable Telegram Trigger** → Allow users to submit ideas and images directly via Telegram  

  🚀 Expected Outcome
  Within 2–3 minutes, your idea is transformed into a full cinematic AI video — complete with storytelling, visuals, and automatic posting to your social media channels.  

  Save hours of editing and focus on strategy, creativity, and growth.

  👋 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:
  ["n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.httpRequest","n8n-nodes-base.googleDrive","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheetsTrigger","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.stickyNote","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","@blotato/n8n-nodes-blotato.blotato","n8n-nodes-base.merge","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 10156 characters]


name: Automated Facebook Group Scraper: Posts, Comments, and Sub-comments to Supabase
author_name: Muhammad Abrar
author_username: muhammadab1
categories: []
created_at: 2025-10-30T23:48:11.141Z
updated_at: 2025-10-30T23:48:11.141Z
url: https://n8n.io/workflows/10370
scraped_at: 2025-12-24 13:02:41
description:
  This n8n template demonstrates how to automate the scraping of posts, comments, and sub-comments from a Facebook Group and store the data in a Supabase database.

  Use cases are many: Gather user engagement data for analysis, archive posts and comments for research, or monitor community sentiment by collecting feedback across discussions!

  Good to know

  At the time of writing, this workflow requires the apify api for scraping and Supabase credentials for database storage.

  How it works

  The Facebook Group posts are retrieved using an Apify scraper node.
  For each post, comments and sub-comments are collected recursively to capture all levels of engagement.
  The data is then structured and stored in Supabase, creating records for posts, comments, and sub-comments.
  This workflow includes the option to adjust how often it scrapes and which group to target, making it easy to automate collection on a schedule.

  How to use

  The workflow is triggered manually in the example, but you can replace this with other triggers like webhooks or scheduled workflows, depending on your needs.
  This workflow is capturing data points, such as user interactions or media attached to posts.

  Requirements

  Apify account API
  Supabase account for data storage

  Customizing this workflow
  This template is ideal for gathering and analyzing community feedback, tracking discussions over time, or archiving group content for future use.

nodes_used:
  ["@apify/n8n-nodes-apify.apify","@apify/n8n-nodes-apify.apify","@apify/n8n-nodes-apify.apify","n8n-nodes-base.supabase","n8n-nodes-base.set","n8n-nodes-base.supabase","n8n-nodes-base.supabase","n8n-nodes-base.if","@apify/n8n-nodes-apify.apify","n8n-nodes-base.splitOut","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.formTrigger"]

workflow_json_compressed:
  H4sIAAAAAAAAE81abXPcthH+KxymM5Y0hwsBgm/quKks2a5bj+yxJHfSyOMBAVDHiEdeSFCyRtF/7wJ8OZ7Ee1GaTKoPuiO5eHax2H2wC969PZeK2Yf3dppXiuVcvhP2oZ0IxnFAQ5dS7Ev4Y9KNBfNcxqkbUZ8wQlw/ZiKSjvCxT6iLfc91Ay/CVASuPbGVnC8ypuRxKUV1JlW9OC7gjlQSFKiylg8TOy+ErOzDn0C71oojjzku95DHsY8o9ymKZOIgH1TFQRxy6gSAn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lPfmi9D4dWcmXSbwWS37GGWSJNE6sPUgVc6X02ftTOsTGFDbgx1rmqcbswVz6WU+RFGcaLLFyaht3OiCPHEdUMaQKMrBhXZh9zMXls1TyuDtS5jtNw5cMOVqaZWyhjaVZO3Mp4Bvb5rKnEPalVJkePHULRFYEjMgwQlsH0Jx/exSHQlvql+1hrNudqhffHpvd3caV+J6Mb50VHgexbLrC8zFxmQ/azIhNTN8GvI0tJqUEr5S53C0hqk7vcoLcb5o6pxBfjU3O339zVK8lUpCwqmdgMrIMZLWF5YSSjbb1PodtsnDL72O9nYqw8ydR++GLbJJe+PDvQhhW48WaoXAvyQN93l6LsjIzWBrlHIb6arnvz05QvoWTZBY1Djb06eYGmgwZvqMaR1nfco1nAGo2BPO7dRnBXzB0CPlYz7cfxnRqOKVkTHsDb8uGSDN7sj9jHElSOqUYxHLt/JrG2YT+cxBjv2q4Xd4MZXYs0Lh1HIEVLbkiSb5/zw8F9pn2P1KicAAA==


name: Smart CSM Assignment & AI Welcome Emails for HubSpot Deal Wins with Gmail
author_name: PollupAI
author_username: Pollup
categories: []
created_at: 2025-10-31T16:17:11.912Z
updated_at: 2025-10-31T16:17:11.912Z
url: https://n8n.io/workflows/10398
scraped_at: 2025-12-24 13:02:44
description:
  Who's it for
  This template is for Customer Success and Sales teams who use HubSpot. It automates the critical handoff from sales to success, ensuring every new customer gets a fast, personalized welcome. It's perfect for anyone looking to standardize their onboarding process, save time on manual tasks, and improve the new customer experience using AI.

  What it does
  This workflow triggers when a deal's "Is closed won" property is set to True in HubSpot. It assigns a Customer Success Manager (CSM) by querying an n8n Data Table to find the 'least busy' CSM (based on a deal count) and fetches the deal's details to find all associated contacts.

  It then loops to identify the "Champion" contact by checking their "Buying Role" (hs_buying_role). An AI agent (in the AI: Write Welcome Email node) generates a personalized welcome email, which is converted to HTML and sent via Gmail. Finally, the workflow updates the Champion's contact record in HubSpot and updates the CSM's deal count in the Data Table to keep the logic in sync.

  How to set up
  Create and Populate Data Table: This template requires an n8n Data Table to manage CSM assignments.
      Create a Data Table named csm_assignments.
      Add two columns: csm_id (String) and deal_count (Number).
      Add one row for each CSM with their HubSpot Owner ID and a starting deal_count of 0.
  Link Data Table Nodes: Open the Get CSM List and Increment CSM Deal Count nodes and select the csm_assignments table you just created from the Table dropdown.
  Configure Variables: In the Configure Template Variables node, you must set your sender info (company_name, sender_name, and sender_email).
  Customize AI Prompt: In the AI: Write Welcome Email node, update the placeholder [Link to Your Video] and [Link to Your Help Doc] links with your own URLs.
  Check HubSpot Property: This workflow assumes you use the "Buying Role" (hs_buying_role) contact property to identify your "Champion". If you use a different property, you must update the HubSpot: Get Contact Details and If Role is 'Champion' nodes.

  Requirements
  Access to n8n Data Tables.
  HubSpot (Developer API):** A credential for the Trigger: Deal Is 'Closed Won' node.
  HubSpot (OAuth2):** A credential for all other HubSpot nodes (Get Deal Details, Get Contact Details, Assign Contact Owner).
  AI Credentials:** (e.g., OpenAI) Credentials for the AI Model node (the node connected to AI: Write Welcome Email).
  Email Credentials:** (e.g., Gmail) Credentials for the Gmail: Send Welcome Email node.

  How to customize the workflow
  You can easily customize this workflow to send different emails based on deal properties. Add an If node after the HubSpot: Get Deal Details node to check for the deal's value, product line, or region.

  Based on these properties, you can route the flow to different AI: Write Welcome Email nodes with unique prompts. For example, you could check the contact's 'industry' or 'company size' to send them links to different, more relevant 'Getting Started' videos and documentation.

nodes_used:
  ["@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.stickyNote","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.hubspot","n8n-nodes-base.code","n8n-nodes-base.hubspot","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.markdown","n8n-nodes-base.gmail","n8n-nodes-base.hubspot","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.hubspotTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.dataTable","n8n-nodes-base.code","n8n-nodes-base.dataTable","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 6440 characters]


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-12-24 13:02:46
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

  Preview: 
  Please click here for preview.

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:
  H4sIAAAAAAAAE72Xy25jNwyGX8Xw2gx0oSQqmyJAW0wXUxRtMZsiC12oxGhsp/bJoGmQdy/tSWOPfU59KdDd8TH967NE/qRexjPu0vj6ZTydr7o0L/xDHV+Pg2/OY+HIumH0nHyxztqmnavO6JCsTgGzzt5kTlYVGwKaiCGlUDmU8etkPF9UXo2vfxPpjWTA1HL1YFWOgNoQpKgZbI0YUYWmfR3Lr9KMJfp77sr96Kd0xyMnb7vnx/XbOc1hIws5rfjqvusef+Y/nnjVSczjYjXtpou5LAk6eDUxzt/K67QUyY6XwvLy+kXqk3zaROKVfp28AfpqSEWrgFATYA0eKBgLSZmSk6vetX7AS/kAPZ4DWBCTCrmCw+QAm4pAkRMoJiuCVk6qH9BfTGiIziGMNWoXrRyvpwpYXAXSEQHRaaaofM2mlzBcTKi1OYdQMtXpVBm4NeEqJgNxzmBDNomyTn7gkOlSQlJnJWEwLUmFgXcsZxwLQfbRQVS1lBxLTJG3fB95ecd6kGy2/nqfSXuawHEoe2XeoZxRxWtfwHnf5Gxrg1gpAObiQy5JNXJbqJt5enj+i0efFg9PMx7dlG76edo9D2MWedyjDNZPwB492S2i9cQYFEEgJ8VrlGReiwyqKY0YdMCv3GWxnKVu9O10VRbLOvrIq1X6t408JDTBSO4d9ZctILOtJbcG2dgiiZcQiNL6KTvbKmYS13wH/KWblt+fRz8uOh6EWm1i3kJ2N09sbF0Y1h8c8rgs5h3POxEb76Nuc1C83bhaEZprCZBJiyWSkb8brbbofazci2rOZ9XRbIpYHTjhaaxIzK7QupTlyDFVKwvqCoW0lv2O2AL1stoLWK2hXtM+DZW1DT5K2XB2GdDK3iabDDRsrZG1mGx/BuD5qHJeE2kTF5JmVaNzyUI0nqWYxImiFBFoY3TNqaSYsJd0uFUPktq1HeFhJZ14/EFzM01BkcFDejY3aThswFElomxy4dxLOtwSh0il0ciWhgtBmzVopMQhFG8FVDY3abRAtsrMEYpYqekFHe6MQ6Ce6D+A+pzFzhvBevIDdC1DzjIPRS3GKq5QYusvqPj/GxXlqorUDjSDUvzGSV+SaRUKV4tF66Z2PfW7z7x8HpnRh8WTrDEIW+65Pj3wr8vp3R0v94ndOgviUd/XO92TqLKOMgUVU4WySiFR0gGCC9EET00SY0v5Ia1GNw+87FbfDDJO26GLntIud7xIoMR3ZAwyUUsf5yCn7JQ4fpQib2xS2bV4nr83yS9wo27xT/c8fy7amNPx3ok7e6h9qsnJnCZ1JO09o4cYSoHilNw/5CLiVezNyuGePpyVft3bUZ2ZlBIt38+5rHU24W/TmTzN0nQtLVehNcBJM9LmJxO5lVX+c3ytXm9vZcndS0ef7P482Cuym2E7IreTrc7R+egYnbsADw9U/AUq+kAlXKBiDlToAhX7ReVr4+mT6b1M7u/xpC/cnxkfzoynM+PdsRwZyKy+XTnRdnrXGSywvoV6PbdH9vX1bxM1r1ovEQAA


name: Automated SEO Ranking Monitor with AI, Decodo Scraper & Multi-Channel Alerts
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-11-01T17:21:42.824Z
updated_at: 2025-11-01T17:21:42.824Z
url: https://n8n.io/workflows/10412
scraped_at: 2025-12-24 13:02:45
description:
  This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

  Keep your SEO performance on track with this automated SEO Watchlist Monitor! 
    
  This workflow combines AI-powered strategy analysis with real-time search ranking checks to track keyword positions, identify content gaps, and alert you to critical ranking drops. Perfect for marketing teams ensuring search visibility and competitive intelligence across platforms. 🚀🔍

  What This Template Does  
  1️⃣ Triggers daily SEO intelligence checks to monitor keyword performance.   
  2️⃣ Configures target keywords, competitor domains, and geographic focus.  
  3️⃣ Validates SEO configuration to ensure proper setup. 
  4️⃣ Uses AI to analyze keyword competitiveness and strategic opportunities.  
  5️⃣ Checks real-time search rankings using Google Search scraper.  
  6️⃣ Detects critical ranking drops below position 10. 
  7️⃣ Saves SEO intelligence to Google Sheets for tracking. 
  8️⃣ Sends email alerts for urgent ranking issues. 
  9️⃣ Provides daily Slack summaries of SEO performance.  

  Key Benefits  
  ✅ Monitors keyword rankings and competitor movements daily  
  ✅ Identifies content gaps and strategic opportunities with AI analysis  
  ✅ Alerts instantly to critical ranking drops for quick action  
  ✅ Centralizes SEO intelligence in Google Sheets for team visibility  
  ✅ Combines AI insights with real-time search data for comprehensive monitoring  

  Features  
  Daily automated schedule for continuous monitoring  
  AI-powered SEO strategy analysis and competitive intelligence  
  Real-time search ranking checks using Decodo scraper  
  Critical alert system for ranking drops  
  Google Sheets integration for data centralization  
  Slack and Gmail notifications for team awareness  
  Configuration validation and error logging  
  Structured data parsing for consistent reporting  

  Requirements  
  OpenAI API credentials for AI analysis  
  Decodo API credentials for search scraping  
  Google Sheets OAuth2 credentials with edit access  
  Gmail OAuth2 credentials for email alerts  
  Slack Bot Token with chat:write permission  
  Environment variables for configuration settings  

  Target Audience  
  SEO and digital marketing teams 🎯  
  Content strategy and growth teams 📈  
  Competitive intelligence professionals 🔍  
  Marketing operations teams 🚀  
  Agency account managers managing multiple clients 💼  

  Step-by-Step Setup Instructions  
  1️⃣ Connect OpenAI credentials for AI analysis capabilities  
  2️⃣ Set up Decodo API credentials for search scraping functionality  
  3️⃣ Configure Google Sheets with required headers (Keyword, Rank, description, etc.)  
  4️⃣ Add Gmail and Slack credentials for alerting and notifications  
  5️⃣ Set your target keywords, competitors, and geographic focus in the configuration node  
  6️⃣ Configure the cron schedule (hourly) for daily monitoring frequency  
  7️⃣ Run once manually to verify all integrations and data flow  
  8️⃣ Activate for ongoing SEO performance tracking and alerting ✅  

  Pro Tip: Use coupon code "YARON" to get 23K requests for testing (in Decodo)

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","n8n-nodes-base.set","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.function","@n8n/n8n-nodes-langchain.agent","@decodo/n8n-nodes-decodo.decodoTool","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.if","n8n-nodes-base.googleSheets","n8n-nodes-base.gmail","n8n-nodes-base.slack","n8n-nodes-base.googleSheets","@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"]

workflow_json_compressed:
  [encoded data, 6328 characters]


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-12-24 13:02:44
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" to get 23K requests for testing the workflow with the Decodo scraper

  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, 7916 characters]


name: AI Research Paper Analysis & Documentation with Decodo, GPT & Google
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-11-01T17:26:43.691Z
updated_at: 2025-11-01T17:26:43.691Z
url: https://n8n.io/workflows/10415
scraped_at: 2025-12-24 13:02:45
description:
  This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

  Accelerate your research analysis with this Automated Research Intelligence System!  
  This workflow uses AI and web scraping to analyze research papers and articles, extracting key insights, validating content quality, and generating comprehensive research documents. Perfect for research teams, academics, and AI enthusiasts staying current with the latest developments in artificial intelligence and machine learning.

  What This Template Does
  Triggers via form submission for on-demand research URL analysis.  
  Validates URL accessibility and prepares for processing.  
  Uses Decodo scraper to extract research content from target URLs.  
  Analyzes research papers with AI for comprehensive understanding.  
  Validates summaries for accuracy, completeness, and relevance.  
  Generates key insights and actionable takeaways from research.  
  Creates professional Google Docs with formatted research summaries.  
  Evaluates research quality with AI-powered rating system.  
  Saves all research to Google Sheets for historical tracking.  
  Sends Slack alerts for high-quality research findings (9+ rating).  

  Key Benefits
  Automated research analysis saves hours of manual reading time  
  AI-powered insights extraction from complex research papers  
  Quality validation ensures accurate and relevant summaries  
  Centralized research database for team collaboration  
  Real-time alerts for breakthrough research findings  
  Professional documentation automatically generated  

  Features
  Form-based trigger for easy research submission  
  URL validation and accessibility checking  
  AI-powered research analysis and summarization  
  Decodo web scraping for reliable content extraction  
  Multi-stage validation for accuracy and relevance  
  Automated Google Docs report generation  
  Quality assessment with structured rating system  
  Google Sheets integration for research tracking  
  Slack notifications for premium research findings  
  Quality threshold filtering for optimal results  

  Requirements
  Decodo API credentials for research scraping  
  OpenAI API credentials for AI analysis  
  Google Docs OAuth2 credentials for document creation  
  Google Sheets OAuth2 credentials with edit access  
  Slack Bot Token with chat:write permission  
  Environment variables for configuration settings  

  Target Audience
  AI research teams and data scientists  
  Academic researchers and university labs  
  Machine learning engineers and developers  
  Technology innovation teams  
  Research and development departments  
  Content creators in AI/ML space  

  Step-by-Step Setup Instructions
  Connect Decodo API credentials for research scraping functionality  
  Set up OpenAI credentials for AI analysis and quality assessment  
  Configure Google Docs for automated research document generation  
  Add Google Sheets credentials for research tracking and history  
  Set up Slack credentials for high-quality research alerts  
  Customize quality thresholds for research rating (default: 6+ for processing, 9+ for alerts)  
  Test with sample research URLs to verify analysis and formatting  
  Deploy the form for team access to research analysis requests  
  Monitor research database for trends and insights  

  Pro Tip: Pro Tip: Use coupon code "YARON" to get 23K requests for testing

  This workflow transforms complex research into actionable intelligence with automated analysis, quality validation, and professional documentation!

nodes_used:
  ["n8n-nodes-base.formTrigger","n8n-nodes-base.set","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.agent","@decodo/n8n-nodes-decodo.decodoTool","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.set","n8n-nodes-base.googleDocs","n8n-nodes-base.set","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.googleDocs","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.if","n8n-nodes-base.if","n8n-nodes-base.noOp","n8n-nodes-base.slack","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, 5836 characters]


name: Collect & Analyze Reviews with Decodo Scraping
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-11-01T17:27:57.306Z
updated_at: 2025-11-01T17:27:57.306Z
url: https://n8n.io/workflows/10416
scraped_at: 2025-12-24 13:02:45
description:
  This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

  Automated Review Intelligence System

  Transform customer feedback into actionable intelligence with this Automated Review Intelligence System!  
  This workflow collects reviews from platforms like Trustpilot using advanced web scraping, analyzes sentiment and patterns with AI, and generates comprehensive business intelligence reports. Perfect for customer experience teams monitoring brand reputation and customer satisfaction across review platforms.

  What This Template Does
  Triggers manually to start review collection from specified sources.  
  Validates URL format to ensure proper review source configuration.  
  Uses AI agent with Decodo scraper to extract review data from platforms.  
  Parses and structures review data (ratings, comments, dates, locations).  
  Enriches review data with metadata and quality metrics.  
  Stores all review data in Google Sheets for historical tracking.  
  Reads aggregated reviews for comprehensive analysis.  
  Generates AI-powered summaries and key insights from review patterns.  
  Sends email reports with actionable business intelligence.  
  Provides error alerts for processing issues and invalid URLs.  

  Key Benefits
  Automated collection of customer reviews from multiple platforms  
  AI-powered sentiment analysis and pattern recognition  
  Historical tracking of review trends and customer satisfaction  
  Actionable business intelligence from customer feedback  
  Real-time alerting for review processing issues  
  Centralized review database for team visibility  

  Features
  Manual trigger for on-demand review intelligence  
  URL validation and error handling  
  AI-powered review collection and analysis  
  Decodo web scraping for reliable data extraction  
  Structured data parsing for consistent formatting  
  Google Sheets integration for data centralization  
  Automated summary generation with key insights  
  Email reporting for stakeholder communication  
  Multi-platform review source support  
  Historical trend analysis capabilities  

  Requirements
  Decodo API credentials for web scraping  
  OpenAI API credentials for AI analysis  
  Google Sheets OAuth2 credentials with edit access  
  Gmail OAuth2 credentials for email reports  
  Environment variables for configuration settings  
  Review source URLs (Trustpilot, etc.)  

  Target Audience
  Customer experience and success teams  
  Product management and development teams  
  Marketing and brand reputation managers  
  Business intelligence and analytics teams  
  Customer support operations teams  
  E-commerce and retail businesses  

  Step-by-Step Setup Instructions
  Connect Decodo API credentials for review scraping functionality  
  Set up OpenAI credentials for AI analysis and summary generation  
  Configure Google Sheets with required review data headers  
  Add Gmail credentials for report delivery and error notifications  
  Set your target review source URLs (Trustpilot, etc.)  
  Test with sample review pages to verify data extraction  
  Customize summary reports for your business intelligence needs  
  Define alert recipients for error notifications and reports  
  Run manually to generate your first review intelligence report  

  Pro Tip: Use coupon code "YARON" to get 23K requests for testing the workflow using Decodo

  This workflow ensures you stay informed about customer sentiment with automated review collection, intelligent analysis, and actionable business insights!

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.agent","@decodo/n8n-nodes-decodo.decodoTool","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.set","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.gmail","n8n-nodes-base.if","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5004 characters]


name: Automated Job Intelligence System with Decodo, AI Analysis, and Email Alerts
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-11-01T17:28:52.589Z
updated_at: 2025-11-01T17:28:52.589Z
url: https://n8n.io/workflows/10417
scraped_at: 2025-12-24 13:02:45
description:
  Stay ahead in your job search with this Automated Job Intelligence System!  
  This workflow scans company career pages daily for new job listings, uses AI to analyze job relevance and seniority levels, and sends personalized email alerts for high-priority opportunities while maintaining a comprehensive job database. Perfect for job seekers, recruiters, and career coaches tracking ideal opportunities across target companies.

  What This Template Does
  Triggers daily at 9 AM to scan for new job opportunities.  
  Retrieves company URLs from Google Sheets database.  
  Uses Decodo scraper to extract job listings from career pages.  
  Analyzes job data with AI to identify company names and positions.  
  Converts job data into individual listing items for processing.  
  Compares new jobs against existing database to filter duplicates.  
  Uses AI to assign relevance scores, seniority levels, and tech stack analysis.  
  Filters high-relevance jobs (score &gt;8/10) for priority alerts.  
  Stores all new jobs in Google Sheets for historical tracking.  
  Sends personalized email alerts for high-relevance opportunities.  

  Key Benefits
  Automated daily scanning of target company career pages  
  AI-powered relevance scoring and job matching  
  Duplicate prevention to avoid redundant notifications  
  Comprehensive job database for tracking and analysis  
  Personalized alerts for high-priority opportunities  
  Time-saving automation for job search activities  

  Features
  Daily automated scheduling for consistent monitoring  
  AI-powered job extraction and data structuring  
  Decodo web scraping for reliable career page access  
  Intelligent relevance scoring and seniority analysis  
  Duplicate detection and filtering  
  Google Sheets integration for job tracking  
  Personalized email alerts for premium opportunities  
  Multi-company monitoring capability  
  Historical job data maintenance  

  Requirements
  Decodo API credentials for web scraping  
  OpenAI API credentials for AI analysis  
  Google Sheets OAuth2 credentials with edit access  
  Gmail OAuth2 credentials for email alerts  
  Slack Bot Token for error notifications (optional)  
  Environment variables for configuration settings  

  Target Audience
  Job seekers and career changers  
  Recruitment and talent acquisition teams  
  Career coaches and placement agencies  
  HR professionals monitoring competitor hiring  
  Technology professionals tracking market opportunities  
  University career services and placement offices  

  Step-by-Step Setup Instructions
  Connect Decodo API credentials for career page scraping  
  Set up OpenAI credentials for job relevance analysis  
  Configure Google Sheets with company URLs and job tracking sheets  
  Add Gmail credentials for personalized job alerts  
  Optional: Set up Slack for error notifications  
  Populate company URLs in your Google Sheets database  
  Test with sample companies to verify job extraction and analysis  
  Customize relevance thresholds for your job preferences  
  Activate for daily automated job intelligence monitoring  

  Pro Tip: Use coupon code "YARON" to get 23K requests for testing (in Decodo)

  This workflow transforms your job search with automated intelligence, smart filtering, and personalized opportunity alerts!

nodes_used:
  ["@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.splitInBatches","@n8n/n8n-nodes-langchain.agent","@decodo/n8n-nodes-decodo.decodoTool","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.googleSheets","n8n-nodes-base.slack","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.splitInBatches","n8n-nodes-base.googleSheets","n8n-nodes-base.merge","n8n-nodes-base.gmail","n8n-nodes-base.noOp","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, 7380 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-12-24 13:02:41
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, 10496 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-12-24 13:02:41
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, 16932 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-12-24 13:02:43
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, 21052 characters]


name: Generate & Publish AI Faceless Videos to YouTube Shorts using Sora 2
author_name: SuS
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-12-24 13:02:42
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.  

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:
  H4sIAAAAAAAAE6VX224bNxD9FUHPosvL8OanBi4Q5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TismgBKnAHMBXEUJlsaRleQBDofK0lfc2sTUb6WURSYbMeIlDW1UpIlgpVXAlQD20yXKduzXPLqNf193tuhtd43J1eEUHo7rd1G/L9zBH19d5/ay4vjC7DWSFWGTmNpMlib69COT2I4rX3iLprOrBofzUfm02rnll+PU5rU6HokezLyeftORmjTH26YwiJjJCGW7VsgL/qT3BbQ/JS8Juo855fvP6kJbhYe0ZtA57NPLwitF5wcblg8/saB7OqqhVg2XO1Yc8lA+7wUe9ZrB8TUJwNb9vKPcwm/LdVMP/37DBGJsH5p7BIz1uUzjhob7QP+NLeff5My/1UPJzcEOuOYGb7L8ZbGJnORytcI7EcJ4cI0523zwSkWdpHOl2jsbL9nVcfQ7x0f54FvXk98I52NOx9yzWudXPwQ1czPMyDk20DIzzv/pQXPOoff/sUc4n5SdaDEXydq3D2H16qQfVD1e6u/sXa5zvqxUPAAA=


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-12-24 13:02:43
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, 8884 characters]


name: Automated BBB Lead Generation with BrowserAct
author_name: Bakir Ali
author_username: bakirali001
categories: []
created_at: 2025-11-03T15:55:00.397Z
updated_at: 2025-11-03T15:55:00.397Z
url: https://n8n.io/workflows/10473
scraped_at: 2025-12-24 13:02:43
description:
  Automated BBB Lead Generation with BrowserAct

  🚀 Overview

  This workflow automates business data extraction, duplicate checking, and email outreach using BrowserAct, Google Sheets, Gmail, and Google Gemini AI — all inside n8n.

  It’s designed for marketers, lead generation specialists, or automation developers who want to build a fully autonomous AI agent that finds businesses online, filters duplicates, and automatically sends personalized outreach emails.

  🧩 Key Features

  🌐 BrowserAct Integration — Scrapes business data (name, phone, email, website, rating) from any target site.
  🤖 AI Data Extraction Agent — Uses Google Gemini AI to clean, structure, and validate scraped data into standardized JSON.
  📊 Google Sheets Sync —

    Reads all existing records
    Checks for duplicates
    Appends new rows automatically
  ✉️ Automated Gmail Outreach —

    Validates email addresses
    Sends outreach emails to valid leads
    Logs each status (e.g., Successful, Duplicate, Pending - Invalid Email)
  ⏳ Smart Delay Control — Uses Wait node to pause execution and respect email sending limits (max 2 emails per run).

  🛠️ Included Nodes

  | Node                       | Function                                          |
  | -------------------------- | ------------------------------------------------- |
  | 🕓 Schedule Trigger    | Runs the workflow automatically on schedule       |
  | 🌍 BrowserAct          | Scrapes or extracts business data                 |
  | ⚙️ If Node             | Checks scraping results before processing         |
  | 🧠 AI Agent (Gemini)   | Extracts structured business info                 |
  | 💻 Code (JavaScript)   | Cleans and parses AI output into usable JSON      |
  | 📩 AI Agent 2 (Gemini) | Handles decision-making for email + sheet updates |
  | 📊 Google Sheets Tools | Reads, appends, and manages lead data             |
  | 📨 Gmail Node          | Sends automated outreach emails                   |
  | ⏱️ Wait Node           | Adds delay to control workflow speed              |

  🧾 How It Works

  Schedule Trigger starts the automation.
  BrowserAct fetches business listings based on defined keywords and location.
  AI Agent (Gemini) extracts business details (business_name, website_url, phone_number, email_address, rating).
  JavaScript Code Node parses the AI’s JSON response.
  AI Agent 2 (Gemini) decides:

     If duplicate → send message on your email address Duplicate data found
     If invalid email → marks as “Pending - Invalid Email”
     If valid email → sends via Gmail + updates Google Sheet
  Final output returns structured statuses for each processed business.

  🖼️ Workflow Diagram


  &gt; * Schedule Trigger
  &gt; * BrowserAct
  &gt; * AI Agent (Gemini)
  &gt; * JavaScript Code
  &gt; * Gmail & Google Sheets tools

  ![Workflow Preview]

  ⚙️ Setup Instructions

  Connect your BrowserAct, Google Sheets, Gmail, and Google Gemini API credentials.
  Define search keywords and locations inside the BrowserAct node.
  Set your Google Sheet ID in the relevant nodes.
  Customize the Gmail message if needed.
  Activate the workflow and schedule it.

  📤 Output Example

  [
    {
      "business_name": "ABC Restaurant",
      "email_sent": "Successful"
    },
    {
      "business_name": "XYZ Foods",
      "email_sent": "Duplicate - Already Exist"
    },
    {
      "business_name": "Fresh Eats",
      "email_sent": "Pending - Invalid Email"
    }
  ]

  👨‍💻 Created by

  Bakir Ali
  Automation & AI Workflow Creator — specialized in BrowserAct, Google AI (Gemini), and n8n-based automation systems.

nodes_used:
  ["n8n-nodes-base.if","n8n-nodes-base.wait","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-browseract.browserAct","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.googleSheetsTool","n8n-nodes-base.googleSheetsTool","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.splitInBatches","n8n-nodes-base.gmailTool","n8n-nodes-base.gmailTool"]

workflow_json_compressed:
  [encoded data, 7584 characters]


name: Moderate Your Discord Server using chatGPT-5 & Google Sheets (Learning System)
author_name: Cj Elijah Garay
author_username: elijahbuilds-ai
categories: []
created_at: 2025-11-03T21:38:31.499Z
updated_at: 2025-11-03T21:38:31.499Z
url: https://n8n.io/workflows/10483
scraped_at: 2025-12-24 13:02:46
description:
  Discord AI Content Moderator with Learning System

  This n8n template demonstrates how to automatically moderate Discord messages using AI-powered content analysis that learns from your community standards. It continuously monitors your server, intelligently flags problematic content while allowing context-appropriate language, and provides a complete audit trail for all moderation actions.

  Use cases are many:

  Try moderating a forex trading community where enthusiasm runs high, protecting a gaming server from toxic behavior while keeping banter alive, or maintaining professional standards in a business Discord without being overly strict!

  Good to know

  This workflow uses OpenAI's GPT-5 Mini model which incurs API costs per message analyzed (approximately $0.001-0.003 per moderation check depending on message volume)
  The workflow runs every minute by default - adjust the Schedule Trigger interval based on your server activity and budget
  Discord API rate limits apply - the batch processor includes 1.5-second delays between deletions to prevent rate limiting
  You'll need a Google Sheet to store training examples - a template link is provided in the workflow notes
  The AI analyzes context and intent, not just keywords - "I *cking love this community" won't be deleted, but "you guys are sht" will be
  Deleted messages cannot be recovered from Discord - the admin notification channel preserves the content for review

  How it works

  The Schedule Trigger activates every minute to check for new messages requiring moderation
  We'll fetch training data from Google Sheets containing labeled examples of messages to delete (with reasons) and messages to keep
  The workflow retrieves the last 10 messages from your specified Discord channel using the Discord API
  A preparation node formats both the training examples and recent messages into a structured prompt with unique indices for each message
  The AI Agent (powered by GPT-5 Mini) analyzes each message against your community standards, considering intent and context rather than just keywords
  The AI returns a JSON array of message indices that violate guidelines (e.g., [0, 2, 5])
  A parsing node extracts these indices, validates them, removes duplicates, and maps them to actual Discord message objects
  The batch processor loops through each flagged message one at a time to prevent API rate limiting and ensure proper error handling
  Each message is deleted from Discord using the exact message ID
  A 1.5-second wait prevents hitting Discord's rate limits between operations
  Finally, an admin notification is posted to your designated admin channel with the deleted message's author, ID, and original content for audit purposes

  How to use

  Replace the Discord Server ID, Moderated Channel ID, and Admin Channel ID in the "Edit Fields" node with your server's specific IDs
  Create a copy of the provided Google Sheets template with columns: message_content, should_delete (YES/NO), and reason
  Connect your Discord OAuth2 credentials (requires bot permissions for reading messages, deleting messages, and posting to channels)
  Add your OpenAI API key to access GPT-5 Mini
  Customize the AI Agent's system message to reflect your specific community standards and tone
  Adjust the message fetch limit (default: 10) based on your server activity - higher limits cost more per run but catch more violations
  Consider changing the Schedule Trigger from every minute to every 3-5 minutes if you have a smaller community

  Requirements

  Discord OAuth2 credentials for bot authentication with message read, delete, and send permissions
  Google Sheets API connection for accessing the training data knowledge base
  OpenAI API key for GPT-5 Mini model access
  A Google Sheet formatted with message examples, deletion labels, and reasoning
  Discord Server ID, Channel IDs (moderated + admin) which you can get by enabling Developer Mode in Discord

  Customising this workflow

  Try building an emoji-based feedback system where admins can react to notifications with ✅ (correct deletion) or ❌ (wrong deletion) to automatically update your training data
  Add a severity scoring system that issues warnings for minor violations before deleting messages
  Implement a user strike system that tracks repeat offenders and automatically applies temporary mutes or bans
  Expand the AI prompt to categorize violations (spam, harassment, profanity, etc.) and route different types to different admin channels
  Create a weekly digest that summarizes moderation statistics and trending violation types
  Add support for monitoring multiple channels by duplicating the Discord message fetch nodes with different channel IDs
  Integrate with a database instead of Google Sheets for faster lookups and more sophisticated training data management

  If you have questions 
  Feel free to contact me here:

  elijahmamuri@gmail.com
  elijahfxtrading@gmail.com

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.discord","n8n-nodes-base.discord","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.discord","n8n-nodes-base.code","n8n-nodes-base.wait","n8n-nodes-base.set","n8n-nodes-base.splitInBatches"]

workflow_json_compressed:
  [encoded data, 6672 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-12-24 13:02:41
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, 7756 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-12-24 13:02:41
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, 9052 characters]


name: Generate Custom Branded PDF Invoices from QuickBooks & Email to Clients
author_name: Chintan Prajapati
author_username: satva-technolabs
categories: []
created_at: 2025-11-06T06:53:47.515Z
updated_at: 2025-11-06T06:53:47.515Z
url: https://n8n.io/workflows/10553
scraped_at: 2025-12-24 13:02:46
description:
  Automated QuickBooks Invoice to Custom PDF & Email

  This n8n workflow automates the entire QuickBooks invoicing process — from creation to delivery. When a new invoice is generated in QuickBooks Online, it automatically fetches the data, applies your company branding, converts it into a professional multi-page PDF via Gotenberg, and emails it directly to your client.

  Key Features:

  ⚡ Fully Automated: Triggers instantly on new QuickBooks invoices.

  🧾 Custom Branding: Adds your logo and signature from public URLs.

  🎨 Modern PDF Design: Clean, professional multi-page layout with smart totals and “Page X of Y” footers.

  📧 Automatic Emailing: Sends the final PDF in a formatted email to your customer.

  Requirements:
  QuickBooks Online, n8n instance, Gotenberg (HTML→PDF converter), and public URLs for logo/signature.

nodes_used:
  ["n8n-nodes-base.webhook","n8n-nodes-base.quickbooks","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.extractFromFile","n8n-nodes-base.extractFromFile","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.html","n8n-nodes-base.convertToFile","n8n-nodes-base.httpRequest","n8n-nodes-base.emailSend","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","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keNoYa15Ts6s3zy+rTIlQvGmqFkYrxfOmSnE8KrzoIL8F4VMlS3yJkVTRpbYqFunWWzlGD4SLvaX9bhcWyR/1WBhTji+2mbej4jCtC99YV1vkIl47DQJtOzhXDbWIaBcWvUHelNp0YFONzMQg+Pdqm4SAfCjx6ryPTBhUVELkZOMkezTjGJ2eV0wcn8qqlfntbvaYsiFGHNv2ibs2RunELcxKr4wTMqMQoqy3tNBtXupK8NeA8M9RQ6EjqzAI5TefSxmQtchNxEBTOB3VUKfJhpUwD1STABkRhXlmKKCJ25ZIpQzKWVCBGEIOg8nxQpfiPR1RYWxA0DaBBkMgBDXuBo2QmK+0Ceu3RDIKOd7eToN486BXTQEOO3igbGLhgqStrUmPtDVU/qbF1WCJXg6D6bFDwpMGGPxhvpoH6zIXwAAxSJDxUmoWSNQ3BQRRB+uODHgQ1Z4NKMGqufzSiBgp3VnKa7ulEKVCBUbJphnQOA918pBqJ6Pmc1CLOPkq0mp7XmLpN+uUjYyE9IfXs7NDVqqM5b8jp353TjTDjl97uO2IZne2HjZ0eV/9rgd9bONHVhmxMbCuDpk51/CFbUxruSUNDs/BPzRLc2zs5c53K1MnZZ9C101eoU7ZOXgwGbZ0eeYdsTRs+R+rwkWv3T03c90J57P0hqxOvAoMWH///ZPgkTP1P4tjo/Psej/9NMPXd0Yv7gMd3d/8C8t7f9e0SAAA=


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-12-24 13:02:41
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, 5380 characters]


name: Automate Hotel Booking Requests from Gmail to Google Sheets with GPT-5-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-12-24 13:02:42
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-5-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-5-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-5 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-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","@n8n/n8n-nodes-langchain.lmChatOpenAi"]

workflow_json_compressed:
  [encoded data, 13848 characters]


name: Automate Bank Statement and Invoice Reconciliation with GPT and Google Sheets
author_name: Chintan Prajapati
author_username: satva-technolabs
categories: []
created_at: 2025-11-07T05:27:00.287Z
updated_at: 2025-11-07T05:27:00.287Z
url: https://n8n.io/workflows/10581
scraped_at: 2025-12-24 13:02:44
description:
  🟢 Manual Trigger

  Workflow starts manually to initiate the reconciliation process on demand.

  📄 Fetch Invoices & Bank Statements

  Retrieves invoice data and bank statement data from Google Sheets for comparison.

  🔀 Merge Data

  Combines both datasets into a single structured dataset for processing.

  🧩 Format Payload for AI

  Function node prepares and structures the merged data into a clean JSON payload for AI analysis.

  🤖 AI Reconciliation

  AI Agent analyzes the invoice and bank statement data to identify matches, discrepancies, and reconciled entries.

  🧮 Parse AI Output

  Parses the AI response into a structured format suitable for adding back to Google Sheets.

  📊 Update Sheets

  Adds the reconciled data and reconciliation results into the target Google Sheet for recordkeeping.


  🧾 Prerequisites

  ✅ OpenAI API Credentials
  Required for the AI Reconciliation node to process and match transactions.

  Add your OpenAI API key in n8n → Credentials → OpenAI.

  ✅ Google Sheets Credentials
  Needed to read invoice and bank statement data and to write reconciled results.
  Add credentials in n8n → Credentials → Google Sheets.

  ✅ Google Sheets Setup
  The connected spreadsheet must contain the following tabs:
  Invoices – for invoice data
  Bank_Statement – for bank transaction data
  Reconciled_Data – for storing the AI-processed reconciliation output

  ✅ Tab Structure & Required Headers

  Invoices Sheet Columns:
  Invoice_ID
  Invoice_Date
  Customer_Name
  Amount
  Status

  Bank_Statement Sheet Columns:
  Transaction_ID
  Transaction_Date
  Description
  Debit/Credit
  Amount

  Reconciled_Data Sheet Columns:
  Invoice_ID
  Transaction_ID
  Matched_Status
  Remarks
  Confidence_Score

  ⚙️ n8n Environment Setup

  Ensure all nodes are connected correctly and the workflow has permission to access the required sheets.

  Test each fetch and write operation before running the full workflow.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.switch","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.if","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","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"]

workflow_json_compressed:
  H4sIAAAAAAAAE52Y227bRhCGX0XgtTbd88FXTdIGDdqkRZOmBYIgmN2dlYlIlCHROcAwkMdoXy9P0iHtRLRNOaJuDFlazn47x395UdW5Oqk+nC1UKGe/hvxcPYJ/fqnm1QpbqE4uqrrZttAkfNqtk64UBG1MyVYrnyAkx4sDoaXh2ZlivI4ek9IicZ2V0ik5qVwMMgRrJNltcXW2hBYfbzBvX2B7fvZ4Td9gi7RBuznHy3nVwAppt0fQvJv9iWndpHpZQ1uvm9nDp50NWGyrk9dvaOU6Y/fx4uoc3mGUChzDHDjTxhcWUlYsBa+EgeS549U3+3+fYjNLyzq9q5vF7Mvnf3/+iOm8xdmH9eZdWa4/fPn8X7fbp7NudeMb1m/HImzxwQqac1i+3NSLBW5o1dl6W3eEBOOtnjOjNfGdwYb2anFDkBeXV7Ze0X/9QnE5v+bmHAFkTKwIrpm21rLInWCFZ5TkT/o27LifNu/XdcLZT0Ah2se3WK8XS3xxithub+IJqeScWWO/x6cfuG+EgDYKQGRKQWDaI7AoBDJbsrSOYk7nrW5G7kVLYV5h0+9/HKRWcgqkyBkTcsu8iBT+6AUD55HCT79kKaKNZQf5+xk2D5/OHp9CO3tGTMsd5o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YyS2smkSnfRD+LI2qc+L2kQOVIoxKdzCdStgmRcGEvz1AinzSipm0zaiSAitRN9Squ7ufyediqw3OK82mLb0p27fxT7Szct/X2TqZ+fVO9FZ+P91fP9a4fgjKdrsGUJu1JMxrMAQrLik1Gk7jH67ogE0WAvAHrDJKro74ruOoT++qJ/V3C/uunXzqu6yfixOuEEPvLYPWrjzvNv6CBXN54xkgPvHaNWr68CY2bv6PH7jjVUnvetuyNe7lu8X3SPnuXG+4zRE928NI4auf3KYbIdcWXn7lsBsgT12+7ifE535uvvBlaPupbfsXj7POOCbOxU31VGo/7a99TYDrfvnaMG78/mMbNHOW5074Pe5I0hjL9Ku73H/Nv6vS+2RrGmHHC0Qdwvykf2vLz8H5hTy2zSFQAA


name: Fetch Odoo Customer Data and Export to JSON or Excel
author_name: V3 Code Studio
author_username: v3codestudio
categories: []
created_at: 2025-11-07T13:47:55.468Z
updated_at: 2025-11-07T13:47:55.468Z
url: https://n8n.io/workflows/10599
scraped_at: 2025-12-24 13:02:44
description:
  Odoo Customers API – Export to JSON or Excel

  Odoo Customers API – Export to JSON or Excel provides a simple way to fetch customer records from your Odoo database and get them back either as a structured JSON response or a downloadable Excel (.xlsx) file.

  ⚙️ What it does
  Listens for HTTP GET requests on the endpoint /api/v1/get-customers.
  Checks for the required name parameter and builds a search filter automatically.
  Queries the res.partner model to return only customer contacts (is_company = false).
  Delivers results in JSON by default, or as an Excel (.xlsx) export when response_format=excel is included.

  📥 Parameters

  name — Required. Used for partial matching on customer names (via Odoo’s Like filter).
  response_format — Optional. Accepts json (default) or excel.

  🔗 Examples
  Excel Example
  GET /api/v1/get-customers?name=Demo&response_format=excel
  JSON Example
  GET /api/v1/get-customers?name=Demo&response_format=json

  🧩 Default fields
  display_name, name, email, phone, mobile, parent_id, company_id, country_code, country_id

  🛠️ Setup
  Open the Odoo node and connect your Odoo API credentials.
  Adjust the fieldsList in the node if you want to include more data fields (e.g., address, city, or VAT).
  Trigger the flow from its webhook URL or run it manually inside n8n to test the output.

  💡 Notes
  Built and tested for n8n v1.108.2+

nodes_used:
  ["n8n-nodes-base.webhook","n8n-nodes-base.function","n8n-nodes-base.function","n8n-nodes-base.if","n8n-nodes-base.convertToFile","n8n-nodes-base.respondToWebhook","n8n-nodes-base.respondToWebhook","n8n-nodes-base.stickyNote","n8n-nodes-base.odoo","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.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE7VZbW/bRhL+K1s2iCVDq5DLdxW+Ik1anIsmziVGA1xkxMvdpcVaIlWRsqNzBeTT/YDDfTng7s/ll9zMLinKemvcy/WKnkjuzs488/LMrO+siaq4NbizsryseC7UqbQGVpC4KhKBcG0h0yS1Axa53E25H9pOELtMBImnROzHURwIX/heoFI/Cvw0DeIwTR1r2bPyQqrSGrwD0Sgy9Bl3eBJQFnqCeqkd0zhJHaqYTLjneJzDNtjFJwpWv1ZCZTeKPCsmU54vyGv161yVFa6oFlNckUc51UfQhJeqf6uSUVFcw/dpUWZVVuRwNI2coOc6PrvoWfUCbd6VqqjQkjPYP5+DgrCPz+DsSs1KhGPKqxGsfMKn2ZMb54neMS+rYoLfe1YxxSNwJVg6U+UUHtQLUAf2NI8v8XFpFP4ZtmmdWN9Z9mpIgiAMGOeCMhkw6kkfIIn9ALX2wkDaaczSFpJXMwUqKvJ8AS8yQX7IxqDsfkTSeS40Dvch8cMVJPctbtY/M1Y8eUIEWFERAH62ICfk0S9lkb8bWvp5aF2Q334jd8thvlqYaoVKWPruQr/OUtLRq/toQrdZ0J/Oy1EHJOHbodUjQ+un7Fr/aldfdDdEiGKeV7PFtpT6w3sBehtpJ62o+mMtzeg5ziZZBVqaFebpWwJglOo0rzprr7tkQJi/trVx7fu0mE14K2TzPUBzhHAd6b0zVc1nOXl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uVdwX9eFnZOb1QnNvIT3JxMzc/cPjZeR9EXghpRxCb2d8HzKE30RpXiiYp76Su3B1n04tp79udiyMDiE7RtNqgBxPf01PDnMKfkLMDmwpyarJkwvoQoeHz+rS/I5T8bq+HjV5EAtXyNZABs5FsHeTa+0rmLZ3wwv1BW+ZgRNBnVlQidgB6Sk3nZ8jJgMCGZY3RdgayIAM1qqHHG6Uf3j4wP+8hPbjhVzoCj6MdRcSAi8PqW25ylfuNCpJ9Eef3kP9xeMRl/EXc3sqDsADHQgNozRVQ+C5YoU5ubgEOOkzNY3yWFqp9SLgHuShDs0lHEaOpFSSejvsd5/sPXMjr6M9WZ436DXYQ7T/E7KJZ/+/o9Vz8ZX3RjG7FqXBgF1hu3cbYaXJM1y3dnpyau5INHXEwcgdZLQkQ7zAMMQSJw5Aiogk1QEYRKoII2FvRZQpuLo9lX7EhMEyj92SGaQ1LodGMPlBsg+zEQ7R9ZfymfNnbo+8pHurftwcmf7WoWtzPEAJy8JGGVRCKN3xBMKDAGEkUYsDCWkh2PviZDgwRHiO+zL5sfzBtPvWjAPOU+GUojU9ihjdoyTOY6yrg+jpp9EzA55aMs91oYPthb/ovJl8sEEjFrF8gELWRgBC4UhTUO8T+ES/Mlj6AICXwgvAqpSbI+F0YMtdBz2hfjpdVPYYCq4VQnVc4zOy9bqw7QcpG4Edd1hEsJYckZjKPsU6NgTaRS4CQv3mB3/AbPdoOe6/1ezf6fAX2hBuRKrhn5jXIA30L2jttAv56YyHL7s1st7VpZL9cEa2MsLbGW3bwx3CT50I7dT7E5Ndkn+/Xvcg/I3/wC464h9c9ZuPPbpsxuWhxX/rRN7eyDeuCXcqenePwsfioy9fzDdc8Rn2bfTr/tvoncctVz+F/FwSNt9HwAA


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-12-24 13:02:45
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: Real-Time Stock Insights Using xAI
author_name: DevCode Journey
author_username: devcodejourney
categories: []
created_at: 2025-11-08T04:17:22.349Z
updated_at: 2025-11-08T04:17:22.349Z
url: https://n8n.io/workflows/10615
scraped_at: 2025-12-24 13:02:45
description:
  Who is this for?
  This n8n workflow is designed for investors, financial analysts, automated trading system developers, and finance enthusiasts who require daily, comprehensive, data-driven insights into specific stock symbols. It's perfect for users who need to automate the complex process of combining technical indicators, news sentiment, professional analyst ratings, and social media buzz into a single, actionable recommendation. This system provides a 24/7 automated "analyst" for portfolio monitoring.

  What this Workflow Does
  This n8n workflow executes a daily, multi-faceted analysis of a target stock. It starts by gathering all relevant data (price history, news, ratings, social posts) and processes it through specialized Code nodes to calculate technical indicators (SMA, RSI), determine price predictions (Linear Regression), and perform sentiment analysis on news and social media. Finally, it uses a weighted model to synthesize all data into a single, comprehensive Buy/Sell/Hold recommendation and delivers a detailed report via Telegram.

  Key Features
  Daily Scheduling**: Automatically triggers analysis every day at a specified time (e.g., 9:00 AM).
  Multi-Factor Analysis: Combines **four key domains for a holistic view: Technical, Prediction, News Sentiment, Analyst Ratings, and Social Sentiment.
  Technical Indicator Calculation: Calculates **SMA (20, 50, 200), RSI (14-day), and identifies Support/Resistance levels.
  Price Prediction: Uses **Simple Linear Regression to forecast a 7-day price trend and generate an initial recommendation.
  Sentiment Analysis: Custom Code nodes perform **keyword-based sentiment analysis on news articles and social media posts.
  Composite Recommendation: A weighted model combines all analysis scores (35% Technical, 25% News, 25% Analyst, 15% Social) to generate a **final recommendation, confidence score, and summary.
  Automated Alerting: Delivers a fully formatted, easily readable **Markdown report via Telegram.

  Requirements
  API Configuration Node**: A preliminary node (implied by the expression references) containing:
      Target stockSymbols (e.g., TSLA, AAPL).
      telegramChatId for receiving the report.
      API Keys for data sources (e.g., a Financial Data API for price/news/ratings, a Social Media API).
  Telegram Credentials**: For the Telegram node to send the final message.
  Financial Data Source Workflow**: Requires preceding nodes (not fully visible) to fetch:
      Historical price data (required for SMA/RSI/Regression).
      Recent news headlines and summaries.
      Recent analyst ratings.
      Social media data (e.g., from Twitter/StockTwits).
  n8n Instance**: Self-hosted or cloud-based n8n installation.

  How to Use
  Step-by-Step Setup
  1. Configure Scheduling
  Open the "Daily Stock Check" node.
  Set the interval rule to the precise hour you want the report to run (e.g., 9:00 AM).

  2. Configure Stock Symbol and Telegram
  In the (implied) "API Configuration" node, set the stockSymbols you wish to track.
  Set the target telegramChatId where the report will be delivered.
  Ensure your Telegram credentials are set up in n8n.

  3. Verify Data Fetching Nodes
  Ensure the nodes feeding data into "Analyze Stock Trends," "Analyze News Sentiment," "Process Analyst Ratings," and "Analyze Social Sentiment" are correctly configured to fetch the required historical price, news, ratings, and social data.

  4. Adjust Analysis Weights (Advanced)
  If you wish to change the importance of different factors, edit the WEIGHTS object inside the "Generate Comprehensive Recommendation" Code node.
      Default Weights: Technical (0.35), News (0.25), Analyst (0.25), Social (0.15).

  5. Test the Workflow
  Manually execute the workflow to ensure all Code nodes process the incoming data correctly and the "Send Telegram Alert" successfully delivers the final, formatted message.

  Workflow Components
  The workflow is structured into three main phases: Data Processing, Recommendation Synthesis, and Reporting.

  1. Data Processing and Indicator Calculation
  | Node Name | Type | Key Functionality |
  | :--- | :--- | :--- |
  | Daily Stock Check | Schedule Trigger | Initiates the entire workflow daily at the set time. |
  | Analyze Stock Trends | Code | Calculates Technical Indicators: SMA (20, 50, 200), RSI (14-day), Volume Trend, and Support/Resistance levels. |
  | Predict Future Trends | Code | Performs Simple Linear Regression on historical prices to determine slope and predict the price 7 days ahead. |
  | Analyze News Sentiment | Code | Performs keyword-based sentiment analysis on news headlines and summaries to categorize overall sentiment (positive/negative/neutral) and assign a score. |
  | Process Analyst Ratings | Code | Aggregates analyst recommendations (Buy/Hold/Sell) to calculate consensus rating and average price target. |
  | Analyze Social Sentiment | Code | Performs keyword-based sentiment analysis on social media data to determine community mood and trending hashtags. |

  2. Recommendation Synthesis
  | Node Name | Type | Description |
  | :--- | :--- | :--- |
  | Combine All Analysis | Merge | Consolidates the outputs from the four analysis branches (Technical, News, Analyst, Social) into a single data item. |
  | Generate Comprehensive Recommendation | Code | The core logic. Calculates a weighted composite score (from -100 to 100) based on all four inputs, generating the final STRONG BUY/BUY/HOLD/SELL/STRONG SELL recommendation and a numerical confidence score. |

  3. Reporting and Alerting
  | Node Name | Type | Description |
  | :--- | :--- | :--- |
  | Format Telegram Message | Set | Constructs the final detailed report message using Markdown formatting, pulling data from all preceding analysis nodes into a clear, structured report. |
  | Send Telegram Alert | Telegram | Sends the fully formatted analysis report to the pre-configured Telegram chat ID. |

  🙋 For Help & Community
  👾 Discord: n8n channel
  🌐 Website: devcodejourney.com
  🔗 LinkedIn: Connect with Shakil
  📱 WhatsApp Channel: Join Now
  💬 Direct Chat: Message Now

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.telegram","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.merge","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatAnthropic","n8n-nodes-base.set","n8n-nodes-base.merge","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.chainLlm","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.lmChatXAiGrok"]

workflow_json_compressed:
  [encoded data, 15428 characters]


name: zenTrade your AI-Powered rational Stock Trading advisor
author_name: Paul Abraham
author_username: hellopaul
categories: []
created_at: 2025-11-08T12:08:50.088Z
updated_at: 2025-11-08T12:08:50.088Z
url: https://n8n.io/workflows/10630
scraped_at: 2025-12-24 13:02:44
description:
  This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international stock markets.

    Use cases

  Automatically analyze stock trends using live candlestick data.
  Aggregate real-time news sentiment to strengthen trading confidence.
  Generate AI-backed Buy / Sell / Hold recommendations for traders.
  Build an automated Telegram trading assistant or analytics bot.
  Create a backend for AI-powered portfolio advisors or trading dashboards.

  Good to know

  This workflow integrates both market and news APIs, processes data intelligently, and leverages an AI model (Gemini or OpenAI) for trading recommendations.
  It runs smoothly on both n8n Cloud and self-hosted instances, and setup typically takes 10–15 minutes.

  Requirements

  n8n Cloud or self-hosted instance
  TwelveData API key (for fetching OHLC & candlestick data) → twelvedata.com
  NewsAPI.org key (for aggregating relevant stock news) → newsapi.org
  AI model API key (Google Gemini or OpenAI) for sentiment reasoning
  Telegram Bot Token (via @BotFather) for command input & output

  Customising this workflow

  Replace Telegram with Slack, Discord, or Notion for alternate alerts.
  Integrate TradingView or Alpaca API for executing mock trades.
  Modify the candlestick intervals (1m, 15m, 1h) or patterns as per strategy.
  Add portfolio tracking or alert thresholds for advanced users.
  Expand to cover crypto, forex, or commodities with minimal edits.

nodes_used:
  ["n8n-nodes-base.telegramTrigger","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.merge","n8n-nodes-base.aggregate","n8n-nodes-base.code","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.googleGemini","n8n-nodes-base.merge","n8n-nodes-base.aggregate","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.telegram","n8n-nodes-base.switch","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_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xm/TaPKQR5Or69RN3p6YgTeLzfLXo3m4hTfmjNBqabxnrQLoCjdC0pbRufVIyVOONtNc9UL7nlrkgunoWzdZPNTPL4XFE8JoHw+/ryiiTKkUjlvyWoGp3I9jrhF0rTFFIUKS4hxFESiQEyyWkgmaFQq30Fi40qxnmaaFIC6QXsaUsrxrOz4LKp9HHVp/nXfl+olA0tqd0kX1hd6rHYFbRcO1r9hXsWXzPIqCLi4WChz0Xsi7efn8ffJueWT6rLdrdkt6dNqFqX7G1pQlz37O+8umOTKJhNVWSQfOcB813EghIG7Ej8mpFllyP6d7lOP9YAxTSmF+mzMIFBR9BlmRe4OphcWPkxxXUX3JIuRsBjnV2ZwsqKYwcNinBjSkUosDG90mjJrVRjUVZAoFq0mc7nEQVP8WqHvewk7jjKlaUVhNakxuk54ZsudStAozdzUVgsVBTnM+Jx8SR1T+ZkSLZ+HIspwLiae8IVblAYXjtmt08EVL7YYLyZ6fovEFKYo6OqkNQkyWmxErEd6M64l7rFc5OatUHeR050dUKtZNMKCGj6Pyan7fUtnY2S5/UOH8sODBw5b5GrrZf1gNb9dM+ZaM9K25FPcfP/IWO9Vy1IT8hY2fs3zIytFpNGzuJ/qQvWNy+ri5ES+fCZFhKwfTZ8jQ2IXyqbnp/ouxO/KRT8buheOfjGr8QT+feDHk6JOr34iZQ86z7aidHftCHvmY5of3iFE7o7m+M/Q0msOGRi4tg6F69k+gwSwdFj+DBgcq5Hx3d7ZGZTBbTPNPG9F7x67ufjtaVs+WH+51f/8/mvYOz8kTAAA=


name: Instant Lead Notifications with Gmail/SMTP for Teams & Auto-Responses
author_name: V3 Code Studio
author_username: v3codestudio
categories: []
created_at: 2025-11-08T14:29:52.710Z
updated_at: 2025-11-08T14:29:52.710Z
url: https://n8n.io/workflows/10634
scraped_at: 2025-12-24 13:02:46
description:
    🚀 Never miss a new lead again — get instant email alerts and stay ahead of
      every opportunity!



    This workflow automatically notifies your team the moment a new lead is
    created in your CRM or form submission. It keeps your sales, marketing, and
    support teams aligned — so no lead goes unnoticed, and every customer feels
    heard right away.


  ✨ How it works

    
      ✅ Capture: A webhook receives new lead data from your CRM
      or online form.
    
    
      🧩 Clean: The workflow filters and formats the data for
      clear presentation.
    
    
      💌 Compose: Generates a beautiful HTML email with your
      branding and lead details.
    
    
      📨 Send: Instantly emails your team or the lead using Gmail
      or SMTP.
    
    
      ⚡ React Fast: Your team gets notified in seconds — no
      manual checks needed!
    


  ⚙️ Set up steps

    
      🔗 Add a POST webhook in your CRM or app that points to your n8n webhook
      URL.
    
    
      🏢 Update your company info (logo, name, website) in the configuration node.
    
    
      📧 Connect Gmail OAuth2 or your SMTP credentials to send branded emails
      instantly.
    



    Compatible with Odoo, HubSpot, Zoho CRM, Salesforce, Pipedrive, Typeform,
      and any system that supports outgoing webhooks.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.gmail","n8n-nodes-base.webhook","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.set","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.emailSend","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.emailSend","n8n-nodes-base.html","n8n-nodes-base.html","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.gmail","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.switch","n8n-nodes-base.switch"]

workflow_json_compressed:
  [encoded data, 8600 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-12-24 13:02:41
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, 7328 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-12-24 13:02:41
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, 5544 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-12-24 13:02:41
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, 6396 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-12-24 13:02:43
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, 13632 characters]


name: Automate Daily Google Calendar Events to Trello Cards
author_name: PrideVel
author_username: n8nwizard
categories: []
created_at: 2025-11-11T11:44:50.560Z
updated_at: 2025-11-11T11:44:50.560Z
url: https://n8n.io/workflows/10723
scraped_at: 2025-12-24 13:02:45
description:
  📋 Overview

  This n8n workflow automatically converts your Google Calendar events for the current day into Trello cards every morning at 8 AM. It fetches all calendar events for the day, filters out routine events (like Lunch or Check email), and creates neatly formatted Trello cards with a predefined meeting notes template.

  Perfect for professionals who want to keep their daily meetings and tasks synced with their Trello board.

  ⚙️ Key Features

  🕗 Runs daily at 8 AM (configurable via Cron node)
  📅 Fetches all Google Calendar events for the current day
  🚫 Skips routine/repetitive events (Lunch, Check email, etc.)
  🧩 Creates Trello cards with structured meeting notes
  🔗 Includes event URL and due date in Trello card
  🧠 Customizable filters and templates for full control

  🧱 Workflow Steps

  1. Run Daily at 8 AM (Cron Node)

  Automatically triggers the workflow every morning at 8:00 AM. You can adjust the time as needed.

  2. Calculate Today's Date Range (Function Node)

  Generates the ISO-formatted start and end times for the current day (00:00–23:59). These values are passed to the Google Calendar node for querying events.

  3. Fetch All Today's Calendar Events (Google Calendar Node)

  Fetches all events scheduled for today using your Google account. The calendar email (your-email@example.com) should be replaced with your actual email.

  4. Process Events One by One (SplitInBatches Node)

  Splits the list of events into single items for individual processing.

  5. Extract Event Details for Trello (Set Node)

  Maps each event’s details (summary, description, start time, and URL) into structured fields ready for Trello card creation.

  6. Filter Out Routine Events (If Node)

  Skips over common recurring events (like “Check email,” “Lunch,” “Wrap Up & Clear Desk,” or “Beers and Griping”). You can customize this list as needed.

  7. Create New Trello Card with Template (Trello Node)

  For non-filtered events, creates a new Trello card using a predefined meeting notes template. Includes:

  Title: Event summary
  Due date: Event start time
  Description: Preformatted meeting notes layout
  Source URL: Event link from Google Calendar

  8. Skip Filtered Event (NoOp Node)

  Handles skipped events gracefully without performing any action.

  🧰 Setup Instructions

  1. Add Credentials

  Add Google Calendar OAuth2 credentials in n8n.
  Add Trello API credentials in n8n.

  2. Replace Placeholder Values

  Update the calendar email in the Google Calendar node.
  Add your Trello board and list IDs in the Trello node.

  3. Optional Customizations

  Modify the Cron node to change trigger time.
  Edit the Trello card template to match your meeting format.
  Add labels using idLabels in the Trello node.
  Adjust the filter conditions for different recurring tasks.

  🧠 Example Use Case

  Imagine you have daily meetings in your Google Calendar. Each morning, this workflow:

  Collects all your events for the day.
  Skips unimportant ones (like lunch breaks).
  Automatically adds Trello cards for real meetings, each with a structured template for you to take notes and assign next steps.

  🧾 Example Trello Card Template

  Title: Meeting with Client A
  Due Date: 2025-11-11T10:00:00Z
  Description:

  Meeting purpose (*Integrations, Playbooks, UI Issues, Project*):

  Task

  Next Steps (*Task, Assigned to, Checkpoint Date*):

  Task

  Decisions Made (*What, Why, Impacts*):

  Task

  Discussion (*Items/Knowledge Shared*):

  Task

  ✅ Requirements

  Google Calendar OAuth2 credentials
  Trello API credentials
  Active Google Calendar with events
  A Trello board/list to create cards in

  📌 Notes

  You can adjust the workflow to run multiple times a day if needed.
  You can integrate Slack or email notifications for newly created cards.
  The workflow is lightweight and suitable for daily automation tasks.

  ✨ Tip: Combine this with n8n’s Slack or Notion integrations to get a full daily planning system that syncs your meetings, notes, and tasks automatically!

nodes_used:
  ["n8n-nodes-base.function","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.googleCalendar","n8n-nodes-base.splitInBatches","n8n-nodes-base.trello","n8n-nodes-base.noOp","n8n-nodes-base.cron","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE52WS2/bRhDHvwrBSy+aYt8P3VI7BXJoXDhBewh82MesQ5gmBXJVxzD03buUnVpVqNj0RRJXo/n/NK+dh/oWs6vXD3XTjdl1AT/Eel0HYShLSRsjZCAyMiuFsoJTFDoZdC4pHlN0OnnqfKSSGWEZN96qkKhS9arOeLtpXcazAeP4CfN2c9aXE8xYBPKwxd2q7vqIY73+UtQnVUaZodFQ8E4oEM4ocJITYJZGVFRqq1Lx3LlbLNZnrg3bSaH63Ed3/8tYnU8Pl667xkn/fjNZdaaDvUxxOuKvaduF3PRdMdj0Y7P/uP5iFVkJQ67KoRuK94xDwXrYPXr5qzzt7ehu9URKhVeE2wCSMA/CKgNOSQqOMya9wsSYeSZ9/y0PLuTq/T/Y5eq8BLxpxyr1Q/V5wLbtT9KOmP8PSpUwy0ildZSgJGCC1iAICeAJalDeO6YjJ1zyZ9Lfm7Z4rC62ubrst7np8BF6PInYpCNCo9kywqQUjV5ZwKhK1i2J4IxLQKWJwQhELcIBIebwtXrXtv9lvdQBdtENL5Fe9/11i9+tj6ipEcuoCWUeDZHAiacgvFZgMRHQjiYpWOQ+0WfqP4c+4Dg+IVYXJa7+fno7nfpN2+QP3W+u/F0cj2gFWVgFiI6pFDX4RBiIEmTwTHNQgcTo0LNE40FnDTh10ke8eyrQEuMhVndN/lp9fmrrk+D5e0kfADNi1Upq9Xpgo4yRyibgXAkQilMwhFLgQgXJouKaH4yCTzfNpnqsXYyPQT7J1/UXmxk6bsTr6bwtY08KDQmDA1HmJJSJWF4cCi+ojJIetP/ltiujqWnvK5crU7374yRbGI4nk+ZqWaYVUSFyboHwVPqdUw2mTCsgxlBCFFXsEO3vfrhJbX9Xnfdhe1vC5p6G44mizE24uf/Y79N/GEFBVpwdQ9ah7/KUinVdnwbWijiM2oIMsmSaxQCWoYTS9SyJ4KJGd5DpjJuKAluMOAXyrYiO2RitckCVxXIv7YuxcJqkvZEpUs/5ESIHsRiRUiLezFjuxxRVEFAQJQjDCLhpnio0kbpyK4VkjxglqOWMQr49jpqmJK0QQISIIJB68CoZCMp4YY2X3usjxlK9yxlNGY9LGYt1+b7D/XawN/+xbcvhrWsmibKxTCCv3kL2P1uVHSvit3pNdldXheD0ZTsn9NMZ94P/1QHhomk+S3r6+pojff26Myv204jO6S1YCWYFX+SdFX15U5pP+ouwc2qv2B9m1Ha7fwHPefXq3wsAAA==


name: Collect API User Data and Store in Google Sheets with CSV backup
author_name: PrideVel
author_username: n8nwizard
categories: []
created_at: 2025-11-11T11:47:04.185Z
updated_at: 2025-11-11T11:47:04.185Z
url: https://n8n.io/workflows/10725
scraped_at: 2025-12-24 13:02:45
description:
  🧾 Overview

  This n8n workflow automates the process of fetching user data from an API, verifying its validity, transforming the response, and then saving it to Google Sheets for team collaboration. Additionally, it generates a CSV backup file of the same data for offline access or external integrations.

  Perfect for developers, analysts, or teams who want an automated, no-code data ingestion and backup solution.

  ⚙️ Key Features

  🔌 Fetches data from any REST API endpoint (e.g., RandomUser API)
  ✅ Validates successful API responses before processing
  🧠 Transforms JSON response into simple key-value pairs (name and country)
  📊 Appends data directly into Google Sheets
  💾 Generates a downloadable CSV backup file
  🧱 Modular design — easily customizable and extendable

  🧱 Workflow Steps

  1. Start Workflow Manually (Manual Trigger Node)

  The workflow starts manually by clicking Execute Workflow. You can later replace this with a Cron or Webhook trigger for automation.

  2. Fetch User Data from API (HTTP Request Node)

  Makes an HTTP GET request to the configured API endpoint defined in the environment variable BASE_URL.

  Example:

  https://randomuser.me/api/?results=10

  This node fetches raw user data in JSON format.

  3. Verify API Response Success (If Node)

  Checks if the API response returned an HTTP 200 status code.

  ✅ If status = 200 → Continue processing data
  ❌ If status ≠ 200 → Trigger Stop and Error node to halt execution

  This prevents saving invalid or failed responses.

  4. Transform API Data to Name and Country (Function Node)

  Formats the raw JSON data to extract key details (name and country) from each user record.

  Input Example:

  {
    "results": [
      {
        "name": { "first": "John", "last": "Doe" },
        "location": { "country": "United States" }
      }
    ]
  }

  Output Example:

  [
    { "name": "John Doe", "country": "United States" }
  ]

  This step makes the data compatible with Google Sheets.

  5. Append Data to Google Sheets (Google Sheets Node)

  Appends the formatted data to your specified Google Sheet.

  Environment Variables Required:

  GOOGLE_SHEET_ID → ID of your target Google Sheet

  Configuration:

  Range:** A:B
  Columns:** Name (A) and Country (B)

  Example Google Sheet:

  | Name       | Country       |
  | ---------- | ------------- |
  | John Doe   | United States |
  | Jane Smith | Canada        |

  6. Create CSV Backup File (Spreadsheet File Node)

  Generates a .csv file named users_backup_export.csv containing all saved user data.

  This file can be:

  Stored locally
  Sent via email
  Uploaded to cloud storage (e.g., Google Drive, Dropbox)
  Used for external analytics tools

  ⚠️ Error Handling

  If the API response is invalid (non-200), the Stop on API Failure node halts the workflow and logs the error:

  &gt; ❌ API request failed — status code not 200. Workflow stopped.

  This ensures only valid data is stored.

  🧰 Setup Instructions

  Add Environment Variables:

        BASE_URL=https://randomuser.me/api/?results=10
     GOOGLE_SHEET_ID=&lt;your_google_sheet_id&gt;
     
  Add Credentials:

     Google Sheets OAuth2 credentials
     API (if authentication is required)

  Run Workflow:

     Start manually or configure a Cron node to run periodically

  Check Output:

     Data appears in your Google Sheet
     CSV file is created in n8n’s file system

  🧩 Customization Options

  | Goal                    | How to Modify                                                     |
  | ----------------------- | ----------------------------------------------------------------- |
  | Change API fields       | Edit Transform API Data function to extract desired fields      |
  | Add columns             | Expand output object and update Google Sheets range (e.g., A:D) |
  | Automate execution      | Replace manual trigger with a Cron or Webhook node                |
  | Filter users            | Add an If node after transformation to include/exclude data       |
  | Send email notification | Add Gmail or SMTP node after CSV creation                         |

  🧠 Example Use Case

  A recruiter fetches random candidate data daily from an HR API.
  Data (Name + Country) is saved to Google Sheets.
  A CSV backup is automatically generated for offline analysis.

  ✅ Benefits

  Hands-free automated data collection
  Centralized storage in Google Sheets for team access
  Built-in CSV export for reporting and backups
  Protects data integrity with API validation
  Fully customizable for any API format

  ✨ Tip: Add a Slack or Telegram node at the end to notify your team whenever new data is added successfully!

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.function","n8n-nodes-base.googleSheets","n8n-nodes-base.spreadsheetFile","n8n-nodes-base.stickyNote","n8n-nodes-base.stopAndError","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:
  H4sIAAAAAAAAE52WTW/jNhCG/4qgs1nwm1RuabYp9tBFsdmmhyKHITlMhNiSKslog8D/vWMlG2cd27V9MWBzOPP45fDlPJcLHKG8eC7rZhihifg5lRdl1F7InJ332kRukqyMtpVWArXLHgGyVSkncDkICEkY6XUllQ+VjVlYW65mZdMmHMqLvyj1OqVNQTiXFUucC6az0CwIDCwGK8B5iJmHknbBAin6ZoR+LP5s+8c8b/8pfoNmCfP5EwWMT906oPENmyqwAAP+tJgCvvX1/T32FNW1Qz3WbUP1tZ9ZJ+/oN+gp+Yg9UT2vXjLd0rcpTKxmr6AhOZPBRBZTiEwLtCwEb5iw2aGlv+Cz34Be4xgfij8G7ItPMEKR+3ZRXP7+eS/pwzh2X/HvJQ7jj5zSyWNA5RtoFpUKQXLKC4ZpL4EBBEW0iiC9TgJgA0oJ6vy0Riu+4tC1zYDFzTJGHIa9rHXekrKyJ2pZJW5NZRl3OTMt6dBBa8sUN1JGI6xycoP4rYdmyG0/Cfgi59gWX2ixgCYVV+2yGfv9PZCXTZxAf2B25ihZN8wcksygElPSc6YrnlllErKIqBAEdWp0G+bLrkNi+w77a9vez0nYB8Rxv673U9Rb0Dvayp2osE2ajjklljQPTBtnWFDKMm8Ulw68tL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