# templates

name: Creative Design Agency Simulation with OpenAI O3 and GPT-4.1-mini Multi-Agent
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-02T18:03:54.373Z
updated_at: 2025-08-02T18:03:54.373Z
url: https://n8n.io/workflows/6914
scraped_at: 2025-12-24 13:02:42
description:
  Creative Design Agency Simulation with OpenAI O3 and GPT-4.1-mini Multi-Agent Team

  This n8n workflow simulates a full-service creative agency powered by AI. At the center is a Creative Director Agent (O3 model) who takes client requests, plans the creative direction, and delegates work to a specialized design team. Each specialist runs on GPT-4.1-mini, keeping execution fast and cost-efficient.

  🟢 Section 1 – Entry & Strategic Leadership

  Nodes:

  💬 When chat message received → Entry point, listens for design briefs.
  🎨 Creative Director Agent (O3) → The “agency head” who interprets requirements and decides which specialists to involve.
  💡 Think Tool → Helps the Director brainstorm, evaluate alternatives, and refine direction.
  🧠 OpenAI Chat Model Director (O3) → Strategic reasoning engine for the Director.

  ✅ Benefit for beginners: Think of this as the project manager’s desk — you submit a design request, and the Director figures out how to make it happen.

  ✍️ Section 2 – Core Creative Specialists

  Nodes:

  🖼️ Graphic Designer → Logos, visual identity, print, packaging.
  📱 UI/UX Designer → Wireframes, prototypes, interaction design.
  🎯 Brand Strategist → Market positioning, brand guidelines, competitive research.
  📝 Creative Copywriter → Taglines, messaging, campaign copy.

  Each agent is powered by GPT-4.1-mini.

  ✅ Benefit for beginners: This section is your creative studio team — they craft visuals, design user experiences, and write compelling words.

  🚀 Section 3 – Extended Design & Motion Team

  Nodes:

  🎬 Motion Graphics Designer → Animations, promo videos, explainer graphics.
  🌐 Web Designer → Websites, responsive layouts, accessibility improvements.
  🖌️ OpenAI Chat Model Agents (GPT-4.1-mini) → Back each specialist with creative power.

  ✅ Benefit for beginners: This section brings motion and web into the mix, ensuring your creative package isn’t static — it moves, animates, and lives online.

  📊 Summary Table

  | Section             | Key Roles                         | Model        | Purpose               | Beginner Benefit                      |
  | ------------------- | --------------------------------- | ------------ | --------------------- | ------------------------------------- |
  | 🟢 Entry & Strategy | Chat Trigger, Director, Think     | O3           | Leadership & planning | Turns briefs into action plans        |
  | ✍️ Core Creatives   | Graphic, UI/UX, Brand, Copywriter | GPT-4.1-mini | Design & content      | Produces visuals, UX, and words       |
  | 🚀 Extended Team    | Motion Graphics, Web              | GPT-4.1-mini | Motion & web design   | Animates, builds, and scales projects |

  🌟 Why This Workflow Rocks

  Complete agency in a box** → Strategy + Design + Motion + Web + Copy
  Smart leadership** → Director (O3) only used for high-level thinking
  Cost-effective execution** → GPT-4.1-mini runs most tasks
  Parallel creativity** → Specialists work simultaneously
  Scalable** → Adaptable to any design or branding request

  👉 Example: Send a message like “Design a brand identity for a sustainable clothing startup”.
  Within minutes, your AI agency produces:

  A logo & color scheme 🎨
  A UX prototype 📱
  A brand positioning doc 🎯
  Animated ad ideas 🎬
  Website mockups 🌐
  A tagline & ad copy ✍️

nodes_used:
[cell repeats an earlier one in this file: 668 characters]

workflow_json_compressed:
  [encoded data, 4656 characters]


name: Amplify Social Media Presence with O3 and GPT-4 Multi-Agent Team
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-02T18:04:18.274Z
updated_at: 2025-08-02T18:04:18.274Z
url: https://n8n.io/workflows/6915
scraped_at: 2025-12-24 13:02:44
description:
  Amplify Social Media Presence with O3 and GPT-4 Multi-Agent Team

  🌍 Overview

  This n8n workflow acts like a virtual social media department. A Social Media Director Agent coordinates multiple specialized AI agents (Instagram, Twitter/X, Facebook, TikTok, YouTube, and Analytics). Each agent creates or analyzes content for its platform, powered by OpenAI models.

  The result? A fully automated, cross-platform social media strategy—from content creation to performance tracking.

  🟢 Section 1: Trigger & Director Setup

  🔗 Nodes:

  When chat message received (Trigger)** → Starts the workflow whenever you send a request (e.g., “Plan a TikTok campaign for my product launch”).
  Social Media Director Agent* (connected to *OpenAI O3 model**) → Acts as the strategist.
  Think Tool** → Helps the Director “reason” before delegating.

  💡 Beginner takeaway:
  This section makes your workflow interactive. You send a request → the Director decides the best approach → then it assigns tasks.

  📈 Advantage:
  Instead of manually planning content per platform, you only send one command, and the AI Director handles the strategy.

  🟦 Section 2: Specialized Social Media Agents

  🔗 Nodes (each paired with GPT-4.1-mini):

  📸 Instagram Content Creator → Visual storytelling, Reels, Hashtags
  🐦 Twitter/X Strategist → Viral tweets, trends, engagement
  👥 Facebook Community Manager → Audience growth, ads, group engagement
  🎵 TikTok Video Creator → Short-form video, viral trends
  🎬 YouTube Content Planner → Long-form strategy, SEO, thumbnails
  📊 Analytics Specialist → Performance insights, cross-platform reporting

  💡 Beginner takeaway:
  Each platform has its own AI expert. They receive the Director’s strategy and produce tailored content for their platform.

  📈 Advantage:
  Instead of one-size-fits-all posts, you get optimized content per platform—increasing reach and engagement.

  🟣 Section 3: Models & Connections

  🔗 Nodes:

  OpenAI Chat Models** (O3 + multiple GPT-4.1-mini models)
  Each model is connected to its respective agent.

  💡 Beginner takeaway:
  Think of these as the “brains” behind each specialist. The Director uses O3 for advanced reasoning, while the specialists use GPT-4.1-mini (cheaper, faster) for content generation.

  📈 Advantage:
  This keeps costs low while maintaining quality output.

  📊 Final Overview Table

  | Section               | Nodes                                                    | Purpose                                | Benefit                        |
  | --------------------- | -------------------------------------------------------- | -------------------------------------- | ------------------------------ |
  | 🟢 Trigger & Director | Chat Trigger, Director, Think Tool                       | Capture requests & plan strategy       | One command → full social plan |
  | 🟦 Specialists        | Instagram, Twitter, Facebook, TikTok, YouTube, Analytics | Platform-specific content              | Optimized posts per platform   |
  | 🟣 Models             | O3 + GPT-4.1-mini                                        | Provide reasoning & content generation | High-quality, cost-efficient   |

  🚀 Why This Workflow is Powerful

  Multi-platform coverage**: All major platforms handled in one flow
  Human-like strategy**: Director agent makes real marketing decisions
  Scalable & fast**: Generate a full campaign in minutes
  Cost-effective**: O3 only for strategy, GPT-4.1-mini for bulk content
  Beginner-friendly**: Just type your request → get full campaign output

nodes_used:
[cell repeats an earlier one in this file: 668 characters]

workflow_json_compressed:
  [encoded data, 4644 characters]


name: Create Viral LinkedIn Content with O3 & GPT-4.1-mini Multi-Agent Team
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-02T18:04:42.673Z
updated_at: 2025-08-02T18:04:42.673Z
url: https://n8n.io/workflows/6916
scraped_at: 2025-12-24 13:02:43
description:
  Create Viral LinkedIn Content with O3 & GPT-4.1-mini Multi-Agent Team

  This n8n workflow is a multi-agent LinkedIn content factory.
  At its heart is the Content Director Agent (O3 model), who acts as the project manager. It listens for LinkedIn chat messages, analyzes them, and coordinates a team of AI specialists (all powered by GPT-4.1-mini) to produce viral, engaging, and optimized LinkedIn content.

  🟢 Section 1 – Workflow Entry & Strategy Layer

  Nodes:

  🔔 When chat message received → Captures LinkedIn requests (your idea, draft, or prompt).
  🧠 Content Director Agent (O3) → Acts as the leader, deciding how the content should be structured and which specialists to call.
  💡 Think Node → Helps the Director brainstorm and evaluate possible approaches before delegating.
  🤖 OpenAI Chat Model Director (O3) → The Director’s brain, providing strategic-level thinking.

  ✅ Beginner-friendly benefit: This section is like the “command center.” Any LinkedIn content request starts here and gets transformed into a clear, strategic plan before moving to specialists.

  ✍️ Section 2 – Content Creation Specialists

  Nodes:

  ✍️ LinkedIn Copywriter → Creates viral hooks, compelling posts, and platform-friendly messaging.
  🎓 Domain Expert → Ensures technical accuracy and industry authority in the post.
  📝 Proofreader & Editor → Polishes content for grammar, tone, and style.

  Each agent connects to its own GPT-4.1-mini model for cost-efficient, specialized output.

  ✅ Beginner-friendly benefit: This section is like your content writing team—from drafting, to adding expertise, to polishing for professional LinkedIn standards.

  🚀 Section 3 – Engagement & Optimization Specialists

  Nodes:

  🚀 Engagement Strategist → Crafts hashtags, posting times, and audience growth strategies.
  🎨 Visual Content Strategist → Designs carousels, infographics, and visual ideas.
  📊 Content Performance Analyst → Tracks analytics, measures performance, and suggests improvements.

  Each of these also relies on GPT-4.1-mini, keeping cost low while delivering specialized insights.

  ✅ Beginner-friendly benefit: This section is like your growth & marketing team—they ensure your content doesn’t just look good but also performs well and reaches the right audience.

  📊 Summary Table

  | Section                      | Key Nodes                              | Role                 | Beginner Benefit                        |
  | ---------------------------- | -------------------------------------- | -------------------- | --------------------------------------- |
  | 🟢 Entry & Strategy          | Trigger, Director, Think, O3 Model     | Strategy & planning  | Turns your idea into a clear strategy   |
  | ✍️ Content Creation          | Copywriter, Domain Expert, Proofreader | Writing & refinement | Produces expert-level, polished content |
  | 🚀 Engagement & Optimization | Engagement, Visuals, Analytics         | Growth & performance | Maximizes reach, visuals, and results   |

  🌟 Why This Workflow Rocks

  All-in-one content team** → Strategy + Writing + Optimization
  Low cost** → O3 only for strategy, GPT-4.1-mini for specialists
  Parallel agents** → Work simultaneously for faster results
  Scalable** → Reusable for any LinkedIn content need

  👉 Even a beginner can use this workflow: just send a LinkedIn content idea (e.g., “Write a post on AI in finance”), and your AI team handles the rest—writing, polishing, visuals, and engagement tactics.

nodes_used:
[cell repeats an earlier one in this file: 668 characters]

workflow_json_compressed:
  [encoded data, 4680 characters]


name: Automate Vendor Contract Renewals & Reminders with GPT-4.1 mini, Slack & Gmail
author_name: Trung Tran
author_username: trungtran
categories: []
created_at: 2025-08-03T13:24:37.325Z
updated_at: 2025-08-03T13:24:37.325Z
url: https://n8n.io/workflows/6935
scraped_at: 2025-12-24 13:02:45
description:
  📝 Smart Vendor Contract Renewal & Reminder Workflow With GPT 4.1 mini
  Watch the demo video below:

  Never miss a vendor renewal again!
  This smart workflow automatically tracks expiring contracts, reminds your finance team via Slack, and helps initiate renewal with vendors through email — all with built-in approval and logging. Perfect for managing both auto-renew and manual contracts.
  📌 Who’s it for
  This workflow is designed for Finance and Procurement teams responsible for managing vendor/service contracts. It ensures timely notifications for expiring contracts and automates the initiation of renewal conversations with vendors.

  ⚙️ How it works / What it does

  ⏰ Daily Trigger
     Runs every day at 6:00 AM using a scheduler.

  📄 Retrieve Contract List
     Reads vendor contract data from a Google Sheet (or any data source).
     Filters for contracts nearing their end date, using a Notice Period (days) field.

  🔀 Branch Based on Renewal Type
     Auto-Renew Contracts:
       Compose a Slack message summarizing the auto-renewal.
       Notify the finance contact via Slack.

     Manual Renewal Contracts:
       Use an OpenAI-powered agent to generate a meaningful Slack message.
       Send message and wait for approval from the finance contact (e.g., within 8 hours).
       Upon approval, generate a formal HTML email to the vendor.
       Send the email to initiate the contract extension process.

  📊 (Optional) Logging
     Can be extended to log all actions (Slack messages, emails, approvals) to Google Sheets or other databases.

  🛠️ How to set up

  Prepare your Google Sheet
     Include the following fields:
       Vendor Name, Vendor Email, Service Type, Contract Start Date, Contract End Date, Notice Period (days), Renewal Type, Finance Contact, Contact Email, Slack ID, Contract Value, Notes.
       Sample: https://docs.google.com/spreadsheets/d/1zdDgKyL0sY54By57Yz4dNokQC_oIbVxcCKeWJ6PADBM/edit?usp=sharing

  Configure Integrations
     🟢 Google Sheets API: To read contract data.
     🔵 Slack API: To notify and wait for approval.
     🧠 OpenAI API (GPT-4): To generate personalized reminders.
     ✉️ Email (SMTP/Gmail): To send emails to vendors.

  Set the Daily Scheduler
     Use a Cron node to trigger the workflow at 6:00 AM daily.

  ✅ Requirements

  | Component                        | Required |
  |----------------------------------|----------|
  | Google Sheets API                | ✅       |
  | Slack API                        | ✅       |
  | OpenAI API (GPT-4)               | ✅       |
  | Email (SMTP/Gmail)               | ✅       |
  | n8n (Self-hosted or Cloud)       | ✅       |
  | Contract Sheet with proper schema| ✅       |

  🧩 How to customize the workflow
  Adjust Reminder Period**: Modify the logic in the Find Expiring Vendors node (based on Contract End Date and Notice Period).
  Change Message Tone or Format**: Customize the OpenAI agent's prompt or switch from plain text to branded HTML email.
  Add Logging or Tracking: Add a node to append logs to a **Google Sheet, Notion, or database.
  Replace Data Source: Swap out Google Sheets for **Airtable, PostgreSQL, or other CRM/database systems.
  Adjust Wait/Approval Duration**: Modify the sendAndWait Slack node timeout (e.g., from 8 hours to 2 hours).

  📦 Optional Extensions
  🧾 Add PDF contract preview via Drive link
  🧠 Use GPT to summarize renewal terms
  🛠 Auto-create Jira task for contract review

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.slack","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.chainLlm","n8n-nodes-base.googleSheets","n8n-nodes-base.if","n8n-nodes-base.emailSend","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.slack","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 8180 characters]


name: Automatically Save & Organize Outlook Email Attachments in OneDrive Folders
author_name: Michael Gullo
author_username: mgullo
categories: []
created_at: 2025-08-03T16:05:57.477Z
updated_at: 2025-08-03T16:05:57.477Z
url: https://n8n.io/workflows/6938
scraped_at: 2025-12-24 13:02:41
description:
  Outlook to OneDrive
  This workflow automates the process of saving binary attachments from Outlook emails into newly created folders in OneDrive. It's ideal for users who regularly receive files and need them organized into separate folders without manual intervention. Each folder is automatically named based on the email subject and the current timestamp, allowing all attachments from that email to be stored inside the corresponding folder. This is particularly useful for streamlining document workflows, improving file traceability, and reducing the time spent on repetitive tasks like organizing client submissions, invoices, or internal reports.

  The configuration and setup of the workflow can be customized to meet the business or personal needs of the user. Its purpose is to automatically process binary attachments from Outlook emails and upload them to dynamically created folders in OneDrive.

  Overview
  Microsoft Outlook Trigger – Monitors your inbox for new emails.
  Filter – Ensures only emails with binary attachments proceed.
  Get Outlook Message – Retrieves the full email and downloads attachments.
  Create Folder – Makes a new folder in OneDrive based on the email subject and time.
  Split Out – Extracts each binary attachment.
  Merge– Combines folder and file data before upload.
  Upload File OneDrive – Uploads each binary file into the new folder.

  Need Help? Have Questions?
  For consulting and support, or if you have questions, please feel free to connect with me on LinkedIn or via email. 

nodes_used:
  ["n8n-nodes-base.microsoftOutlookTrigger","n8n-nodes-base.filter","n8n-nodes-base.splitOut","n8n-nodes-base.microsoftOneDrive","n8n-nodes-base.merge","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.microsoftOutlook","n8n-nodes-base.microsoftOneDrive"]

workflow_json_compressed:
  H4sIAAAAAAAAE6VXW2/bNhT+K4QwoC1gGhR1owLsodvQYZe0w3rZiiYYeDmMtcpSINFJjcz/fYeUFCuJbRTbi2yQR+d837nrLqpMdBYlH1/zP7cqT97bj9c/11W0iNbgZHR2F1VN72Sj4ScvlycsBSGKQkpmDSRlnKg4ZUlqQAErGMvLPLEqLQuDv1wwWcZKmSLTueYpxNFuETVyDajqzcbVbfuZfFc1stuiQSev+ujs0yVKtAb837sBnARrpUmAGisYTbVWtBRgKQdVitjmvEjz6F7veaW7tm+tI5OFd111dQWdN7G99iKNaGiwQZXsYbme3hhf2Mtft33lqrZBLLFgi5wzRHctO7TkoOu9e2xVj3+RWnvtpcO5aW+bupXmpXNSr9bQODx23QZ2Xm1dv6vWEAQrB+vAdY2IEBzcQLc9r5qNg2h3udsNqD+gjQAk3i0mtyRKFry0NONG0FQWBVWxUDRVIjeJtNLmau+WVwHnUR/Y6XpGOWWHKe9ZIjjdNqa6Zz1zwM2EmC+iGqz7IOuNN4w2NFp8C403dAODV0aWsq6MHMxHvesq7aJgY60wS1zbedqNiR6anfIEdAyCJ4aKIpY0NfiQMWdUcZvJNM94IlnkgwTdoOtuckar/gY0Nd0N9uFL1WPQFlFfNVc1jPjHEM4ZfXt3R755/uxo4j17sfRBXqqQ6bsdqsSL1d4jB8LMl/w+0JwxVnAeUyhZgYFWSEljyBkTTFteFBmIfaDfXtdVgHA01r2XGARm0RYpWxTpqWhjK9D1xsBYsZMrbAW1ede+nbSeRd8MTKPjuYvBYBkCp1wDhioWOVWZ4pQleFxCzvMY9pS+70A6IK/a2nxVGTfwQ+cz6wm/VDzlN9oIQfTaPl0cbyEX0eXy775tlv0mZAz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pBa5tBr5EZ2x3eYlw9vvhIX2nV4aHCuNB4cPt7P8qHVEe4nVI9ZHV8LHOxf0LB9bjgwAOYj6E4HSdHdR9/BP1kIHHX24HVO52/wKP4aGxyA8AAA==


name: Enhance Your Workflow with 2Ndmoises_Generator AI
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-03T17:02:44.280Z
updated_at: 2025-08-03T17:02:44.280Z
url: https://n8n.io/workflows/6943
scraped_at: 2025-12-24 13:02:45
description:
  Enhance Your Workflow with 2Ndmoises_Generator AI

  This n8n workflow integrates with Replicate’s moicarmonas/2ndmoises_generator model to generate custom outputs based on your prompt. It handles authentication, triggers the prediction, monitors progress, and processes the final result automatically.

  📌 Section 1: Trigger & Authentication

  ⚡ On Clicking ‘Execute’ (Manual Trigger)

  Purpose: Start the workflow manually whenever you want to run it.
  Benefit: Great for testing or running on-demand without needing automation.

  🔑 Set API Key (Set Node)

  Purpose: Stores your Replicate API key in the workflow.
  How it works: Adds your API key as a variable that other nodes can reference.
  Benefit: Keeps credentials secure and reusable.

  📌 Section 2: Sending the AI Request

  📤 Create Prediction (HTTP Request Node)

  Purpose: Sends a request to the Replicate API to start generating output with the model.
  Input Parameters:

    prompt (text you provide)
    seed (for reproducibility)
    width / height / lora\_scale (generation settings)
  Benefit: Allows full customization of the AI’s generation process.

  🆔 Extract Prediction ID (Code Node)

  Purpose: Pulls out the Prediction ID and status from the API response.
  Why important: The ID is required to check the job’s progress later.
  Benefit: Automates polling without manual tracking.

  📌 Section 3: Polling & Waiting

  ⏳ Wait (Wait Node)

  Purpose: Adds a short pause (2 seconds) between checks.
  Benefit: Prevents hitting the API too quickly and avoids errors.

  🔄 Check Prediction Status (HTTP Request Node)

  Purpose: Calls Replicate again to ask if the prediction is finished.
  Benefit: Automates progress monitoring without manual refresh.

  ✅ Check If Complete (If Node)

  Purpose: Decides whether the model has finished generating.
  Paths:

    True → Move on to processing the result.
    False → Go back to Wait and recheck.
  Benefit: Ensures the workflow loops until a final output is ready.

  📌 Section 4: Handling the Result

  📦 Process Result (Code Node)

  Purpose: Cleans up the final API response and extracts:

    Status
    Output (generated result)
    Metrics
    Timestamps (created\_at / completed\_at)
    Model info
  Benefit: Provides a structured, ready-to-use output for other workflows or integrations.

  📊 Workflow Overview Table

  | Section           | Node Name               | Purpose                      |
  | ----------------- | ----------------------- | ---------------------------- |
  | 1. Trigger & Auth | On Clicking ‘Execute’   | Starts the workflow manually |
  |                   | Set API Key             | Stores API credentials       |
  | 2. AI Request     | Create Prediction       | Sends request to Replicate   |
  |                   | Extract Prediction ID   | Gets prediction ID + status  |
  | 3. Polling        | Wait                    | Adds delay before recheck    |
  |                   | Check Prediction Status | Monitors progress            |
  |                   | Check If Complete       | Routes based on completion   |
  | 4. Result         | Process Result          | Extracts and cleans output   |
  | Notes             | Sticky Note             | Explains setup + model info  |

  🎯 Key Benefits

  🔐 Secure authentication using Set node for API key storage.
  🤖 Hands-free generation — just provide a prompt, the workflow handles everything else.
  🔄 Automated polling ensures you always get the final result without manual checking.
  📦 Clean structured output ready for downstream use in apps, dashboards, or notifications.

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.if","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"]

workflow_json_compressed:
  [encoded data, 4868 characters]


name: Scan URLs with urlscan.io and Send Results via Gmail
author_name: Calistus Christian
author_username: ca7ai
categories: []
created_at: 2025-08-03T17:33:19.945Z
updated_at: 2025-08-03T17:33:19.945Z
url: https://n8n.io/workflows/6946
scraped_at: 2025-12-24 13:02:46
description:
  Overview
  Receive a URL via Webhook, submit it to urlscan.io, wait ~30 seconds for artifacts (e.g., screenshot), then email a clean summary with links to the result page, screenshot, and API JSON.

  What this template does
  Ingests a URL from a POST request.
  Submits the URL to urlscan.io and captures the scan UUID.
  Waits 30s** to give urlscan time to generate the screenshot and result artifacts.
  Sends a formatted HTML email via Gmail with all relevant links.

  Nodes used
  Webhook** (POST /urlscan)
  urlscan.io → Perform a scan**
  Wait** (30 seconds; configurable)
  Gmail → Send a message**

  Input
  { "url": "https://example.com" }

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.webhook","n8n-nodes-base.urlScanIo","n8n-nodes-base.wait","n8n-nodes-base.gmail"]

workflow_json_compressed:
  H4sIAAAAAAAAE52Uy24UMRBFf6XV6zHy+5ElWQAbQIqABcqibJeTVma6h24nAUUj8RF8IV9CdYc8NQNSVtMa27fOva7yTdvl9qgtoM67+N5+fv3pPL25/tau2g1WaI9u2q6fKvQJ3837YsjSKi9LTNy7JFxBb1EElXkoSqLJIRQN0ugsVFHRI0rPXUAnnLWpkG7FzXYNFY9HzNMJ1svt8UD/YEUqUMdL3K3aHjZI1RI46Jre983luJ4S9M31MF6U9XDd3KnMgnA2tUdfT+nYkHH+vLk15biDoK1n3EvNdETLQgbOUDmpigshGWjvi53ULl38aN4PFZvfP381b6lKV5eK01zlx3beRTBsKcMiTPhqWg7NZ2jLdpi62g09ETBl5IppT1BbGKlAxXGa00xDX7GvpNTubkU/08pySOxWd+AWlLVoWBRaMQ1JMh9QMRRZ+pC4iy4eBl8yfRmx8vplxMEKaaRKhJg40zwSOxbHRFLOea8VmvRA/AXj+TBcHGS8vl9/BCg1X0k58/1dXhpSB+95SIEJyyPTRmYWk8sMNC8ZjfCR+/aZpec25L0No6WJkmtWiipMK4ssKh5YAAQ0Widd5IONjziWYdw00My9edAN9e4Jrb8bnvrRVv/180+4h4yRyxizCUy65KgrvCerlLHjkchAQ4yPM4auHg74dvERjXVyT7pKuKijSHSPhkpKL5jPtjC0IAPq5I0N/0tXvHqwkBRHitezkApNpATDQlTIeJRG6ByKXG7rrrGxzxTuBqcJzvCgmbMNdOunbnywe9yUHJzW1ByWJ2RaG0UXqwPzsWSPRqJU/3UjyQ3JQqrdFbEUWE+4aiestevPlnnB75guZ44PY8aRyl6JeXCubhUWEJOtNyVm5kuy9EpEz4BTDycPHkE5mhlDIDR5PaZZahFebpR+ye7skV65OYR/5LRsXNEDnvF7e8R3p6fEcTd7+4QONfReoWeb9+k97cE9KrvdH1TlDH2ABgAA


name: Backup n8n Workflows with Versioning and Notion Tracking
author_name: Stéphane Heckel
author_username: stephaneheckel
categories: []
created_at: 2025-08-03T17:52:26.644Z
updated_at: 2025-08-03T17:52:26.644Z
url: https://n8n.io/workflows/6947
scraped_at: 2025-12-24 13:02:44
description:
  Copy n8n workflows to a slave n8n repository

  Inspired by Alex Kim's workflow, this version adds the ability to keep multiple versions of the same workflow on the destination instance. Each copied workflow’s name is prefixed with the date (YYYY_MM_DD_), enabling simple version tracking. Process details and workflow counts are recorded centrally in Notion.

  How it works

  Workflows from the source n8n instance are copied to the destination using the n8n API node.
  On the destination, each workflow name is prefixed with the current date (e.g., 2025_08_03_PDF Summarizer), so you can keep multiple daily versions.
  The workflow tracks and saves:
      The date of execution.
      Number of workflows processed.
      Both details are recorded in Notion.

  Rolling retention policy example:

  Day 1:** Workflows are saved with 2025_08_03_ prefix.
  Day 2:** New set saved with 2025_08_04_.
  Day 3:** Day 1’s set is deleted, new set saved as 2025_08_05_.
  To keep more days, adjust the “Subtract From Date” node.

  How to use

  Create a Notion database with one page and three fields:
      sequence: Should contain "prefix".
      Value: Today's date as YYYY_MM_DD_.
      Comment: Number of saved workflows.

  Configure the Notion node:
      Enter your Notion credentials.
      Link to the created database/page.

  Update the "Subtract From Date" node:
      Set how many days’ versions you want to keep (default: 2 days).
      Set the limit to 1 in the "Limit" node for testing.
  Input credentials for both source and destination n8n instances.

  Requirements

  Notion** for tracking execution date and workflow count.
  n8n API Keys* for both source and destination instances. Ensure you have the necessary *API permissions** (read, create, delete workflows)
  n8n version** this workflow was tested on 1.103.2 (Ubuntu)

  Need Help?

  Comment this post or contact me on LinkedIn
  Ask in the Forum!

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.n8n","n8n-nodes-base.n8n","n8n-nodes-base.splitInBatches","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.n8n","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.stickyNote","n8n-nodes-base.wait","n8n-nodes-base.limit","n8n-nodes-base.filter","n8n-nodes-base.dateTime","n8n-nodes-base.dateTime","n8n-nodes-base.dateTime","n8n-nodes-base.dateTime","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.notion","n8n-nodes-base.notion","n8n-nodes-base.if","n8n-nodes-base.noOp","n8n-nodes-base.stickyNote","n8n-nodes-base.n8n"]

workflow_json_compressed:
  [encoded data, 5116 characters]


name: Daily Calendar Summary Notifications via Telegram from Google Calendar
author_name: Yassin Zehar
author_username: yassinzehar
categories: []
created_at: 2025-08-03T18:33:22.621Z
updated_at: 2025-08-03T18:33:22.621Z
url: https://n8n.io/workflows/6952
scraped_at: 2025-12-24 13:02:45
description:
  Context:
  This workflow automatically sends you a daily message on Telegram summarizing all your meetings and events for the day, straight from your Google Calendar.

  For who ? 
  Perfect for anyone who:
  Uses Google Calendar to manage their schedule.
  Wants Telegram reminders for daily events.
  Loves automation and productivity tools.

  Requirements:
  Telegram.
  Google account.
  Google Calendar.

  Steps:


  🗒️ Use the sticky notes in the n8n canvas to:
  Add your Telegram and Google credentials.
  Execute and test the workflow.
  Check if you receive your daily summary on Telegram.

  You'll get this:

  Tutorial video:
  Watch the Youtube Tutorial video

  How does it work?
  ⏰ The trigger runs every day at 7AM.
  📅 Your Google Calendar is checked.
  🔢 If there are events or meetings, a number &gt; 0 is returned. Otherwise, it's 0.
  📝 A text message is generated with a summary of all your events, including all relevant details.
  ❌ If no events are found, a "no event" message is sent.

  About me :
  I’m Yassin a Project & Product Manager  Scaling tech products with data-driven project management.
  📬 Feel free to connect with me on Linkedin

nodes_used:
  ["n8n-nodes-base.code","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.if","n8n-nodes-base.code","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote","n8n-nodes-base.googleCalendar","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE81ZW2/cxhX+KxM6iGV1yfB+2cJJZdmy1aSSLSlOba+RDGeGu7S45IYcSl4rC+SheWqKoHCA9CFBXlqg6VOBvvQ9/8R/oPkJPTO8LLWmVjLShwIGvCTPfOfMuX4zOlNiqgyVQ/YoSI4e3qf32cPdB3SsDJQp41gZnilxWnCcErYr5EIvNGkYUBfbrhEFuhmaDnV9h9mOoxMcWsT3IxKGlunY2Hcdm+muabuh6zE7ihwCuJxNZwnmbDtntDhkvJxtZ/CGcQYKeF6yxUBJ8ZSBtlsZR0csYeMcT9E2TlhKcS4g8LhQhk/OKtud+MGBs32qO7devPC2PuNKu/5ulo0TBs8kZ6CRbnF4aeqmo+q+qptHhje03KFlap5jPAaxckYvF1sMar23P7YebN+ePHgcPJ4dlukLpWv3eqXeUHc13bhM6VKsVTo72Qk/eDT7qHSfn3gHD/yl0o5/1m9X1yzHvHy7tVirOX9U7u4VofXI+P2zfLx3stR8P89oSXh8EvP5ZdrtQPONy7U3Yq32eTTb3pmEe4/vHvBHHxB9qb1JkEv37WhOcIV912KLp6Aho6yTaNgLIs83PDW0mK/ahkfU0PBclYWO7tGAeKEbdOKRlSlH7ISlIhn4fCZepn6qSlQ1xAXTCPyEj7OsiHmcpaDKNtyBDqpnGLYENZEXogafFdtCcqi8+y66yzjCSYL4hFXoKMqzqXyMobaKUUoyKFkhsyue0U30tvywMVK2J4wco7Esi7agRsqNX4/SUQrYcQp2gG9q4DDDOR2lUJvVC4H15GkjXIFJaIRTithznm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IbnCr5utVE4jiHEh1t3Sl5/qO89UNCJRRW5ESb3OzHou4XrC5qaE7sECwaIDJmWgwMKgkyKAVQxs6ikUDEaMBHHIDGlKZUBQyVAHWFS+svKTLSIxG+aDW26iRyjnSB/Ll0fLIgl5992WFBCqxuNYTl2UaghNzzIFj7wMSbwXE4h2RPe3q77+Cl5j3QKzpM2FI4LRKieoaAaRPSAwxX0LVJXpkYdt2PJf1JpL1xonkuevHit0mkuPq6xLJ0hCc2ql0QTNxlxxnlO5WY2Bzs+NcSBNwb+VzmXrC4EHlq+r2Un5qqJdIpDEW2dJe+cVpJI6HshGiUwz2QL6FWcm7J1Gxrh4UYGQGyRWVsB4OCAj+NZEpZPamKEuXGrM0gfNNY3tLDQq5UeAytcHVxppFkEsCCzJc7rtOlEqmmxxi999/NTgPvczcovHmErnamUhUOLSJsdfSuknFQWudK/NPRfUExEs9IYBIf7LKVcdsjmAWakJ6O0tTRqr3K/NRwMqyATOl7I5gahfFtegM3tY7KXqGT3DF06UJXFAEks3m8mmGizrsgjVD60lY1QFAaePxFc19Tn1WQsfq0b+u7Axme0BriapTx1NtF375rmWoRuBg3wui0HI6Fyoy22UOzRrwNyTWhm7r9eVKl1kbpkuAlUaqAaWu2pYeALM2Q9W3sBN5BnUd6l3IrNtbKJme8gLq/481m9QLsW/oamRRX7UZnB0CW49Ux3AZDsLAwp7R29+MN6fNlr5+UlorfeyAfVbG4ApRR+qyXm7V9RJDP4GaEN9qPlHvuPOmZRgg2JNuYImcAkumAXkqyliaVTEREN0XnA5sOjEERn1hKuPoQ/+PXEEsXIupNg4cFeseVk3dYX7keFFketU1qCjjhiN2r6rhEQ79wj9PzuTfdS6nq1J+oMQpZc/lReZTsKr7V50+zP575V6oc6J9WP0XmK9hDV5fcfH5t9eSc4r6LFlb+f1+6vVtbxT6/k7Wg7lY/Bf2LyUrrB4AAA==


name: Automate Your Magento 2 Weekly Sales & Performance Reports
author_name: Kanaka Kishore Kandregula
author_username: kmyprojects
categories: []
created_at: 2025-08-03T22:56:21.791Z
updated_at: 2025-08-03T22:56:21.791Z
url: https://n8n.io/workflows/6953
scraped_at: 2025-12-24 13:02:45
description:
  Automatically fetches last week’s Magento 2 orders, summarises sales and product performance, logs the data to Google Sheets, and emails a polished report — all without logging into admin or buying extra modules. 

  Perfect for store owners and agencies.

  ✅ What This Workflow Does:
  This workflow automatically fetches the last 7 days of orders from your Magento 2 store, summarizes key metrics (orders, revenue, products sold), groups product performance data, generates a Google Sheet with two tabs (Weekly Summary & Product Breakdown), and emails the report to your team in a modern dashboard-style HTML format — all without ever logging into Magento admin.

  🔧 Modules Used:
  🕒 Schedule Trigger
  ⚙️ Code (JavaScript)
  🌐 HTTP Request
  📊 Google Sheets
  ✉️ Gmail (HTML Email with custom design)

  💼 Use Cases:
  E-commerce store managers who want weekly sales snapshots without logging into Magento 2.
  Agencies managing multiple Magento clients and reporting to them weekly.
  Business owners who want automated insights without paying for extra reporting modules.
  Marketing or growth teams that need product-wise performance regularly in Google Sheets.

  🔒 Credentials Required:
  Magento 2 API (Bearer Token)
  Google Sheets OAuth2
  Gmail OAuth2 (for sending HTML email reports)

  📂 Category:
  E-commerce / Magento 2 / Reporting / Automation

  ✨ Why This Saves Hours:
  This workflow replaces manual Magento report exports, repetitive data cleanup, and weekly email formatting. Store managers often waste 1–2 hours/week collecting data — now it takes 0 minutes. Just set it and forget it.
  You don’t need to buy reporting extensions, log into the admin, or manually touch a spreadsheet again.

  🤝 Need a Custom Workflow?
  If you need this tailored for your own workflow, store, or client —
  📩 Let’s connect. I build custom, high-performance n8n automations for e-commerce, growth, and reporting.

  Contact: Author

  👤 Author
  Kanaka Kishore Kandregula
  Certified Magento 2 Developer
  https://gravatar.com/kmyprojects
  https://www.linkedin.com/in/kanakakishore

nodes_used:
  ["n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.googleShe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/xG1kGADwU692VawNjt3aGZ3eEn+UNHVw63HRpF7+/4+EB6d4dpWMQ13I5qvkOYEzz2rQZ1fwld2Oql94LRhV/9fYS6LW5Mio94tgo7tU3g1HlEd/GlC+FfzwCYxijQTg75i/yjdh1oobLttv/APV/hEp8CgAA


name: Generate Videos from Images with Wan 2.2 I2V A14B AI Model
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-04T14:24:22.279Z
updated_at: 2025-08-04T14:24:22.279Z
url: https://n8n.io/workflows/6966
scraped_at: 2025-12-24 13:02:43
description:
  Generate Videos from Images with Wan 2.2 I2V A14B AI Model

  🌍 Overview

  This workflow connects n8n with Replicate’s Wan-Video model to generate video content from an image + prompt.
  It handles:

  🔑 API authentication
  📤 Sending a generation request
  ⏳ Polling until completion
  📥 Returning a downloadable video link

  🟢 Section 1: Start & Authentication

  🔗 Nodes:
  1️⃣ On clicking 'execute' (Manual Trigger)
  ▶️ Starts the workflow manually when you click Execute Workflow.

  2️⃣ Set API Key
  🔑 Stores your Replicate API Key securely inside n8n.

  Value: YOUR_REPLICATE_API_KEY

  💡 Beginner Benefit:
  ✅ No need to hardcode API keys in every request
  ✅ Easy to swap keys for different accounts

  🔵 Section 2: Send Video Generation Request

  🔗 Nodes:
  3️⃣ Create Prediction (HTTP Request)
  📤 Sends a request to Replicate API → /v1/predictions

  Model: wan-video/wan-2.2-i2v-a14b
  Input Parameters:

    📝 prompt → your text description
    🖼️ image → input video/image URL
    🎲 seed → reproducibility
    🎞️ num_frames → 81 frames
    ⏩ sample_shift → 5
    ⚙️ sample_steps → 30
    🎬 frames_per_second → 16

  4️⃣ Extract Prediction ID (Code)
  🆔 Pulls out the prediction ID + status from Replicate’s response.
  This ID is needed for polling until the video finishes generating.

  💡 Beginner Benefit:
  ✅ Automates the API call to generate video
  ✅ Extracts ID → avoids manual copy-paste

  🟣 Section 3: Polling & Status Check

  🔗 Nodes:
  5️⃣ Wait (2 sec)
  ⏳ Adds a short delay before checking progress.

  Prevents API spam

  6️⃣ Check Prediction Status (HTTP Request)
  🔄 Calls Replicate API → /v1/predictions/{id}

  Checks whether the video is still processing or finished

  7️⃣ Check If Complete (IF Node)
  ❓ Compares status → succeeded or not

  ✅ If complete → goes to Process Result
  ❌ If not → loops back to Wait and tries again

  💡 Beginner Benefit:
  ✅ Automatic re-checking → you don’t need to refresh manually
  ✅ Works until result is ready

  🟡 Section 4: Process Final Result

  🔗 Nodes:
  8️⃣ Process Result (Code)
  📥 Once complete, extracts:

  ✅ Status
  🎞️ Output video URL
  📊 Generation metrics
  ⏱️ Timestamps (created\_at, completed\_at)
  🧩 Model used

  Final output = direct video URL you can download/share 🎥

  📊 Final Overview

  | Section   | What Happens                   | Why It’s Useful                   |
  | --------- | ------------------------------ | --------------------------------- |
  | 🟢 Auth   | Manual Trigger + API Key       | Secure, easy start                |
  | 🔵 Send   | Create Prediction + Extract ID | Kicks off video generation        |
  | 🟣 Poll   | Wait + Check Status + IF       | Auto-checks progress until done   |
  | 🟡 Result | Process Result                 | Gives final video link + metadata |

  🚀 Why This Workflow Rocks

  🎥 Video from Image + Prompt → AI-powered video generation in minutes
  🔄 Fully automated → from request to final video, no manual checks
  🔑 Secure → API keys handled safely
  ⚙️ Customizable → tweak frames, FPS, prompt, seed

  ✨ With this workflow, you’ve got a personal AI video generator inside n8n — all you need to do is provide a prompt + input image/video, and you’ll get a fresh AI video link back.

nodes_used:
[cell repeats an earlier one in this file: 365 characters]

workflow_json_compressed:
  [encoded data, 5068 characters]


name: Generate Custom Text Content with IBM Granite 3.3 8B Instruct AI
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-04T14:25:22.747Z
updated_at: 2025-08-04T14:25:22.747Z
url: https://n8n.io/workflows/6968
scraped_at: 2025-12-24 13:02:46
description:
  Generate Custom Text Content with IBM Granite 3.3 8B Instruct AI

  This workflow connects to Replicate’s API and uses the ibm-granite/granite-3.3-8b-instruct model to generate text.

  ✅ 🔵 SECTION 1: Trigger & Setup

  ⚙️ Nodes

  1️⃣ On clicking 'execute'

  What it does:* Starts the workflow manually when you hit *Execute.
  Why it’s useful:** Perfect for testing text generation on-demand.

  2️⃣ Set API Key

  What it does:* Stores your *Replicate API key** securely.
  Why it’s useful:** You don’t hardcode credentials into HTTP nodes — just set them once here.
  Beginner tip:** Replace YOUR_REPLICATE_API_KEY with your actual API key.

  💡 Beginner Benefit

  ✅ No coding needed to handle authentication.
  ✅ You can reuse the same setup for other Replicate models.

  ✅ 🤖 SECTION 2: Model Request & Polling

  ⚙️ Nodes

  3️⃣ Create Prediction (HTTP Request)

  What it does:* Sends a *POST request** to Replicate’s API to start a text generation job.
  Parameters include:** temperature, max_tokens, top_k, top_p.
  Why it’s useful:** Controls how creative or focused the AI text output will be.

  4️⃣ Extract Prediction ID (Code)

  What it does:* Pulls the *prediction ID** and builds a URL for checking status.
  Why it’s useful:** Replicate jobs run asynchronously, so you need the ID to track progress.

  5️⃣ Wait

  What it does:* Pauses for *2 seconds** before checking the prediction again.
  Why it’s useful:** Prevents spamming the API with too many requests.

  6️⃣ Check Prediction Status (HTTP Request)

  What it does:* Polls the Replicate API for the *current status** (e.g., starting, processing, succeeded).
  Why it’s useful:** Lets you loop until the AI finishes generating text.

  7️⃣ Check If Complete (IF Condition)

  What it does:* If the status is *succeeded, it goes to “Process Result.” Otherwise, it loops back to **Wait and retries.
  Why it’s useful:** Creates an automated polling loop without writing complex code.

  💡 Beginner Benefit

  ✅ No need to manually refresh or check job status.
  ✅ Workflow keeps retrying until text is ready.
  ✅ Smart looping built-in with Wait + If Condition.

  ✅ 🟢 SECTION 3: Process & Output

  ⚙️ Nodes

  8️⃣ Process Result (Code)

  What it does:* Collects the final *AI output**, status, metrics, and timestamps.
  Adds info like:**

    ✅ output → Generated text
    ✅ model → ibm-granite/granite-3.3-8b-instruct
    ✅ metrics → Performance data
  Why it’s useful:** Gives you a neat, structured JSON result that’s easy to send to Sheets, Notion, or any app.

  💡 Beginner Benefit

  ✅ Ready-to-use text output.
  ✅ Easy integration with any database or CRM.
  ✅ Transparent metrics (when it started, when it finished, etc.).

  ✅✅✅ ✨ FULL FLOW OVERVIEW

  | Section                        | What happens                                                                 |
  | ------------------------------ | ---------------------------------------------------------------------------- |
  | ⚡ Trigger & Setup          | Start workflow + set Replicate API key.                                      |
  | 🤖 Model Request & Polling | Send request → get Prediction ID → loop until job completes.                 |
  | 🟢 Process & Output        | Extract clean AI-generated text + metadata for storage or further workflows. |

  📌 How You Benefit Overall

  ✅ No coding needed — just configure your API key.
  ✅ Reliable polling — the workflow waits until results are ready.
  ✅ Flexible — you can extend output to Google Sheets, Slack, Notion, or email.
  ✅ Beginner-friendly — clean separation of input, process, and output.

  ✨ With this workflow, you’ve turned Replicate’s IBM Granite LLM into a no-code text generator — running entirely inside n8n! ✨

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.code","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, 5044 characters]


name: Track Expenses from Telegram to Google Sheets with GPT-4.1 Mini
author_name: Trung Tran
author_username: trungtran
categories: []
created_at: 2025-08-04T14:53:50.938Z
updated_at: 2025-08-04T14:53:50.938Z
url: https://n8n.io/workflows/6970
scraped_at: 2025-12-24 13:02:43
description:
  📒 Telegram Expense Tracker to Google Sheets with GPT-4.1
  .jpg)
  &gt; A lightweight automation that lets users log daily expenses via a Telegram bot and instantly saves them into Google Sheets—perfect for anyone looking to manage spending on the go with AI-powered structure and ease.
  👤 Who’s it for
  This workflow is for anyone who wants to log their daily expenses by simply chatting with a Telegram bot. Ideal for:
  Individuals who want a quick way to track spending
  Freelancers who log receipts and purchases on the go
  Teams or small business owners who want lightweight expense capture

  ⚙️ How it works / What it does
  User sends a text message on Telegram describing an expense  
     (e.g., “Bought coffee for 50k at Highlands”)

  Message format is validated
     If the message is text, it proceeds to GPT-4.1 Mini for processing.
     If it's not text (e.g. image or file), the bot sends a fallback message.

  OpenAI GPT-4.1 Mini parses the message and returns:
     relevant: true/false
     expense_record: structured fields (date, amount, currency, category, description, source)
     message: a friendly confirmation or fallback

  If valid:
     The bot replies with a fun acknowledgment
     The data is saved to a connected Google Sheet

  If invalid:
     A fallback message is sent to encourage proper input

  🛠️ How to set up

  1. Telegram Bot Setup
  Create a bot using BotFather on Telegram
  Copy the bot token and paste it into the Telegram Trigger node

  2. Google Sheet Setup
  Create a Google Sheet with these columns:
      Date | Amount | Currency | Category | Description | SourceMessage
    Share the sheet with your n8n service account email

  3. OpenAI Configuration
  Connect the OpenAI Chat Model node using your OpenAI API key
  Use GPT-4.1 Mini as the model
  Apply a system prompt that extracts structured JSON with:
    relevant, expense_record, and message

  4. Add Parser
  Use the Structured Output Parser node to safely parse the JSON response

  5. Conditional Logic Nodes
  Is text message?  
     Checks if the message is in text format  
  Supported scenario?  
     Checks if relevant = true in the LLM response

  6. Final Actions
  If relevant**:  
     Send confirmation via Telegram  
     Append row to Google Sheet  
  If not relevant**:  
     Send fallback message via Telegram

  ✅ Requirements
  Telegram bot token
  OpenAI GPT-4.1 Mini API access
  n8n instance (self-hosted or cloud)
  Google Sheet with access granted to n8n
  Basic understanding of n8n node configuration

  🧩 How to customize the workflow

  | Feature                         | How to Customize                                                  |
  |----------------------------------|-------------------------------------------------------------------|
  | Add multi-currency support       | Update system prompt to detect and extract different currencies  |
  | Add more categories              | Modify the list of categories in the system prompt               |
  | Track multiple users             | Add username or chat ID column to the Google Sheet           |
  | Trigger alerts                   | Add Slack, Email, or Telegram alerts for specific expense types  |
  | Weekly summaries                 | Use a cron node + Google Sheet query + Telegram message          |
  | Visual dashboards                | Connect the sheet to Looker Studio or Google Data Studio         |

  Built with 💬 Telegram + 🧠 GPT-4.1 Mini + 📊 Google Sheets + ⚡ n8n

nodes_used:
  ["n8n-nodes-base.telegramTrigger","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.if","n8n-nodes-base.telegram","n8n-nodes-base.telegram","n8n-nodes-base.code","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.if","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 7816 characters]


name: Website Contact Form to Slack with Optional Email Confirmation
author_name: Robert Breen
author_username: rbreen
categories: []
created_at: 2025-08-04T23:17:08.377Z
updated_at: 2025-08-04T23:17:08.377Z
url: https://n8n.io/workflows/6987
scraped_at: 2025-12-24 13:02:45
description:
  This n8n workflow sends a real-time Slack notification when a user submits a contact form on your website. It also optionally sends a confirmation email via either Outlook or Gmail.

  You can embed the form directly into your website and route all submissions to your preferred Slack channel for quick follow-up.

  ✅ Key Features

  🌐 Website Form Trigger**: A no-code form that can be embedded directly on your website.
  ⚡ Slack Integration**: Instantly posts lead details to a designated Slack channel.
  📧 Email Follow-Up (Optional)**: Sends a thank-you email to the user via either Gmail or Microsoft Outlook.
  🔗 Easy to Connect**: Requires minimal setup with OAuth for Slack and email APIs.

  🧰 What You'll Need

  Slack Bot Token & Permissions**
  Gmail or Outlook account (optional)**
  n8n instance (cloud or self-hosted)**

  🛠️ Step-by-Step Setup

  1️⃣ Embed Contact Form on Website
  Node**: Form Submission on Website
  What it does**: Captures user inputs — Name, Email, and Phone.
  How to use**:
    Grab the public webhook URL from this node.
    Embed it as a form action on your website (HTML form or no-code builder).
  API**: None required. Webhook-based.

  2️⃣ Send to Slack
  Node**: Slack
  What it does**: Posts a message to your Slack #leads channel with submission details.
  Message format**:
      You have a form submission with these details.
    Name: {{ Name }}
    Email: {{ Email }}
    Phone: {{ Phone }}
    API**: Slack Bot Token (OAuth2)

  3️⃣ Optional: Send Confirmation Email
  Node**: Send Email - Gmail
    Sends email using Gmail API.
  Node**: Send Email - Outlook
    Sends email using Microsoft Outlook API.
  Message**:
      Hi {{ Name }},

    Thank you for reaching out on our website. We'll be in touch soon!
    API**: Gmail or Microsoft Outlook OAuth2

  👤 Created By
  Robert Breen  
  Automation Consultant | AI Workflow Designer | n8n Expert  
  📧 rbreen@ynteractive.com  
  🌐 ynteractive.com  
  🔗 LinkedIn

  🏷️ Tags
  slack lead alerts website form n8n email automation real-time notification lead generation form trigger webhook

nodes_used:
  ["n8n-nodes-base.slack","n8n-nodes-base.formTrigger","n8n-nodes-base.microsoftOutlook","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE61X724cNRB/FbNBIonOl/1/65MQtIHSojStkkCFmlNjr2dz2+ytj7W3aRSdhMQDIEQlPvChSCDxCjxPX4A+AmPvJbnccVE/IEW6tWc8M/79ZsaTS28ChnvDS6+steF1Do+kN/S49IMgyqM4BgijQcQY4CcrgmDAMuEngoPIIp4GLJVJEHPGgcmQy0GQRyLJmdfzDEymFTew24DUh2Da6a7CHTCADkzTwqzn1UqC9obP0bv1mgjI8owzmjMmaRzyjGY8SaiIolRKLtI0iNFyzSeA2ocVz8+so4upXdZZTZ09KriGvp5Lp0qXplQ1eqFJHPeCOMtGPe8cxFipM3dZyAM/yVNOWeQPaFyEGWU8SGlWiIgNuGQRS60l3qBjA422cBl4bfDsp9+ploz5KyCcFKqZEN2KSak1eiTnpRkTMwYNRCLIZaX7ZB9NDAm5vCQfv9Sq7ts1mc0I+XKCCsMbgVs7ydOxqmFB4tYowZA0VJDbMPIxr2uocGv+ZS926b140VQd2D1vgtigZlVqg2qveNXa5a6fHYVfZ/GDd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NjH63YHuWhgK11cjhUW9C/piIf3J5sOjx3udBiZzrWiOVohoy0pCszUP6d7TR/Y++3ZkaOD7tsRpzBaOi8KlouxfQxvOoXXdBC/iJqwlKN3eGtSeKm1s1PMqtyZcxO4MOdlws8QJmY8o3Xy0MC9dDUm3Iu/O3leGHKkzqMnmk3utGYdb10FH86C70YTjDOXCx8QoymbCHXSOr+WLrLTMk44BK9AEnKTVtj84KcGA+nfZmL99a608vnokrzTnFm9dt3OFfK5qdxe3+sf1SrcKZiPXCGrIrzrfXXMVStGRbTg4pdTdZLg0Tzt5D/8tkPDaG/q2F14p3jkafOC5pUdq+dRoNJvN/gXK+gYAnQwAAA==


name: Daily Ad Spend Monitoring with Google Sheets and Slack Threshold Alerts
author_name: Robert Breen
author_username: rbreen
categories: []
created_at: 2025-08-05T00:44:26.418Z
updated_at: 2025-08-05T00:44:26.418Z
url: https://n8n.io/workflows/6990
scraped_at: 2025-12-24 13:02:45
description:
  This n8n workflow checks daily ad spend totals from a Google Sheet and sends a Slack alert if spend exceeds $100. It can be scheduled to run automatically or manually triggered for testing. This is perfect for marketing teams who want to monitor budget spikes in near real-time.

  ✅ Key Features

  📥 Google Sheets Integration**: Pulls raw spend data from a shared spreadsheet.
  📆 Scheduled or Manual Execution**: Can run daily on a schedule or manually for testing.
  📈 Aggregates Spend**: Summarizes daily totals from raw data.
  🧠 Logic Check**: Alerts only when spend exceeds a certain threshold.
  🔔 Slack Alerts**: Sends instant notification to a specified channel.

  🧰 What You'll Need

  Google Cloud Project** with Sheets API enabled
  OAuth2 Credential** for Google Sheets
  Slack Bot Token** with permission to post to your workspace
  Your Google Sheet link and tab name**

  📎 Copy this Sample Google Sheet to Use:  
  Marketing Data Sheet - Copy Me

  🔧 Step-by-Step Setup

  1️⃣ Schedule or Manual Trigger
  Node**: Schedule Workflow or Test Workflow
  Purpose**: Either run daily via a cron-like rule or manually trigger the flow.

  2️⃣ Get Google Sheet Data
  Node**: Get Data
  What it does**: Fetches all rows from your connected sheet.
  Setup**:
    Go to Google Cloud Console
    Create a new project
    Enable Google Sheets API
    Create OAuth2 credentials for a desktop or web application
    Connect your Google account in n8n via OAuth2
    Grant access to the sheet you want to read (ensure it's shared with your OAuth email)
    Use the copied sheet's link when connecting in n8n

  3️⃣ Summarize Spend by Day
  Node**: Sum spend by Day
  What it does**: Groups the dataset by Date and sums the Spend ($) column
  Requirements**:
    Your sheet must have a header row with Date and Spend ($) as columns

  4️⃣ Sort by Most Recent Date
  Node**: Sort Dates Descending
  What it does**: Sorts all entries by the Date field so that the most recent day is first
  Custom JavaScript**:
  const items = $input.all();
  items.sort((a, b) =&gt; new Date(b.json.Date) - new Date(a.json.Date));
  return items;

  5️⃣ Select Top Result
  Node**: Keep only Last Day
  What it does**: Captures the top row (most recent day) for evaluation
  Fields**: Sets only Date and sum_Spend_($) to keep things clean

  6️⃣ Check Spend Threshold
  Node**: Check if Spend over $100
  What it does**: Uses an IF node to compare sum_Spend_($) against a 100 threshold
  Logic**:
  sum_Spend_($) &gt; 100

  7️⃣ Send Slack Notification
  Node**: Send Slack Message
  What it does**: Sends a message to a Slack channel if the threshold is exceeded
  Setup**:
    Go to Slack API
    Create a new app
    Enable chat:write and channels:read scopes under OAuth & Permissions
    Install the app to your workspace
    Copy the OAuth Token into your Slack credentials in n8n
    Select your target channel from the dropdown (must be public or the bot must be invited)
  Message**:
      The spend for the most recent day is over $100
  8️⃣ No Action if Under Budget
  Node**: Do Nothing. Under 100
  Purpose**: This path simply ends the flow with no action if spend is below the threshold

  👤 Created By
  Robert Breen  
  Automation Consultant | AI Workflow Designer | n8n Expert  
  📧 rbreen@ynteractive.com  
  🌐 ynteractive.com  
  🔗 LinkedIn

  🏷️ Tags
  slack marketing automation budget alert daily schedule google sheets threshold logic n8n spend tracking data summarization

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.summarize","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.slack","n8n-nodes-base.noOp","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE71Z227cyBH9lcasEUuCOOJ9SC28G1u+xI5va8lebCTBarKLM7Q4JM0mNVa0esp7giAB8rgPCZBfyPfkB7KfkKpuzp0z3l0g8YMxZHdXVdfl1CnqpjeGmvcOb3ppLmuex/BU9A57XJiW5cSO6wLYzsAJQ8CfYWJZgzCITC/iEAUO963QF57l8pBDKGwuBlbsRF4c9vZ7NYzLjNdwVIGQx1A35VGBb6AGVFBXDdzu9/JCgOwdnqJ20mpHkZ8knmX4AXcN1w8TIwKHGwMnSawg8BNzYKHknI8Bdx/HIxBNBuzborpMsmJCSq9LWsqD3FCyjYhL6Mt250mVDodQ4b6ykGmdFjnqNqzAdvfpv3N8zysUXkMlySUVntGuwTdXPCNLb89vb7Wed7hLibD69u1+e4XQTiCykoGRxGFguA73jDAAYTiejY5zXMt0nfkVnkDNHnL0/ybLh0UxzOB4BFDLVbM9x9+3Bpa9ZnZR0h76iZZKOvtSqbvpvX9fZdr5+70xakGFWSprlIy3a+hxmIp7Jj7HnHz2BmST1W/pUG9U16U8PDgQRSxbu/pxMT6QZQVcKDXyQBxYIX/7zXe/+2jaH38jjyB7hRn0zpWf3r84efYMc8D7CObw4fNvHtRv7h+ASOsvulS+bENMUq0eXgO1NmPIa8rOn3KPn2PG//W6XzeyvCeq9AqkuNxwa051wl7w6hLqNB/qFFlLO7fvz9IuEkEYiiA2RJxYhhuErsEH7sAIIzty4xgSx7IXKqcZM1lCLlh0jcKvNxdOMx7zKv09rOaebZr7lu98JveSFDIhT4rjMkvrB9coH29CsmYLM/l4VIVOo4FaJ0OVkTt3dvEMHw4rGHJtQg8t63WWojXziQj5wHH9wLBt0zPcmPtGZFlguAOXu5ZlRq5YKMXjolK1CJI9BBmjXvT8RsfElHQrPjHNoBtGPsgjnaMHB8zqsycVjxjPMpbmmFAU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Fp5YTbzBLvBmPR0emyaxjLlfvGtvfVLq4Ee/ExnoXXYm3B1tqTe5RuTm9AxUrfIoB27nYwju0EKQD847Fy1QPF6pfYb+XXSwD368wDLSkPpxUWI/YIim11SsyTh5Sz8O3EtsyBqdRfFo371+x11CNU0mJLbXEp/TZHWGK7oNqyE7V7SdIDWXJY5gSj1LjlxZ0Ulxie0/z6e7WPQt8Ztrv6XCLDGpnzashAvjUk4q/qUZRFaUoJjkWOmF7BKxsIiQ/rB2EoqJFfVxJ8yu8uNjVrm6j2TpbJQhjP32SuqPyqj3YZlbQZtbLgt2PKZco4nowedAItH8lt6bzSz5cmF/WSfUJsZ2So/9kipTnmqlMmxJm3b1yzLaZSn0DPBQBbVjKua10JBaeGwS2b3g8GRiuj4NN5EWO4fDEjW1ELjOKOpHK+YXjTeCvI1WLT9YgWAQoexWf2I8//Pkf7CUWD8YIcWMEWfn1WY4koIgAO+6DCiDXRBBzrxir4la0HXsM0dfv2f2ns1GGWjPOkRiC7xUdfvSpJCFM8c5/stMqInG/vqY/qZCjrxRTPN8hWlsXh93Lu/r8X//GTp8juQXxNJ+X8GQy6WfqbZqrKk7zg0qZbihhhh26dujb3kE3hTxX/lA8uf3OM/uzDP5Gu8jLpzfqj1VbP56rrfu9FBPwU+/QvD0/R2Vr2ztlbv/43C147c9fXZLX/8LUKazj62iXtM9/ges2tfN6XQq2faXtFL3Rok43b/ngtCZ9f37uM59HOgy7vf0vrhIKEVkdAAA=


name: Scrape Google Maps by area & Generate Outreach Messages for Lead Generation
author_name: Solomon
author_username: solomon
categories: []
created_at: 2025-08-05T06:05:50.841Z
updated_at: 2025-08-05T06:05:50.841Z
url: https://n8n.io/workflows/6993
scraped_at: 2025-12-24 13:02:41
description:
  This n8n workflow automates lead extraction from Google Maps, enriches data with AI, and stores results for cold outreach.

  It uses the Bright Data community node and Bright Data MCP for scraping and AI message generation.

  How it works

  Form Submission
      
      User provides Google Maps starting location, keyword and country.
      
  Bright Data Scraping
      
      Bright Data community node triggers a Maps scraping job, monitors progress, and downloads results.
      
  AI Message Generation
      
      Uses Bright Data MCP with LLMs to create a personalized cold call script and talking points for each lead.
      
  Database Storage
      
      Enriched leads and scripts are upserted to Supabase.
  How to use

  Set up all the credentials, create your Postgres table and submit the form. The rest happens automatically.

  Requirements

  LLM account (OpenAI, Gemini…) for API usage.
  Bright Data account for API and MCP usage.
  Supabase account (or other Postgres database) to store information.

nodes_used:
  ["n8n-nodes-base.wait","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.noOp","n8n-nodes-base.formTrigger","n8n-nodes-base.merge","n8n-nodes-base.postgres","n8n-nodes-base.manualTrigger","@n8n/n8n-nodes-langchain.mcpClientTool","n8n-nodes-base.if","n8n-nodes-base.if","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.chainLlm","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.limit","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.set","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.set","@brightdata/n8n-nodes-brightdata.brightData","@brightdata/n8n-nodes-brightdata.brightData","n8n-nodes-base.if","n8n-nodes-base.wait","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.splitInBatches","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.postgres","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatOpenAi"]

workflow_json_compressed:
  [encoded data, 10912 characters]


name: AI Orchestrator: dynamically Selects Models Based on Input Type
author_name: Davide
author_username: n3witalia
categories: []
created_at: 2025-08-05T10:21:49.772Z
updated_at: 2025-08-05T10:21:49.772Z
url: https://n8n.io/workflows/7004
scraped_at: 2025-12-24 13:02:41
description:
  This workflow is designed to intelligently route user queries to the most suitable large language model (LLM) based on the type of request received in a chat environment. It uses structured classification and model selection to optimize both performance and cost-efficiency in AI-driven conversations.

  It dynamically routes requests to specialized AI models based on content type, optimizing response quality and efficiency.

  Benefits

  Smart Model Routing**: Reduces costs by using lighter models for general tasks and reserving heavier models for complex needs.
  Scalability**: Easily expandable by adding more request types or LLMs.
  Maintainability**: Clear logic separation between classification, model routing, and execution.
  Personalization**: Can be integrated with session IDs for per-user memory, enabling personalized conversations.
  Speed Optimization**: Fast models like GPT-4.1 mini or Gemini Flash are chosen for tasks where speed is a priority.
  How It Works
  Input Handling:  
     The workflow starts with the "When chat message received" node, which triggers the process when a chat message is received. The input includes the chat message (chatInput) and a session ID (sessionId).

  Request Classification:  
     The "Request Type" node uses an OpenAI model (gpt-4.1-mini) to classify the incoming request into one of four categories:  
       general: For general queries.  
       reasoning: For reasoning-based questions.  
       coding: For code-related requests.  
       search: For queries requiring search tools.  
     The classification is structured using the "Structured Output Parser" node, which enforces a consistent output format.

  Model Selection:  
     The "Model Selector" node routes the request to one of four AI models based on the classification:  
       Opus 4 (Claude 4 Sonnet): Used for coding requests.  
       Gemini Thinking Pro: Used for reasoning requests.  
       GPT 4.1 mini: Used for general requests.  
       Perplexity: Used for search (Google-related) requests.  

  AI Processing:  
     The selected model processes the request via the "AI Agent" node, which includes intermediate steps for complex tasks.  
     The "Simple Memory" node retains session context using the provided sessionId, enabling multi-turn conversations.  

  Output:  
     The final response is generated by the chosen model and returned to the user.  

  Set Up Steps
  Configure Trigger:  
     Ensure the "When chat message received" node is set up with the correct webhook ID to receive chat inputs.  

  Define Classification Logic:  
     Adjust the prompt in the "Request Type" node to refine classification accuracy.  
     Verify the output schema in the "Structured Output Parser" node matches expected categories (general, reasoning, coding, search).  

  Connect AI Models:  
     Link each model node (Opus 4, Gemini Thinking Pro, GPT 4.1 mini, Perplexity) to the "Model Selector" node.  
     Ensure credentials (API keys) for each model are correctly configured in their respective nodes.  

  Set Up Memory:  
     Configure the "Simple Memory" node to use the sessionId from the input for context retention.  

  Test Workflow:  
     Send test inputs to verify classification and model routing.  
     Check intermediate outputs (e.g., request_type) to ensure correct model selection.  

  Activate Workflow:  
     Toggle the workflow to "Active" in n8n after testing.  

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

nodes_used:
  ["@n8n/n8n-nodes-langchain.chatTrigger","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.modelSelector","@n8n/n8n-nodes-langchain.outputParserStructured","@n8n/n8n-nodes-langchain.memoryBufferWindow","@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.lmChatAnthropic","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatOpenRouter","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE9VZaW/bSBL9Kw3OApMEboX3IWCBdZJBYExie2Ijk+w4CPqoljjmoSFbih1D/32rm5REHXE8mHzwfohDk9V1vH5dR/vOyaUzdhi/kKplHyfXbfvhQzJxjpwSNHPGd05etZpVAk6sXMiVyALIkkgwPwiYCCOQich8P5FpKFSEb/0s8NzIjzIvYZKpIPB88FwZhbGPejWUs4JpeNmAbC9Az2cva3wDGtCAbuawPHIqVgJae3WLD7lgRXFLLqAAoVvytpZQtOQFa0GSuiIn1WyuyeXtDIxuNmmd8R+fUAOKmce7Lj7jRigZo14GEQ19llKe+i6NGAtkkgo/Y6Gztvv7FCoipkyTEtqWTYA0ICBfoIdow5gaO/+p0uo5/qPWEi1YNcEVeTUy6y6bfDKBBqVndZvrvK7QFRr56RH1PB/d+wJ8WtfXFtMo5nHEEkXdOEtpCFlGUw84VTJNwBU84ooZTaxB7zQ0rdmVema0msflsvPpPX6xhryRtzzq404jDpmfYaAuEzSMEqCZYh51heuyNI3jRLJN3Mcn5HgClX5AlKyXG8Tnxe4qvG1fNdxo1PXvuzvyryc/fxvcn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lOZO2C4Q6D4FhUpyqMStsX58QmWDrmB/XFdmLrXq25EBDb0YIm1haVcxWEzaGQikKxqUZpe6+rQJvd9FG/7RyreuV2tnaAWImRMxpVjvNo6N9jvsJXKHiW4oVnhAwPTnWqMySyS4ATE3np810jRczsIzOvpB217eyjTygUuF3XLs0jD2PMqiFChEqUiFDIUIom56rjo8reK+1zLtSP55tdVdLhn/gV1z1Z3zb9017i0yQ50dYt3lJ9MqDjL4j7cRdDa2au2Pt+J3VrZGGZMWMZtuad6/s7Yiu4hsD4qdu2X/y73aNnK7Kndi+h4EB1Xfv437leZ7Rg5Pft81dKgR/fFb6vVb8a27kM5ivTXjPCS2rRW7od3zt5xDdDps5ACllsv/AZuoRpA7GwAA


name: Automate WhatsApp Sales with DeepSeek AI, Google Sheets and Gmail Notifications
author_name: Ahmed Saadawi
author_username: ahmedsaadawi
categories: []
created_at: 2025-08-05T10:24:36.993Z
updated_at: 2025-08-05T10:24:36.993Z
url: https://n8n.io/workflows/7005
scraped_at: 2025-12-24 13:02:46
description:
  Turn WhatsApp Into a 24/7 AI Sales Assistant — n8n + DeepSeek + Sheets + Gmail

  ⚠️ Self-Hosted n8n Only

  Description

  Turn your WhatsApp channel into a smart sales assistant! This workflow listens for inbound customer messages, looks up product data in Google Sheets, uses a DeepSeek Chat Model to answer in Saudi dialect, collects purchase details, and notifies your service rep only when the customer is ready to buy.

  🔧 How to Install Community Nodes

  Go to Settings → Community Nodes
  Click Install Node, then add:

  n8n-nodes-evolution-api

  Restart n8n if prompted.

  🔄 What This Workflow Does

  Webhook Listener
     Captures inbound WhatsApp messages (MESSAGES_UPSERT via Evolution API).
  Filters
     Ignores outbound (fromMe) and group (@g.us) messages.
  Data Extraction
     Pulls the customer’s message and phone number.
  AI Response
     Uses the DeepSeek Chat Model node to answer from your Google Sheets product list, greeting with “هلا وغلا” and speaking in Saudi dialect.
  Purchase Flow
     Prompts for name, phone, and delivery/pickup date.
  Notify Sales
     Sends an email via Gmail only when the customer requests to purchase.
  Context Memory
     (Optional) Stores conversation history in Postgres for coherent multi-turn chats.

  📸 Visual Preview

  🧩 Workflow 

  🛠️ Setup Instructions

  Evolution API Webhook

     In Evolution API dashboard → Events → Webhook
     Enable only MESSAGES\_UPSERT
     Set Webhook URL to:
       https://your-n8n-domain/webhook/whatsAppListen

  Google Sheets

     Create a spreadsheet (“You Conmanay Name Items”) with your product data [Item name, Item Model, Item Description, Item Components, Item Price, Item Availability, ...]
     Connect your Google Sheets credentials in n8n

  DeepSeek Chat Model

     Configure your DeepSeek API credentials in the DeepSeek Chat Model node
     Ensure the system prompt matches your company’s tone and data columns

  Gmail Notifications

     Add Gmail OAuth2 credentials to the Send a message in Gmail node
     Customize subject and email template if needed

  Postgres Memory (Optional)

     Connect a Postgres instance in the Postgres Chat Memory node for session context

  👥 Who Is This For?

  E-commerce teams** automating first-touch customer replies
  Sales reps** needing AI-driven chat support on WhatsApp
  Businesses** using WhatsApp as a primary customer channel

  🔐 Credentials Required

  Evolution API (webhook only)
  Google Sheets API
  DeepSeek API
  Gmail OAuth2
  Postgres (optional, for memory)

  🏷 Tags

  whatsapp bot, deepseek, google sheets, evolution api, gmail, postgres memory, ecommerce, sales automation, n8n template, no-code, ai, agent, ai agent

nodes_used:
  ["@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.gmailTool","n8n-nodes-base.googleSheetsTool","@n8n/n8n-nodes-langchain.lmChatDeepSeek","n8n-nodes-base.if","n8n-nodes-base.noOp","n8n-nodes-evolution-api.evolutionApi","n8n-nodes-base.webhook","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.memoryPostgresChat"]

workflow_json_compressed:
  H4sIAAAAAAAAE6WW227bRhCGX4XgVQto1T0fdFU3bYMUjZPCQQK0CIo9zEpEJJIlV3YCQ+/epaSYsiVVbnthQKKHM98/R92XVShnpb++/p295s1fP/+2eD//xZeTcgXJlrP7sqr7ZGsPrwY7sNRxIhiVSgXGJeHBiEBYUIF676ThUigHXFPCubNREVCE4xCZo1Y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to77pQm6OWXlLhgTc7jxsi02C4Sb3GhKcZNXUKqQVRKQN8yYoy3kYFkbOYA1+cLV1/HBs8+d8qgbofLUHnWeHaWs2yb9RAnwuZ3jz8WMmObWAs0tb/Tlka507e//swP3xoT8yfxrm3PndhUrD4bkYIe3O02PH57tg53pX6cvO93ZP3V+e91P5/y9H4mR1nnXa/3cO/wXuKbXHgY60TEbry7foRCY2m78BqbPb43wLAAA=


name: Automate SEO Analysis for Multiple Domains with Ahrefs and Google Sheets
author_name: Michael Muenzer
author_username: michaelmuenzer
categories: []
created_at: 2025-08-05T13:29:03.226Z
updated_at: 2025-08-05T13:29:03.226Z
url: https://n8n.io/workflows/7010
scraped_at: 2025-12-24 13:02:41
description:
  This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

  Fetch SEO and traffic information from ahref for a list of domains in a Google Sheet. This is great for marketing research and SEO workflow optimizations and saves tons of time.

  How it works
  We'll import domains from the Google sheet
  We use an SEO MCP server to fetch data from ahref free tooling
  The fetched data is stored in the Google sheet

  Set up steps
  Copy Google Sheet template and add it in all Google Sheet nodes
  Make sure that n8n has read & write permissions for your Google sheet.
  Add your list of domains in the first column in the Google sheet
  Add MCP credentials for seo-mcp

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.splitInBatches","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-mcp.mcpClient","n8n-nodes-mcp.mcpClient","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE62Wz27bOBDGX0XQ2Qz4n5Rv3U2xyGLRFEjQHhY5DMmhI9SWvJaaJhsY6GNsX69PsiMnGzuunTjpHmxIwvDjj0PON7wt61SOSyun183xh2sdtPtrat+Xo3KGPZTj27Juuh6aiCdDnEo62+wlJCe0EiIE5RXwmFK2RiTwziijOBrjTNY2cedDBbJK0tEn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OO2X3H4D/R3vv3v28/EGX213TPN0xd8y1XP4Lnr9GjCQMAAA=


name: Generate Images from Text with IBM Granite Vision 3.3 2B AI Model
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-05T14:23:41.808Z
updated_at: 2025-08-05T14:23:41.808Z
url: https://n8n.io/workflows/7012
scraped_at: 2025-12-24 13:02:44
description:
  Generate Images from Text with IBM Granite Vision 3.3 2B AI Model

  🌍 Overview

  This workflow uses the ibm-granite/granite-vision-3.3-2b model (hosted on Replicate) to generate AI images. It starts manually, sends a request to the Replicate API, waits for the result, and finally outputs the generated image link.

  Think of it as your AI art assistant — you click once, and it handles the full request/response cycle for image generation.

  🟢 Section 1: Trigger & API Setup

  🔗 Nodes:

  Manual Trigger* → Starts when you click *Execute.
  Set API Key** → Stores your Replicate API Key safely in the workflow.

  💡 Beginner takeaway:
  This section is like turning the key in the ignition. You start the workflow, and it loads your credentials so you can talk to Replicate’s API.

  📈 Advantage:
  Keeps your API key stored inside the workflow instead of hard-coding it everywhere.

  🟦 Section 2: Create Prediction

  🔗 Nodes:

  HTTP Request (Create Prediction)** → Sends a request to Replicate with the chosen model (granite-vision-3.3-2b) and input parameters (seed, temperature, max\_tokens, etc.).

  💡 Beginner takeaway:
  This is where the workflow actually asks the AI model to generate an image.

  📈 Advantage:
  You can tweak parameters like creativity (temperature) or randomness (seed) to control results.

  🟣 Section 3: Polling & Status Check

  🔗 Nodes:

  Extract Prediction ID (Code)** → Saves the unique job ID.
  Wait (2s)** → Pauses before checking status.
  Check Prediction Status (HTTP Request)** → Calls Replicate to see if the image is ready.
  If Condition (Check If Complete)** →

    ✅ If status = succeeded → move to result
    🔄 Else → go back to Wait and check again

  💡 Beginner takeaway:
  Since image generation takes a few seconds, this section keeps asking the AI “are you done yet?” until the image is ready.

  📈 Advantage:
  No need to guess — the workflow waits automatically and retries until success.

  🔵 Section 4: Process Result

  🔗 Nodes:

  Process Result (Code)** → Extracts the final data:

    ✅ Status
    ✅ Output image URL
    ✅ Metrics (time taken, etc.)
    ✅ Model info

  💡 Beginner takeaway:
  This section collects the finished image link and prepares it neatly for you.

  📈 Advantage:
  You get structured output that you can save, display, or use in another workflow (like auto-sending images to Slack or saving to Google Drive).

  📊 Final Overview Table

  | Section              | Nodes                              | Purpose                     | Benefit                     |
  | -------------------- | ---------------------------------- | --------------------------- | --------------------------- |
  | 🟢 Trigger & Setup   | Manual Trigger, Set API Key        | Start + load credentials    | Secure API key management   |
  | 🟦 Create Prediction | HTTP Request                       | Ask AI to generate image    | Control creativity & output |
  | 🟣 Polling           | Extract ID, Wait, Check Status, If | Repeatedly check job status | Auto-wait until done        |
  | 🔵 Process Result    | Process Result                     | Extract image + details     | Get clean output for reuse  |

  🚀 Why This Workflow is Useful

  Automates full API cycle** → From request to final image URL
  Handles delays automatically** → Keeps checking until your image is ready
  Customizable parameters** → Adjust creativity, randomness, and token limits
  Reusable** → Connect it to email, Slack, Notion, or storage for instant sharing
  Beginner-friendly* → Just plug in your API key and hit *Execute

nodes_used:
[cell repeats an earlier one in this file: 365 characters]

workflow_json_compressed:
  [encoded data, 4948 characters]


name: Automate SEO Blog Post Creation and Publishing with OpenAI & WordPress
author_name: Khaisa Studio
author_username: khaisastudio
categories: []
created_at: 2025-08-06T06:53:21.273Z
updated_at: 2025-08-06T06:53:21.273Z
url: https://n8n.io/workflows/7038
scraped_at: 2025-12-24 13:02:45
description:
  AI WordPress - SEO Content Generator automates creating and publishing SEO-friendly blog articles on WordPress. It combines AI technologies like OpenAI and OpenRouter to craft catchy titles, write 1500+ word articles, generate natural featured images, and publish everything seamlessly. 

  This workflow turns your WordPress site into a content powerhouse that boosts traffic and saves you hours by handling the entire blog post process automatically.

  Why Use AI WordPress - SEO Content Generator?

  Save Time
  Automate the entire SEO content creation from ideation to publishing, freeing up hours weekly.

  Lose Writer's Block 
  Get fresh, unique, and engaging article ideas without stressing over topics or titles.

  Boost SEO
  Generate optimized titles, meta-descriptions, and focus keyphrases to improve search rankings and click-through rates.

  Professional Polish
  Automated featured images and structured posts make your blog look like it has a full editorial team behind it.

  Perfect For

  Content Marketers
  Streamline your content pipeline for blogs that rank and convert.

  Small Business Owners
  Keep your website fresh with relevant IT and business tech content without hiring writers.

  WordPress Users
  Anyone who wants hassle-free SEO blog posts on their WordPress site without lifting a finger.

  How It Works

  | Step | Process |
  |------|---------|
  | Trigger | Starts on schedule every 3 hours or manually via Telegram command "generate" |
  | Process | Chooses article topic and category, then crafts title, slug, keyphrases, and meta description using AI |
  | Smart Logic | Writes a long-form SEO article (1500-2500 words) with actionable, audience-focused advice and generates a natural-looking featured image to match the post |
  | Output | Publishes drafted articles to WordPress, sets featured images, and sends notifications to Discord and Telegram channels |

  Quick Setup

  Step 1: Import & Configure
  Import JSON file to your n8n instances

  Step 2: Add Credentials
  Configure the following API connections:
  WordPress API** - For publishing posts
  OpenAI API** - For article and image generation  
  OpenRouter API** - For topic generation
  Discord Webhook** - For notifications (optional)
  Telegram API** - For manual triggering (optional)

  Step 3: Customize Settings
  Adjust posting URLs and endpoints
  Configure Telegram commands
  Set content categories as needed
  Replace placeholder WordPress site URLs with your own

  Step 4: Test & Deploy
  Run the workflow manually to verify setup
  Check that posts appear correctly on your WordPress site
  Enable scheduled triggers for automation

  Requirements

  Before getting started, make sure you have:

  Active n8n instances
  WordPress account with API access
  OpenAI API key for article and image generation
  OpenRouter API key for topic generation
  Discord server webhook URL (optional)
  Telegram bot token for manual triggering (optional)

  Level Up Ideas

  Take your automation to the next level:

  Add multilingual support** for global SEO coverage
  Integrate social media posting* for automatic cross-channel promotion *Available HERE!**
  Incorporate advanced AI writing models** for even richer articles

  Get Support
  Created by: khaisa Studio
  Tags: SEO, WordPress, AI Content, Automation
  Category: Content Creation
  Need custom work? Contact me

  Start automating your blog posts today!

nodes_used:
  ["@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.scheduleTrigger","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.telegramTrigger","n8n-nodes-base.if","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.wordpress","n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatOpenRouter","@n8n/n8n-nodes-langchain.outputParserStructured","@n8n/n8n-nodes-langchain.lmChatAzureOpenAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE62XzW7bRhDHX0XQ2evu94dPTVMkMBA3QZImhyAoZneHNhGJVCkKqWsY6Dv01ktvfb4+QoeSE9ESZVNBDxJkeTX7439n/jtzM51jC9Ozm2lZLVuoEp7n6dkUTJE158kmVGgLehcxKhGEhZAK4BoVR+6FMNlzLRU4tMFwp40rwMQ4vT2ZVnXG5fTsA4XuQjqbYwGJswJdwTS4wEJ2wERwaByqaLWc0q9gjrT6bb0o0+TpVV0vsZlAlSdvy3aGkwv4hA0ta68X3bLvK199Ry+23ozNoLpMV1BWp+v3F7M5LV3Uy7It64pQlLInkvuP9CU0tFGLDRHe3G7ivaO/1uvEqb09ucPWAb22qFnM3jFdQGBgrWDRZIXZiWCs2GL/AEvCfvHigtAJ4JtBrffHgkZAZaQXLHEwTHsoGEQjWQxoZSRKTGEL+nKB1ZPzCZs8xwobaHFyPodLHAFcd78s7+MKafU4Xv+VF2w2OYJlRmdgOkvLfCDywJOBgKgNT1venxezGvIGctLWk/evtqhbyghLPL1q28Vr/HWFy3aHUo9TVZ/Kr5RSxFBwToCBa6atyyyIFFlh6dscJaW921K+r5u8aHC5JGHfYDt5htCuGsy74o4mdkIeS+wNFEkmYMizZTqFzDwnmaXx3orCCGd7ur5JV5hXVFhvm/Lysl9aO4zLu4XbdX1OwlRcP378W8zstXYgKFOxE5YbOv5In1BpG4ROzriesE+atkx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7KY0UHc0FxZvdCHhzt9361u9eA3T222fgjfXjrgbF5SK6xc+uglIdSe2ijh8b44dN+UIihLQ6e00D829v/AEhQTcgAEwAA


name: Send a voice note on Telegram to generate a professional email with ChatGPT
author_name: Baptiste Fort
author_username: baptistefort
categories: []
created_at: 2025-08-06T08:30:25.992Z
updated_at: 2025-08-06T08:30:25.992Z
url: https://n8n.io/workflows/7041
scraped_at: 2025-12-24 13:02:45
description:
  Telegram Voice Message → Automatic Email



  Imagine: What if you could turn a simple Telegram voice message into a professional email—without typing, copying, pasting, or even opening Gmail?

  This workflow does it all for you: just record a voice note, and it will transcribe, format, and write a clean HTML email, then send it to the right person—all by itself.

  Prerequisites

  Create a Telegram bot** (via BotFather) and get the token.
  Have an OpenAI account** (API key for Whisper and GPT-4).
  Set up a Gmail account with OAuth2.**
  Import the JSON template** into your automation platform.

  🧩 Detailed Flow Architecture

  1. Telegram Trigger



  Node: Telegram Trigger  
  This node listens to all Message events received by the specified bot (e.g., “BOT OFFICIEL BAPTISTE”).  
  Whenever a user sends a voice message, the trigger fires automatically.

  &gt; ⚠️ Only one Telegram trigger per bot is possible (API limitation).

  Key parameter:  
  Trigger On: Message

  2. Wait

  Node: Wait  
  Used to buffer or smooth out calls to avoid collisions if you receive several voice messages in a row.

  3. Retrieve the Audio File



  Node: Get a file  
  Type:** Telegram (resource: file)
  Parameter:**  
    fileId = {{$json"message"["file_id"]}}  
  This node fetches the voice file from Telegram received in step 1

  4. Automatic Transcription (Whisper)



  Node: Transcribe a recording  
  Resource:** audio  
  Operation:** transcribe  
  API Key:** Your OpenAI account  
  The audio file is sent to OpenAI Whisper: the output is clean, accurate text ready to be processed.

  5. Optional Wait (Wait1)

  Node: Wait1  
  Same purpose as step 2: useful if you want to buffer or add a delay to absorb processing time.

  6. Structured Email Generation (GPT-4 + Output Parser)

  Node: AI Agent  
  This is the core of the flow:

  The transcribed text is sent to GPT-4 (or GPT-4.1-mini here, via OpenAI Chat Model)
  Prompt used:**

          You are an assistant specialized in writing professional emails.

      Based on the text below, you must: {{ $json.text }}

      Detect if there is a recipient's email address in the text (or something similar like "send to fort.baptiste.pro")
         If it’s not a complete address, complete it by assuming it ends with @gmail.com.
      Understand the user's intent (resignation, refusal, application, excuse, request, etc.)
      Generate a relevant and concise email subject, faithful to the content
      Write a professional message, structured in HTML:
         With a polite tone, adapted to the situation
         Formatted with HTML tags (`, `, etc.)
         No spelling mistakes in French
         My first name is jeremy and if the text says he is not happy, specify the wish to resign

  ⚠️ You must always return your answer in the following strict JSON format, with no extra text:
      
          {
        "email": "adresse@gmail.com",
        "subject": "Objet de l’email",
        "body": "Contenu HTML de l’email"
      }
      
  Everything is strictly validated and formatted with the Structured Output Parser node.

  7. Automatic Email Sending (Gmail)

  Node: Send a message  
  To:** {{$json.output.email}}
  Subject:** {{$json.output.subject}}
  HTML Body:** {{$json.output.body}}  
  This node takes the JSON structure returned by the AI and sends the email via Gmail, to the right recipient, with the correct subject and full HTML formatting.

  If you want to automate manual tasks, visit our French Agence automatisation 0vni.

nodes_used:
  ["n8n-nodes-base.wait","n8n-nodes-base.telegram","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.wait","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.telegramTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 4912 characters]


name: Export Amazon Product Reviews in Bulk to Google Sheets via RapidAPI
author_name: Hunyao
author_username: hun-yao
categories: []
created_at: 2025-08-06T13:17:05.340Z
updated_at: 2025-08-06T13:17:05.340Z
url: https://n8n.io/workflows/7050
scraped_at: 2025-12-24 13:02:42
description:
  What it does
  Pulls up to 700 Amazon reviews per product (recent and top-rated) and writes them straight into a Google Sheet tab you choose.

  Perfect for
  • Brand and product managers tracking sentiment
  • Marketplace sellers analysing competitor feedback
  • Agencies building product-review dashboards

  Apps used
  RapidAPI Real-Time Amazon Data, Google Sheets, n8n Form Trigger

  How it works

  Form Trigger collects brand, product and sheet info.
  Code node extracts the ASIN and builds 70 API requests (10 pages × star ratings).
  Split-in-batches loops through the request list, throttled by two Wait nodes.
  HTTP Request fetches reviews from RapidAPI.
  IF node drops empty or error responses.
  Split Out breaks arrays into single reviews.
  Google Sheets appends every review to the target tab.
  Loop continues until all pages finish.

  Setup

  Fill in Brand name, Product / Model Name, Amazon Product URL, Tab URL to insert reviews in the form.
  Grab your X-RapidAPI-Key from RapidAPI → Add as httpHeaderAuth credential.
  Connect Google Sheets OAuth2 and make the spreadsheet Anyone with the link can edit.
  Open Workflow Settings → set timezone if you plan to schedule runs.
  Hit Execute workflow or share the form link.

  Credentials
  • Real-Time Amazon Data (RapidAPI HTTP Header Auth)
  • Google Sheets OAuth2

  Limits and notes
  • \~100 RapidAPI calls for the free plan. Plan quota accordingly.
  • Assumes Amazon returns 10 pages per star rating; fewer pages skip silently.
  • Large sheets may hit Google API write quotas.


  If you have any questions in running the workflow, feel free to reach out to me at my youtube channel: https://www.youtube.com/@hunyaochong

nodes_used:
  ["n8n-nodes-base.splitInBatches","n8n-nodes-base.wait","n8n-nodes-base.wait","n8n-nodes-base.splitOut","n8n-nodes-base.if","n8n-nodes-base.googleSheets","n8n-nodes-base.httpRequest","n8n-nodes-base.formTrigger","n8n-nodes-base.set","n8n-nodes-base.code","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5120 characters]


name: Automate Personalized Email Campaigns with Google Docs, Sheets and SMTP
author_name: Stéphane Heckel
author_username: stephaneheckel
categories: []
created_at: 2025-08-06T18:15:33.000Z
updated_at: 2025-08-06T18:15:33.000Z
url: https://n8n.io/workflows/7065
scraped_at: 2025-12-24 13:02:43
description:
  Emailing Using Google Sheet, Google Docs, and SMTP

  Automate personalized email campaigns using a Google Sheets contact list, a Google Docs template, and SMTP delivery.

  How It Works

  Google Docs** is used as the email template with variables: {{firstname}}, {{lastname}}, {{company}}, {{email}}.
  Google Sheet** contains your list of recipients (one per row).
  For each contact, the workflow merges personal data into the Google Docs template.
  Email is sent to each recipient via SMTP (batch size: 1). Use the Wait node to respect provider quotas.
  After sending, the workflow updates the "process" column of the Google Sheet with the date/time.

  How to Use

  Copy Templates:
     Google Docs Template
     Google Sheet Template
     Find each document’s ID (the text after /d/ and before /edit in the URL).

  Configure Workflow:
     Enter your Google Docs and Google Sheets IDs in the settings node.
     Set your email subject in the appropriate parameter.

  Set Up Credentials:
     Connect your Google account.
     Configure the SMTP node with your mail server details.

  Update Data:
     Edit the Google Docs template with your message and variables.
     Prepare your Google Sheet with these columns: email, firstname, lastname, company.

  Deploy and Test:
     Connect all nodes.
     Test with a small contact batch.
     Troubleshoot any node errors (indicated in red in n8n).

  Requirements

  Google Credentials & permissions**: For Sheets and Docs access.
  SMTP Server**: For email delivery (adjust Wait node for rate limits).
  n8n Version**: Tested on 1.105.2 (Ubuntu). 

  Need Help?

  Comment this post or contact me on LinkedIn
  Ask in the n8n Community Forum!

  See Also

  After running your email campaign, some messages may fail to deliver. This workflow scans your email inbox for delivery errors (e.g., bounced messages), flags problematic email addresses in the Google Sheet and ensures future campaigns skip them.

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.googleDocs","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.emailSend","n8n-nodes-base.filter","n8n-nodes-base.googleSheets","n8n-nodes-base.splitInBatches","n8n-nodes-base.wait","n8n-nodes-base.noOp","n8n-nodes-base.merge","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 5248 characters]


name: 🤖 AI-Powered Prompt Enhancement Assistant using Google Sheets
author_name: EoCi - Mr.Eo
author_username: eocimreo
categories: []
created_at: 2025-08-06T19:16:57.923Z
updated_at: 2025-08-06T19:16:57.923Z
url: https://n8n.io/workflows/7067
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.

  Introduction
  Tired of spending time crafting the perfect AI prompt? This workflow takes your simple ideas like "write a blog post" and automatically transforms them into detailed, structured prompts that actually work.
  🎯 What This Does
  Automatically converts simple user prompts like "write a blog post" into structured, professional AI prompts with metadata, variables, and clear instructions. Perfect for everybody, all industries and organizations who are wanting to eliminate prompt engineering works.

  🔄 How It Works
  Google Sheets Trigger monitors for new prompts
  AI Enhancement Pipeline uses Gemini + Groq to add structure & context  
  Field Completion auto-generates missing metadata (topic, categories)
  Quality Assurance validates & stores complete results
  🚀 Setup Requirements
  AI APIs**: Gemini, Telegram, Groq API keys
  Google Sheets**: 2 sheets (Main, ModifiedPrompt)
  5 minutes setup time** - detailed instructions in blue sticky notes
  Set up steps
  Setup time: &lt; 5 minutes
  Create a Google Spreadsheet with two tabs (sheets): OriginalPrompts and ModifiedPrompts.
     OriginalPrompts columns: Original Prompt ID | Model | Original Prompt | Created Time
     ModifiedPrompts columns (example): Modified Prompt ID | Original Prompt ID | Topic | Topic Categories | Modified Prompt | Prompt Title | Prompt Type | Model Used | Improvement Notes | Updated Time | Created Time | isProcessed

  Add and attach credentials in n8n:
     Google Sheets OAuth2 (required for getting new prompt)
     Gemini and Groq API credentials (required for AI Agent)
     Telegram credential (required for notifications)

  Save & Activate the workflow. Add a test row to OriginalPrompts, for example:  
     Original Prompt ID: 1 — Original Prompt: "Write a short blog post about AI ethics".

  Wait ~30–60s and check ModifiedPrompts for the enhanced output.

  That’s it ! Once it configured, drop short ideas into your sheet and get professional prompts back automatically. Your prompts get better, your AI outputs improve, and you save hours of manual prompt crafting.

nodes_used:
  ["n8n-nodes-base.set","@n8n/n8n-nodes-langchain.memoryBufferWindow","@n8n/n8n-nodes-langchain.lmChatGroq","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.splitInBatches","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.set","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.switch","n8n-nodes-base.stickyNote","n8n-nodes-base.googleSheetsTrigger","n8n-nodes-base.noOp","n8n-nodes-base.noOp","n8n-nodes-base.noOp","n8n-nodes-base.googleSheets"]

workflow_json_compressed:
  [encoded data, 13596 characters]


name: Export Dialogflow Intents with Priority Levels to Google Sheets via Telegram
author_name: Eddy Medina
author_username: troguis
categories: []
created_at: 2025-08-06T22:38:12.352Z
updated_at: 2025-08-06T22:38:12.352Z
url: https://n8n.io/workflows/7073
scraped_at: 2025-12-24 13:02:42
description:
  What does this workflow do?

  This workflow exports the names of all Dialogflow intents from your agent, together with their priority levels, directly into a Google Sheets spreadsheet.  
  It is triggered via Telegram and includes visual indicators (emojis) for priority levels.

  📜 Overview

  🔔 Activation**:  
    Triggered when a validated user sends the keyword (e.g. "backup") via Telegram.

  📥 Data Retrieval**:  
    Fetches all intents of the specified Dialogflow agent using the Dialogflow API.

  ⚙️ Processing**:  
    Transforms each intent into an n8n-compatible item.  
    Extracts the displayName and priority of each intent.  
    Assigns an emoji and descriptive label based on priority tier:  
      🔴 Highest, 🟠 High, 🔵 Normal, 🟢 Low, 🚫 Ignore.

  📑 Storage**:  
    Appends each intent (name, priority number, emoji, and description), along with current date and time, to a Google Sheets document.

  📩 Notification**:  
    Sends a single confirmation message to the Telegram user once insertion is complete (using Execute Once).

  🛠️ How to install and configure

  Import the workflow: Upload the .json into your n8n instance.

  Connect Telegram:  
     Add your Telegram bot credentials and configure the node Validación de usuario por ID with your Telegram ID.

  Configure Dialogflow:  
     Authenticate using a Google Service Account API Credential.  
     Then, in the Obtiene datos de los intents node, replace the example project ID (TU_PROJECT_ID) with your actual Dialogflow agent's project ID.

  Connect Google Sheets:  
     Authorize Google Sheets via OAuth2 and select your destination document/sheet in the node Añadir fila en la hoja.

  Customize trigger keyword:  
     Adjust the command text (default "backup") if needed.
  Activate workflow:  
     Ensure the webhook is correctly set up in Telegram before enabling the workflow.

  👥 Who is this for?

  🤖 Bot administrators who need quick backups of Dialogflow intent names.

  🌐 Teams managing multilingual or multi-intent agents wanting priority oversight.

  💻 Development teams needing an automated way to audit or version intent configurations regularly.

  💡 Use Cases

  ⚙️ Backup intents periodically to monitor changes over time.
  📊 Visualize priority assignment in a spreadsheet for analysis or team discussion.

  📖 Document conversational structure for onboarding or knowledge transfer.

nodes_used:
  ["n8n-nodes-base.telegramTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.if","n8n-nodes-base.if","n8n-nodes-base.telegram","n8n-nodes-base.httpRequest","n8n-nodes-base.telegram","n8n-nodes-base.telegram","n8n-nodes-base.stickyNote","n8n-nodes-base.code"]

workflow_json_compressed:
  [encoded data, 4820 characters]


name: CYBERPULSE AI GRC: Automate PCI DSS Control Evaluation and Compliance Tracking
author_name: Adnan Tariq
author_username: adnantariq
categories: []
created_at: 2025-08-07T01:05:02.961Z
updated_at: 2025-08-07T01:05:02.961Z
url: https://n8n.io/workflows/7077
scraped_at: 2025-12-24 13:02:45
description:
  Description

  Automatically evaluates PCI DSS control responses using logic or AI. Designed to speed up compliance workflows, reduce audit fatigue, and flag non-compliance early.

  Who’s It For:

  Internal compliance teams
  PCI DSS auditors
  Security officers preparing for certification
  How It Works:
  Reads PCI controls and responses from Google Sheet
  Applies logic to classify each control as Compliant, Partial, or Non-Compliant
  Tags evaluation results
  Sends output to Sheet, Email, or Drive

  Requirements:

  Google Sheet with PCI controls
  n8n (open-source automation tool)
  Optional: Gmail or Drive node for delivery
  Google Sheet Requirements:
  Columns: Control_ID, Control_Description, Response, Evaluation_Result, Notes
  Headers must be in row 1

  File Templates:

  PCI_Control_Evaluation_Template.xlsx
  Customization Tips:
  Adjust logic for more strict evaluation
  Highlight non-compliant results for rapid review

  Compliance Alignment:
  • PCI DSS v4.0
  • ISO 27001 – Annex A crosswalk
  • Internal audit programs

  Setup Instructions:
  Fill in the Google Sheet template
  Connect to n8n with Google Sheet node
  Run the workflow or schedule via Cron node
  Review and export results


  🌐 https://cyberpulsesolutions.com
  📧 info@cyberpulsesolutions.com

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.filter","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.merge","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE52Y2W7bRhSGX4XgVQtojNkX3blO0rpAFsRBCjQIjFnOOIS1GBLlxDUM5DHa18uT9JBSLMamLCo3ggTOnPn4n3V0W1apHJe5/kOtXtETxi/rxfH0uByVU6h9Ob4tq9my9rMIp806nSFnybxPEKykzggDXEujs0vUS5WdAojau8i0zzlbyNZ4rblUKuiUy7tROfNTQFPHq3o+9TWk4s3JaXEyn9WL+aR4fu0nK19X8xki1P5iWY4/3K4Z5VTc5Pfm9VnUN3+unn0u702hgfOXvo6fzs9qX6+W5+8WPl7CAlfEBTRnHNe4jFOuCLWEmneUjiUbK3sktPwbl62u0v5ldx/xxHmCDlNI0kYXOAGqHJFWS+KN80SopLjO1nGIW86/PsGsiJMqXlazi+Lb13+ff4G4qqH4PF9c5sn887ev/zWvfXPVrJ7ZGWmPI8Ev4WjqZys/ebeoLi7aN7uaL6tWp/EHIjgdMU6R78ov8KwaF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6/m4vGaNjev1/vZeA4xbTzFyUwKMYcUotgyOIc2V5JhlLpmmbyDEDGJjqjWMpRo/p75qwPFK0LzezqLZLhvhdSrBl3JMkbl3B39ix0ekbtO579SdYdtrZj0s76HfY2PTPvuMdJvY7vNZ794fC1bv7vvBum//4Jmo13T39fusP5wZ9hnpf8eHjWKfFf4TVtjaysO46DU0rLD0Uj6ajneS7gHtuQEcbGrD1HfV6bO1e7Lvz72+e/CeEBxo+mkP9OZ7fyPdp0dvSjyhTe+FrPeQQf9u9Cb8k38vPDxrdL/v8fW6h+vu7n8flhvv4xIAAA==


name: CYBERPULSE AI GRC: Automated ISO 42001 Compliance Evaluation
author_name: Adnan Tariq
author_username: adnantariq
categories: []
created_at: 2025-08-07T01:18:21.989Z
updated_at: 2025-08-07T01:18:21.989Z
url: https://n8n.io/workflows/7078
scraped_at: 2025-12-24 13:02:45
description:
  Description
  Automatically evaluates and maps AI governance responses to ISO 42001:2023 clause requirements using AI-powered logic. Designed for GRC consultants, audit teams, and AI-focused security programs to reduce time spent on manual clause interpretation and alignment.

  Who’s It For:
  GRC Consultants handling AI governance controls

  Internal Auditors preparing for ISO 42001 audits

  Security teams implementing AI assurance frameworks

  Organizations adopting Responsible AI principles

  How It Works:
  Triggers manually or on schedule (e.g., clause review cycles)

  Reads AI control responses from a connected Google Sheet

  Uses AI to evaluate each response against ISO 42001 clauses

  Flags compliance status (match / partial / gap) with clause mapping

  Outputs a clean control map with automated summary

  Requirements:
  Gmail or SMTP node for email

  Google Sheets connected (OAuth)

  OpenAI or AI node (optional but recommended for advanced clause interpretation)

  Google Sheet Requirements:
  Columns: ClauseID, Clause_Description, Control_Response, Evaluation_Result

  Each row must correspond to one ISO 42001 clause

  Headers in the first row

  Optional: add column for Suggested_Remediation

  File Templates:
  ISO42001_Mapping_Template.xlsx

  Includes: clause ID, clause text, response, result, suggested fix

  Customization Tips:
  Modify clause response logic in the evaluation node (e.g., strict vs lenient mapping)

  Enable multi-framework mapping (e.g., align to NIST AI RMF as well)

  Auto-send mapping result to Drive or S3 as audit evidence

  Ethics & Compliance:
  This module assists with clause interpretation and reporting only. It does not simulate AI models or assess ethical risk directly. For internal reporting, policy alignment, and audit preparation use only.

  Setup Instructions:
  Copy the provided Google Sheet template (ISO42001_Mapping_Template.xlsx)

  Fill in your control responses (row = clause)

  Connect Google Sheets node using OAuth credentials

  In the AI node:

  Evaluate clause response using GPT or internal prompt

  Flag match/partial/gap

  Optional: auto-send report via email or upload to storage

  Review results and update your compliance register accordingly

  Supports:
  ISO 42001:2023

  AI Governance Principles (OECD, NIST AI RMF)

  SOCI Act compliance efforts (AI assurance layer)

  ACSC AI oversight recommendations

  📬 info@cyberpulsesolutions.com
  🌐 https://www.cyberpulsesolutions.com/

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.manualTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.set","n8n-nodes-base.splitOut","n8n-nodes-base.googleSheets","n8n-nodes-base.merge","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.gmail","n8n-nodes-base.googleSheets","n8n-nodes-base.if","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE52X227bRhCGX4XQbbXqnrgHXdXN0UEdF3GQNCmCYvYks6ZJQaLiGIGBvENv2tfLk3RIJRIjU7GcC8GCuZz9Zuafgz6OijCajs5n5es3Fx9eySe/ayieH4/Go8vYwGj6cVRUywYqH4/bcyrFlCQDCNEZSa0WOnIltUo2UJB5snmMXoH1TEFKycRkNCjFZZ47FdLoZjyq4DKiqZPr7KpeXKSyvsrE8dlpJjmlLHtQV82iLrMTmM+Lapad1GFVRuRpYLYcTf/8uAaOj9+wp8Vvfzy9unghr5/+OtrYRVOdpb9aC3GBD/wiQhPDUYNPOeU5oYZQ/ZKyKbVTmk+45m/x2Goe7j52M/4C8PjZ8uTh7K2qHp49vzqhf28Bnrx4cMil5rBL22M379B4HWLPf2mEcSZ4wnOpiXSUE8NdTkxS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3hd1PgF/7bwuKq1Lu6viu7cGBfsED+MpvTm3Tvk+EafQ8YOVMqw8W9ABlEHy2PQ2O05PGTwoGm4a3+8ef2gQTSMt2+7GQzq/p1i0Pj3ps5gWA9IzvdcHbJ50OQbvOl7ORm66QeSwO68ab0XDybjzr100KuDfjvcU6I7y/vAvTc3/wN/rX3LQw8AAA==


name: CYBERPULSE AI GRC: Automate Compliance Audit Documentation
author_name: Adnan Tariq
author_username: adnantariq
categories: []
created_at: 2025-08-07T01:36:02.682Z
updated_at: 2025-08-07T01:36:02.682Z
url: https://n8n.io/workflows/7079
scraped_at: 2025-12-24 13:02:45
description:
  Description
  Automatically packages audit-ready evidence files matched to control IDs from ISO 42001 or other frameworks.
  Fetches logs from Google Sheets, finds corresponding files in Google Drive, compresses them into a ZIP archive, and sends via email — no manual formatting required.

  Who’s It For:

  Compliance teams preparing audit documentation

  GRC consultants managing multiple clients

  Internal auditors requiring traceable evidence

  How It Works:

  Trigger manually or on schedule (e.g., daily)

  Reads audit logs from Google Sheets

  Searches Google Drive for files matching control_id

  Downloads matched files

  Zips them into an archive

  Sends the archive via email (Gmail or SMTP)

  Requirements:

  Gmail or SMTP node for email delivery

  Google Sheets connected (OAuth2)

  Google Drive connected (OAuth2)

  Google Sheet Requirements:

  Columns: control_id, description, evidence_status, last_updated

  One row per control ID or log entry

  Headers must be in the first row

  Log sheet must be shared with your service account or n8n-connected user

  File Templates:

  Audit_AutoPack_Sheet_Template.xlsx

  Evidence files in Google Drive named using control ID (e.g., ISO42001-5.1.pdf)

  Customization Tips:

  Adjust ZIP archive name in the “Zip Files” node

  Customize email subject, body, and recipient

  Use a different Drive folder per client or audit phase

  Ethics & Compliance:

  Ensures audit trail and evidence traceability

  Prevents unauthorized edits or file mismatches

  Setup Instructions

  Copy the provided Google Sheet template (linked in File Templates).

  Fill in your audit logs (columns: control_id, description, status, last_updated).

  Connect Google Sheets node using OAuth credentials.

  In the Gmail node:

  Set recipient email (e.g., your_email@example.com)

  Choose “Send binary data” and attach ZIP

  Trigger via Cron node (e.g., daily) or manually

  (Optional) Connect Drive or S3 node to store a backup copy

  Supports:

  ISO 42001 AI Governance

  PCI DSS v4.0

  NIST CSF / SOCI Act

  ACSC Essential Eight


  https://cyberpulsesolutions.com

nodes_used:
  ["n8n-nodes-base.manualTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.googleDrive","n8n-nodes-base.merge","n8n-nodes-base.set","n8n-nodes-base.googleDrive","n8n-nodes-base.compression","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE5WW227bRhCGX4XgbbUG98A96M6AnbZImhZw0wAJjGJ2d1YiLJGGRNkJDAF5h960r5cn6ZBydUgoS70RSGj232/+mZ3lU17FfJy//u3ddP7ju7n8afnBvX29ykf5HFvIx095VS9bqAP+3MXphCkpDhDRW1U4Iw0KrYxOLhagyuRKxKDBBa4hpWQxWQNaC1WWXseUr0d5DXMkqctVrNrsqgmrOdYttFVTZ5ertplvHr9++St74MTRwmSZjz/e0sImYvf4tGGOEH3U1jGFNjGVoGS2FILxooylEaWT0eTb7d5Psc7CrAp3VT0h9b+vP2FYtZg9Nou7NGsev375p9vt830XXdua9dsxD0u8mEO9gtnvi2oywQVF3TfLqqMkmGJUENo9LGibFhfE97TeyPxBb30MX4+ekYFLHwoeWCySZqrUyKxThvEkgaz03pZ6h/ymgZhtbHrTkAnH6CZNM5nhzRSxXR7CCXEGnrrQW8AYhYKoHXOaK/I0AAOrPeOiFFRGENGnHeArbMM0u36oIlKDZK+qGZ6ivFpUD3gIqXQxEsVJTLmFRI5OWWfIxRCZ0twyByiZlwAYHASX/A7yF1xMsDcw++EE4rwLPYTjheroTsJdiF2REzpIRrJo6YfwErM8FSwYVDpKZ5OJO7zLGLPQ1O2imf1ZxaxtesajiEtsDwFNcZ57F2oLWJgSedd2kXs6ONZzZhUIAiRqZS1K2OvCq+axnnWdeFDn/19mLvRZTm4xDXfUiUoyIxP1YuE98ybSiYnKBXCqiHavzB+q+xPVDc38foHLfptDMmXPIeMXu4Pc9Rt4nZiGaJhSoWQQdMHKoEB644wC3LHdYL1n3/Ucqtlx/57/3efT/zn3iH7aNHf9KE6ITjrBGZqSZgmXkfluoCQsjSxSFChtfiIlsZcSGim98MhQAaXEbclc9IGSQ+/JoWT9XlfctDRJP2dvm/aFXu1jnkMO8ilGSn3nd94dA7oKSCj/foRSNIS266pxgtkSRzkdhZZmeb8U+2FOob8uIk3ocU5XB2k8bNb3fkkpvIYgKCtHd0akJx+06V6lsQYLGm7ESRA1hk6qF961Fb1QaTp+uoC6LE8Vto8e0f0Z8VM+Lta3t0T07UwfUn15rH4rO9que2nSDcIMLBjiOTUBBrUHkxhSPzUAB9WPLBrSP98VvtE+ku6Q9sDQGcQ96+NjaIOjnwAD26zX/wLN+kXWzQkAAA==


name: Generate Text-to-Video & Image-to-Video Content with Seedance 1 Lite AI
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-07T05:25:17.144Z
updated_at: 2025-08-07T05:25:17.144Z
url: https://n8n.io/workflows/7098
scraped_at: 2025-12-24 13:02:44
description:
  Generate Text-to-Video & Image-to-Video Content with Seedance 1 Lite AI

  Built with n8n + Replicate

  This workflow takes a prompt (and optional seed), sends it to Bytedance’s seedance-1-lite model, waits for processing, and returns a generated video.

  ⚡ Section 1: Start & Authenticate

  ▶️ On clicking ‘execute’** → Manual trigger to start the workflow.
  🔑 Set API Key** → Stores your Replicate API key so all requests are authorized.

  Benefit: Keeps your API credentials secure and reusable.

  🛠️ Section 2: Send Video Generation Request

  📡 Create Prediction** → Makes a POST request to Replicate with:

    prompt: your text description of the video
    seed: (optional) controls randomness for reproducibility
    Model version: b6519549e375404f45af5ef2e4b01f651d4014f3b57d3270b430e0523bad9835

  Benefit: Kickstarts AI video generation from just a simple text prompt.

  🔍 Section 3: Track the Prediction

  📦 Extract Prediction ID** → Stores predictionId, status, and predictionUrl for polling.
  ⏳ Wait** → Pauses 2 seconds between checks.
  🔁 Check Prediction Status** → Calls Replicate to see if the video is ready.
  ✅ Check If Complete** → Branches:

    If status = succeeded → continue.
    Else → loop back to Wait until it’s finished.

  Benefit: Ensures the workflow patiently monitors progress without timing out.

  📽️ Section 4: Process & Return Results

  📦 Process Result** → Outputs a clean response containing:

    status
    video_url (generated video)
    metrics
    created_at & completed_at
    model: bytedance/seedance-1-lite

  Benefit: Gives you structured data and the direct video link, ready to share or store.

  📊 Workflow Overview

  | Section             | Purpose                     | Key Nodes                                     | Benefit                         |
  | ------------------- | --------------------------- | --------------------------------------------- | ------------------------------- |
  | ⚡ Start & Auth      | Initialize & secure API key | Manual Trigger, Set API Key                   | Keeps credentials safe          |
  | 🛠️ Send Request    | Start video generation      | Create Prediction                             | Submits prompt to Replicate     |
  | 🔍 Track Prediction | Poll status until done      | Extract Prediction ID, Wait, Check Status, If | Reliable async handling         |
  | 📽️ Process Result  | Format output               | Process Result                                | Easy access to final video link |

  ✅ Final Benefits

  🎬 Generate AI-powered videos directly from text prompts.
  🔑 API key stored securely within workflow.
  🔄 Handles asynchronous processing with automatic polling.
  📤 Provides clean, ready-to-use JSON output including video URL.
  🧩 Flexible — you can connect results to Slack, Google Drive, or YouTube for instant publishing.

nodes_used:
[cell repeats an earlier one in this file: 365 characters]

workflow_json_compressed:
  [encoded data, 4520 characters]


name: Generate 3D Models & Textures from Images with Hunyuan3D AI
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-07T05:30:45.472Z
updated_at: 2025-08-07T05:30:45.472Z
url: https://n8n.io/workflows/7111
scraped_at: 2025-12-24 13:02:44
description:
  Generate 3D Models & Textures from Images with Hunyuan3D AI

  This workflow connects n8n → Replicate API to generate 3D-like outputs using the ndreca/hunyuan3d-2.1-test model. It handles everything: sending the request, waiting for processing, checking status, and returning results.

  ⚡ Section 1: Trigger & Setup

  ⚙️ Nodes

  1️⃣ On Clicking “Execute”

  What it does:** Starts the workflow manually in n8n.
  Why it’s useful:** Great for testing or one-off runs before automation.

  2️⃣ Set API Key

  What it does:* Stores your *Replicate API Key**.
  Why it’s useful:** Keeps authentication secure and reusable across HTTP nodes.

  💡 Beginner Benefit

  No coding needed — just paste your API key once.
  Easy to test: press Execute, and you’re live.

  🤖 Section 2: Send Job to Replicate

  ⚙️ Nodes

  3️⃣ Create Prediction (HTTP Request)

  What it does:* Sends a *POST request** to Replicate’s API with:

    Model version (70d0d816...ae75f)
    Input image URL
    Parameters like steps, seed, generate_texture, remove_background
  Why it’s useful:** This kicks off the AI generation job on Replicate’s servers.

  4️⃣ Extract Prediction ID (Code)

  What it does:* Grabs the *prediction ID** from the API response and builds a status-check URL.
  Why it’s useful:** Every job has a unique ID — this lets us track progress later.

  💡 Beginner Benefit

  You don’t need to worry about JSON parsing — the workflow extracts the ID automatically.
  Everything is reusable if you run multiple generations.

  ⏳ Section 3: Poll Until Complete

  ⚙️ Nodes

  5️⃣ Wait (2s)

  What it does:** Pauses for 2 seconds before checking the job status.
  Why it’s useful:** Prevents spamming the API with too many requests.

  6️⃣ Check Prediction Status (HTTP Request)

  What it does:** GET request to see if the job is finished.

  7️⃣ Check If Complete (IF Node)

  What it does:**

    If status = succeeded → process results.
    If not → loops back to Wait and checks again.

  💡 Beginner Benefit

  Handles waiting logic for you — no manual refreshing needed.
  Keeps looping until the AI job is really done.

  📦 Section 4: Process the Result

  ⚙️ Nodes

  8️⃣ Process Result (Code)

  What it does:** Extracts:

    status
    output (final generated file/URL)
    metrics (performance stats)
    Timestamps (created_at, completed_at)
    Model info
  Why it’s useful:** Packages the response neatly for storage, email, or sending elsewhere.

  💡 Beginner Benefit

  Get clean, structured data ready for saving or sending.
  Can be extended easily: push output to Google Drive, Notion, or Slack.

  📊 Workflow Overview

  | Section               | What happens                      | Key Nodes                     | Benefit                           |
  | --------------------- | --------------------------------- | ----------------------------- | --------------------------------- |
  | ⚡ Trigger & Setup     | Start workflow + set API key      | Manual Trigger, Set           | Easy one-click start              |
  | 🤖 Send Job           | Send input & get prediction ID    | Create Prediction, Extract ID | Launches AI generation            |
  | ⏳ Poll Until Complete | Waits + checks status until ready | Wait, Check Status, IF        | Automated loop, no manual refresh |
  | 📦 Process Result     | Collects output & metrics         | Process Result                | Clean result for next steps       |

  🎯 Overall Benefits

  ✅ Fully automates Replicate model runs
  ✅ Handles waiting, retries, and completion checks
  ✅ Clean final output with status + metrics
  ✅ Beginner-friendly — just add API key + input image
  ✅ Extensible: connect results to Google Sheets, Gmail, Slack, or databases

  ✨ In short: This is a no-code AI image-to-3D content generator powered by Replicate and automated by n8n.

nodes_used:
[cell repeats an earlier one in this file: 365 characters]

workflow_json_compressed:
  [encoded data, 5216 characters]


name: Generate Images with Realistic Inpainting using Simbrams Ri AI
author_name: Yaron Been
author_username: yaron-nofluff
categories: []
created_at: 2025-08-07T05:31:35.575Z
updated_at: 2025-08-07T05:31:35.575Z
url: https://n8n.io/workflows/7113
scraped_at: 2025-12-24 13:02:45
description:
  Generate Images with Realistic Inpainting using Simbrams Ri AI

  This n8n workflow integrates with Replicate’s simbrams/ri model to generate images. It takes an input image and mask, applies transformations based on your parameters, and returns the final generated output automatically.

  📌 Section 1: Trigger & Authentication

  ⚡ On Clicking ‘Execute’ (Manual Trigger)

  Purpose**: Starts the workflow manually.
  Benefit**: Useful for testing and running on demand.

  🔑 Set API Key (Set Node)

  Purpose: Stores your **Replicate API key inside the workflow.
  Benefit**: Keeps credentials secure and ensures other nodes can reuse them.

  📌 Section 2: Sending the Image Generation Request

  🖼️ Create Prediction (HTTP Request Node)

  Purpose**: Sends a POST request to Replicate’s API to start generating an image.
  Input Parameters**:

    image: Input image URL
    mask: Mask image URL
    seed: Randomness control (for reproducibility)
    steps: Number of refinement steps
    strength: Intensity of modification (0–1)
    blur\_mask: Whether to blur the mask edges
    merge\_m\_s: Whether to merge mask with source
  Benefit**: Gives full control over how the model modifies your image.

  🆔 Extract Prediction ID (Code Node)

  Purpose: Extracts the **Prediction ID, status, and URL from Replicate’s response.
  Benefit**: Required to check the status of the generation later.

  📌 Section 3: Polling & Waiting

  ⏳ Wait (Wait Node)

  Purpose**: Pauses the workflow for 2 seconds before rechecking.
  Benefit**: Prevents hitting Replicate’s API too quickly.

  🔄 Check Prediction Status (HTTP Request Node)

  Purpose**: Checks whether the prediction is complete using the stored Prediction ID.
  Benefit**: Automates monitoring of job progress.

  ✅ Check If Complete (If Node)

  Purpose**: Decides if the prediction has finished.
  Paths**:

    True → Sends result to processing.
    False → Loops back to Wait and keeps checking.
  Benefit**: Ensures the workflow only ends when a valid image is ready.

  📌 Section 4: Processing the Result

  📦 Process Result (Code Node)

  Purpose**: Cleans up the completed API response and extracts:

    Status
    Output (final generated image)
    Metrics
    Created & completed timestamps
    Model name (simbrams/ri)
    Final image URL
  Benefit**: Delivers a structured and ready-to-use result for display, storage, or further automation.

  📊 Workflow Overview Table

  | Section           | Node Name               | Purpose                              |
  | ----------------- | ----------------------- | ------------------------------------ |
  | 1. Trigger & Auth | On Clicking ‘Execute’   | Starts the workflow manually         |
  |                   | Set API Key             | Stores API credentials               |
  | 2. AI Request     | Create Prediction       | Sends image generation request       |
  |                   | Extract Prediction ID   | Extracts ID + status for tracking    |
  | 3. Polling        | Wait                    | Adds delay between checks            |
  |                   | Check Prediction Status | Monitors job progress                |
  |                   | Check If Complete       | Routes based on job completion       |
  | 4. Result         | Process Result          | Extracts and cleans the final output |

  🎯 Key Benefits

  🔐 Secure authentication with API key management.
  🖼️ Custom image generation with parameters like mask, strength, and steps.
  🔄 Automatic polling ensures results are fetched only when ready.
  📦 Clean structured output with final image URL for easy use.

nodes_used:
[cell repeats an earlier one in this file: 365 characters]

workflow_json_compressed:
  [encoded data, 4884 characters]


name: Build Targeted Prospect Lists: Find & Enrich Leads with Surfe to HubSpot
author_name: go-surfe
author_username: go-surfe
categories: []
created_at: 2025-08-07T11:18:02.174Z
updated_at: 2025-08-07T11:18:02.174Z
url: https://n8n.io/workflows/7130
scraped_at: 2025-12-24 13:02:41
description:
  🚀 Build Hyper-Targeted Prospecting Lists with Surfe & HubSpot

  This template automatically discovers companies that match your Ideal Customer Profile (ICP), finds the right people inside those companies and enriches them — ready to drop straight into HubSpot. Launch the workflow, sit back, and get a clean list of validated prospects in minutes.

  1. ❓ What Problem Does This Solve?

  Sourcing prospects that truly fit your ICP is slow and repetitive. You jump between databases, copy domains, hunt down decision-makers, and then still have to enrich emails and phone numbers one by one.

  This workflow replaces all that manual effort:

  It queries Surfe’s database for companies that match your exact industry, size, revenue and geography filters.
  It pulls the best-fit people inside each company and enriches them in bulk.
  It keeps only records with both a direct email and mobile phone, then syncs them to HubSpot automatically.

  No spreadsheets, no copy-paste — just a fresh, qualified prospect list ready for outreach.

  2. 🧰 Prerequisites

  You’ll need:

  A self-hosted or cloud instance of n8n
  A Surfe API Key
  A HubSpot Private App Token with contact read/write scopes
  A Gmail account (OAuth2) for the completion notification
  The workflow JSON file linked above
      
      N8N_FLOW_2__Building_Prospecting_Lists.json
  3. 📌 Search ICP Companies Configuration — Fine-Tune Your Targeting

  3.1 Editing the JSON

  Every targeting rule lives inside the “🔍 Search ICP Companies” HTTP node.

  Open the node Search ICP Companies → Parameters tab → JSON Body to edit the filters.

  | Filter | JSON path | What it does | Example |
  | --- | --- | --- | --- |
  | industries | filters.industries | Narrow to specific verticals (case-sensitive strings) | ["Software","Apps","SaaS"] |
  | employeeCount.from / to | filters.employeeCount | from / to  | 1 / 35 |
  | countries | filters.countries | 2-letter ISO codes | ["FR","DE"] |
  | revenues | filters.revenues | Annual revenue brackets | ["1-10M"] |
  | limit | limit | Companies per run | 20 |

  3.2 Where to find allowed values

  Surfe exposes an “🗂 Get Filters” endpoint that returns every accepted value for:

  industries
  employeeCounts
  revenues
  countries (always ISO-2 codes)

  You can hit it with a simple GET /v1/people/search/filters request or browse the interactive docs here:

  https://developers.surfe.com/public-008-people-filters developers.surfe.com

  For company-level searches, the same enumerations apply.

  4. ⚙️ Setup Instructions

  4.1 🔐 Create Your Credentials in n8n

  4.1.1 🚀 Surfe API

  In your Surfe dashboard → Use Surfe Api → copy your API key
  Go to n8n → Credentials → Create Credential
      Choose Credential Type: Bearer Auth
      Name it something like SURFE API Key
      Paste your API key into the Bearer Token
      Save
  4.1.2 📧 Gmail OAuth2 API

  Go to n8n → Credentials
  Create new credentials:
      Type: Gmail OAuth2 API
  A pop-up window will appear where you can log in with your Google account that is linked to Gmail
      Make sure you grant email send permissions when prompted

  4.1.3 🎯 HubSpot

  🔓 Private App Token

  Go to HubSpot → Settings → Integrations → Private Apps
      Create an app with scopes:
          crm.objects.contacts.read
          crm.objects.contacts.write
          crm.schemas.contacts.read
      Save the App token
  Go to n8n → Credentials → Create Credential → HubSpot App Token
      Paste your App Token

  ✅ You are now all set for the credentials

  4.2 📥 Import and Configure the N8N Workflow

  Import the provided JSON workflow into N8N
      Create a New Blank Workflow
      click the … on the top left
      Import from File

  4.2.1 🔗 Link Nodes to Your Credentials

  In the workflow, link your newly created credentials to each node of this list :

  Surfe HTTP nodes:
      Authentication → Generic Credential Type
      Generic Auth Type → Bearer Auth
      Bearer Auth → Select the credentials you created before
  Gmail Node Credentials to connect with → Gmail account
  Hubspot Node →Credentials to connect with → Gmail account



  Surfe HTTP nodes

  Surfe HTTP nodes

  HubSpot node → Credentials to connect with → select your HubSpot credentials in the list

  5. 🔄 How This N8N Workflow Works

  Manual Trigger – Click Execute Workflow (or schedule it) to start.
  Search ICP Companies – Surfe returns company domains that match your filter set.
  Prepare JSON Payload with Company Domains – Formats the domain list for the next call.
  Search People in Companies – Finds people inside each company.
  Prepare JSON Payload Enrichment Request – Builds the bulk-enrichment request.
  Surfe Bulk Enrichments API – Launches one enrichment job for the whole batch.
  Wait + Polling loop – Checks job status every 3 seconds until it’s COMPLETED.
  Extract List of People – Pulls the enriched contacts from Surfe’s response.
  Filter: phone AND email – Keeps only fully reachable prospects (email and mobile).
  HubSpot: Create or Update – Inserts/updates each contact in HubSpot.
  Gmail – Sends you a “Your ICP prospecting enrichment is done” email.

  6. 🧩 Use Cases

  Weekly prospect list refresh** – Generate 50 perfectly-matched prospects every Monday morning.
  Territory expansion** – Spin up a list of SMB software CEOs in a new country in minutes.
  ABM prep** – Build multi-stakeholder buying-group lists for target accounts.
  Campaign-specific lists** – Quickly assemble contacts for a limited-time product launch.

  7. 🛠 Customization Ideas

  prepare 

  🎯 Refine filters for people – Add seniorities or other filters in the node JSON PAYLOAD WITH Company Domains
      use the surfe search people api doc https://developers.surfe.com/public-009-search-people-v2
  ♻️ Deduplicate – Check HubSpot first to skip existing contacts.
  🟢 Slack alert – Replace Gmail with a Slack notification.
  📊 Reporting – Append enriched contacts to a Google Sheet for analytics.

  8. ✅ Summary

  Fire off the workflow, and n8n will find ICP-fit companies, pull key people, enrich direct contact data and drop everything into HubSpot — all on autopilot.

  Prospecting lists, done for you.

nodes_used:
  ["n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.wait","n8n-nodes-base.code","n8n-nodes-base.filter","n8n-nodes-base.hubspot","n8n-nodes-base.gmail","n8n-nodes-base.manualTrigger","n8n-nodes-base.code"]

workflow_json_compressed:
  H4sIAAAAAAAAE91Z/W7bRhJ/FYIokATQyktySS7dSwvHdlofnNgXOw2CyJfup82YInkkZcfnCuhj3L1en+RmSYmiJEpx3N6hOPgPk8vZmdn5/M3q3o6lvWuPq/2/vWeSBScBeXF0rOyBPVYVs3fv7TgtK5YKdWToHBG4UcSxo5UfMEmxSzHn3GHUi4gOA0ew0GVRgAPGVeA4jAROqCMmBcGhQ0N7OrBTNlbA6sUkTmScXlqnRVbmSlTm+TguqxKEV+yytHc/XAB1JpV5vG8UdUG8ppQhrhVHRLoUUScgKMSEESwiIZlRfibjTLFCXFlH+6fWfjbOWRqrmvtdbr6mNEU1e8RZqYZXVZW/Uf+YqLICmjwr4yrOUhCNHD/AA8f1QZ2cFcC6UkVpbDMpEuBjNpa7Ozssj4flpNBqKLLxzo27I+Yyd8pakcaqV5k5yOnJ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ao1M6dShcGiEfeqrNTRiBqXzDHb/5f3J2zcfD1/tHR1/V09kZckujcLvs0lR3+DmnXviDmyOS0uC1YZLMQjmKyf8U43/H84BdqnPSkwqdZKKtkrWpjlKXybZ7VLh7HONCiRjGnCT9j3IVuxHiML5ATxp6Rqsprju4EHICEsksbg2Gv32678OG+nWbVZca5D326//3ui5MUsB3Z5DMblc7SHICfvn4jXItxhccMhDl3OkA88xhRyjiEmKAsEZpVIHASYLxfOle7O998cnewfWu6PzH2f3m3dW0+k3Q9weqOd45EFXZ+2teov4ltBFuY782gvyduvSldXIls1Os7ogSbsXViuX0g12GKU90AHUByxcd9nmfg1ivDIh19TQ2sPm7qyQdfLfOIbHrHPXeRRJ6J1YuIhhpgHVhxRRXygUES0xp57ve37TjlMTy7OiuzpbwJI5ExgWenXa2O+hw329cWB+TlCf7V08vbgAFXt/S+mT8ojg6BW4CU31yXxA3+uVsXEC7xPy6DFnTfRgwXTjTNir7+Zz9im8Uvq3ubXvF4o+ll99Y94vdPMd4B8ft9s398n78r1Mr6QHlfPe8239mbJX1kP9sNmc229ge4U+PLO3nHLrb2G9Yr827/qEf3E065E8nf4HJx7gPB4fAAA=


name: AI-Powered Cold Call Machine with LinkedIn, OpenAI & Sales Navigator
author_name: Matthieu
author_username: yaznow
categories: []
created_at: 2025-08-07T15:57:48.030Z
updated_at: 2025-08-07T15:57:48.030Z
url: https://n8n.io/workflows/7140
scraped_at: 2025-12-24 13:02:41
description:
  🔧 AI-Powered Cold Call Machine

  🎯 Purpose
  The AI-Powered Cold Call Machine is a fully automated workflow designed to generate qualified leads from LinkedIn, evaluate them using AI-based scoring, identify key decision-makers, and generate personalized cold call scripts. All results are saved to a Google Sheet-based CRM.

  ⚙️ How It Works

  1. Initialization
  Triggered either manually or via schedule.
  Pulls configuration from a Google Sheet’s Settings tab (e.g., target product, keywords, company size, API key).

  2. Company Search on LinkedIn
  Uses the Ghost Genius API to search for companies based on cleaned, relevant keywords extracted by OpenAI.
  Handles pagination, up to 1000 companies per batch.

  3. Company Filtering
  Each company goes through:
  Data enrichment via Ghost Genius (website, size, followers, etc.).
  Filtering:
    Must have a LinkedIn page with a website.
    Must have 200+ followers.
  Deduplication: checks if the company already exists in the CRM.

  4. AI-Based Company Scoring
  A specialized AI model scores each company from 0 to 10 based on:
    Industry fit.
    Size/location alignment.
    Potential pain points that match your offering.
  If the company is new and relevant (score ≥ 7), it is saved in the Companies sheet.

  5. Decision Maker Identification
  Uses Sales Navigator API (via Ghost Genius) to find employees with targeted job titles.
  For each matching profile:
    Enriches contact data (title, bio, etc.).
    Retrieves phone number (if available).
    Generates a 20-second personalized cold call script using OpenAI, based on company and profile data.
    Saves all information in the Leads tab of the CRM.

  If no decision maker is found, the company status is marked accordingly.

  📈 Outcome
  A fully enriched, qualified lead database.
  Custom cold call scripts** ready to be used by SDRs or founders.
  Zero manual work – from search to lead generation, everything is automated.

  💡 Use Case
  Perfect for SDRs, founders, or growth marketers looking to scale cold outreach without sacrificing personalization or running into LinkedIn scraping limits.

nodes_used:
  ["n8n-nodes-base.splitInBatches","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.if","n8n-nodes-base.httpRequest","n8n-nodes-base.splitOut","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.aggregate","n8n-nodes-base.stickyNote","n8n-nodes-base.manualTrigger","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.googleSheets","n8n-nodes-base.if","n8n-nodes-base.stickyNote","n8n-nodes-base.stopAndError","n8n-nodes-base.aggregate","n8n-nodes-base.googleSheets","n8n-nodes-base.filter","n8n-nodes-base.splitInBatches","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.splitOut","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.limit","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.if","n8n-nodes-base.googleSheets","n8n-nodes-base.httpRequest","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stopAndError","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.wait"]

workflow_json_compressed:
  [encoded data, 13568 characters]


name: Beginner AI Dataset Generator using OpenAI + LangChain in n8n
author_name: Robert Breen
author_username: rbreen
categories: []
created_at: 2025-08-08T00:01:14.904Z
updated_at: 2025-08-08T00:01:14.904Z
url: https://n8n.io/workflows/7154
scraped_at: 2025-12-24 13:02:41
description:
  This n8n workflow dynamically generates a realistic sample dataset based on a single topic you provide. It uses OpenAI (via LangChain) and n8n’s built-in nodes to:

  Generate structured JSON data for 5 columns with 3–5 values each  
  Flatten that data into a single text blob  
  Infer meaningful column names via a second AI call  
  Pivot, split, merge, and rename columns automatically  
  Output a clean, labeled dataset ready for export or further processing  

  ⚙️ Prerequisites

  OpenAI API Key  
     Visit: https://platform.openai.com/account/api-keys  
     Create a new key  
     In n8n: Credentials → New → OpenAI API, paste key, name it “OpenAi account”  

  LangChain nodes enabled in your n8n instance  

  🥇 Step 1: Set Up OpenAI Credential
  Go to OpenAI API Keys  
  Create and copy your key  
  In n8n: Credentials → New → OpenAI API → paste key as “OpenAi account”

  🥈 Step 2: Manual Trigger
  Add Manual Trigger to start the workflow

  🥉 Step 3: Set Topic
  Add a Set node named Set Topic to Search  
  Field: Topic = n8n use cases (or any topic you choose)

  ✨ Step 4: Generate Structured Data
  LangChain Agent** node Generate Random Data
  Connect to OpenAI Chat Model1 and Tool: Inject Creativity1  
  System prompt: instruct AI to output 5 columns of realistic values in JSON  

  🔧 Step 5: Parse AI Output
  Structured Output Parser** to validate JSON  

  🔄 Step 6: Flatten Data
  Code** node Outpt all Data to One Field  
  Joins all values into a comma-separated string for column naming

  🧠 Step 7: Generate Column Names
  LangChain Agent** Generate Column Names  
  Connect to OpenAI Chat Model2  
  Prompt: infer 5 column names from the string  

  🔢 Step 8: Pivot Names Row
  Code** node Pivot Column Names transforms array into { column1: name1, … }

  🪓 Step 9: Split Columns
  5 SplitOut nodes to break each array back into rows per column

  🔗 Step 10: Merge Rows
  Merge** node Merge Columns together using combineByPosition  

  🏷️ Step 11: Rename Columns
  Set** node Rename Columns assigns the AI-generated names to each column

  🔗 Step 12: Final Output
  Merge** Append Column Names combines data and header row

  🏁 Done! You now have a fully AI-driven, labeled dataset generated from a single topic—no external services needed. Easily extend by adding a Google Sheets or HTTP node to export.

  📬 Need Help or Want to Customize This?
  📧 robert@ynteractive.com  
  🔗 LinkedIn

nodes_used:
  ["@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.toolThink","@n8n/n8n-nodes-langchain.outputParserStructured","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.manualTrigger","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/n8n-nodes-langchain.agent","n8n-nodes-base.code","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.code","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.splitOut","n8n-nodes-base.merge","n8n-nodes-base.set","n8n-nodes-base.merge"]

workflow_json_compressed:
  [encoded data, 5544 characters]


name: Get Started with Google Sheets in n8n
author_name: Robert Breen
author_username: rbreen
categories: []
created_at: 2025-08-08T00:26:22.819Z
updated_at: 2025-08-08T00:26:22.819Z
url: https://n8n.io/workflows/7156
scraped_at: 2025-12-24 13:02:41
description:
  A hands-on starter workflow that teaches beginners how to:

  Pull rows from a Google Sheet

  Append a new record that mimics a form submission

  Generate AI-powered text with GPT-4o based on a “Topic” column

  Write the AI output back into the correct row using an update operation

  Along the way you’ll learn the three essential Google Sheets operations in n8n (read → append → update), see how to pass sheet data into an OpenAI node, and document each step with sticky-note instructions—perfect for anyone taking their first steps in no-code automation.

  0️⃣ Prerequisites
  Google Sheets**
    Open Google Cloud Console → create / select a project.  
    Enable Google Sheets API under APIs & Services.  
    Create an OAuth Desktop credential and connect it in n8n.  
    Share the spreadsheet with the Google account linked to the credential.
  OpenAI**
    Create a secret key at &lt;https://platform.openai.com/account/api-keys&gt;.  
    In n8n → Credentials → New → choose OpenAI API and paste the key.
  Sample sheet to copy** (make your own copy and use its link)  
    &lt;https://docs.google.com/spreadsheets/d/15i9WIYpqc5lNd5T4VyM0RRptFPdi9doCbEEDn8QglN4/edit?usp=sharing&gt;

  1️⃣ Trigger  
  Manual Trigger – lets you run on demand while learning.  
  (Swap for a Schedule or Webhook once you automate.)

  2️⃣ Read existing rows  
  Node:** Get Rows from Google Sheets  
  Reads every row from Sheet1 of your copied file.

  3️⃣ Generate a demo row  
  Node:** Generate 1 Row of Data (Set node)  
  Pretends a form was submitted:  
    Name, Email, Topic, Submitted = "Yes"

  4️⃣ Append the new row  
  Node:** Append Data to Google  
  Operation append → writes to the first empty line.

  5️⃣ Create a description with GPT-4o  
  OpenAI Chat Model – uses your OpenAI credential.  
  Write description (AI Agent) – prompt = the Topic.  
  Structured Output Parser – forces JSON like: { "description": "…" }.

  6️⃣ Update that same row  
  Node:** Update Sheets data  
  Operation update.  
  Matches on column Email to update the correct line.  
  Writes the new Description cell returned by GPT-4o.

  7️⃣ Why this matters  
  Demonstrates the three core Google Sheets operations: read → append → update.  
  Shows how to enrich sheet data with an AI step and push the result right back.  
  Sticky Notes provide inline docs so anyone opening the workflow understands the flow instantly.

  👤 Need help?  
  Robert Breen – Automation Consultant  
  ✉️ robert.j.breen@gmail.com  
  🔗 &lt;https://www.linkedin.com/in/robert-breen-29429625/&gt;

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

workflow_json_compressed:
  [encoded data, 4272 characters]


name: Automate Hyper-Personalized Email Outreach with AI, Gmail & Google Sheets
author_name: Intuz
author_username: intuz
categories: []
created_at: 2025-08-08T07:05:04.754Z
updated_at: 2025-08-08T07:05:04.754Z
url: https://n8n.io/workflows/7163
scraped_at: 2025-12-24 13:02:41
description:
  This n8n template from Intuz provides a complete and automated solution for hyper-personalized email outreach. 

  It powerfully combines AI with Gmail and Google Sheets, using specific keywords and prospect data to automatically craft unique, compelling email content that boosts engagement and secures more replies. 

  Instead of manually replying to every lead or inquiry, this template does the heavy lifting for you, ensuring every response is relevant, thoughtful, and timely.

  It reads each person's unique inquiry, uses OpenAI to craft a perfectly tailored and human-like response, and sends it directly from your Gmail account. Ideal for sales, marketing, and customer support teams looking to boost engagement and save hours of manual work.

  Use Cases:
  Sales Teams: Instantly follow up with new leads from your website's contact form with a personalized touch.

  Customer Support: Provide initial, intelligent responses to support tickets, answering common questions or acknowledging receipt of a complex issue.

  Marketing Automation: Nurture leads by responding to content downloads or webinar sign-ups with relevant, non-generic information.

  Founders & Solopreneurs: Manage all incoming business inquiries (partnerships, media, etc.) efficiently without sacrificing quality.

  How It Works:
  Trigger the Flow (Manual): Start the automation whenever you're ready to process a new batch of inquiries from your sheet.

  Fetch Inquiries from Google Sheets: The workflow connects to your specified Google Sheet and reads each row. It pulls the contact's First Name, Email ID, the Inquiry Intent (e.g., "Demo Request," "Pricing Inquiry"), and the full text of their Original Inquiry.

  Sync Your Signature: Before writing the email, an HTTP Request node dynamically fetches your display name from your Gmail account settings. This ensures the signature in the generated email (Thanks, {{Your Name}}) is always accurate.

  Craft a Hyper-Personalized Reply with AI: It uses this context to generate a high-quality, professional, and friendly email reply in HTML format. For example:
  If the intent is "Technical Support," the AI will generate a helpful, empathetic response addressing the technical issue.
  If the intent is "Partnership Proposal," it will draft a professional reply acknowledging the proposal and outlining the next steps.

  Send via Gmail: The final node takes the AI-generated message, adds a relevant subject line (e.g., "Re: Your Demo Request"), and sends it directly to the contact's email address from your connected Gmail account.

  This process loops for every single row in your Google Sheet, turning a list of names into a series of meaningful conversations.

  Setup Instructions:
  To get this workflow running, you'll need to configure a few things:

  Credentials:
  Google: Connect your Google account via OAuth2 and ensure you have enabled access for Google Sheets, Google Drive, and Gmail.
  OpenAI: Add your OpenAI API key as a credential.
  Google Sheet Setup:
  Create a Google Sheet with the following exact column headers:
  -First Name
  -Email ID
  -Inquiry Intent (A short category like "Demo Request", "Billing Issue", etc.)
  -Original Inquiry (The full text of the email or message you received).
  Node Configuration:
  Get row(s) in sheet: Select your Google Sheet document and the specific sheet name.
  Message a model (OpenAI): Choose your preferred OpenAI model (e.g., gpt-4-turbo, gpt-3.5-turbo).
  HTTP Request & Send Personalized emails: These nodes should automatically use your configured Gmail credentials. No changes are typically needed.

  Connect with us

  Website: https://www.intuz.com/services
  Email: getstarted@intuz.com
  LinkedIn: https://www.linkedin.com/company/intuz
  Get Started: https://n8n.partnerlinks.io/intuz

  For Custom Worflow Automation 


  Click here- Get Started

nodes_used:
  ["n8n-nodes-base.googleSheets","n8n-nodes-base.manualTrigger","n8n-nodes-base.gmail","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base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P7FCabGYyvQNcvwLhxBAvTwN5/XGn34g2wxHobYAwTFKnBqgyYJ5fL5UAiUVrpU53hTMi6bB1L18ogznK4K3vnJ2iMgxHZftZHJpZWPUZAHgSqW+C5XNsxw1CH1AmcPcAYuMwPRpJ6ycq/dZev9DGvrlHgs7sxVwgVu//xFARPZzGAuhQwbpXKDfPuXAZ0C5ZZpWdR/c2NwW9AEXR0imOV/jwKWeCwKFfAnEX84kfgxtMeBuV0gEti/KGeARxjhCiIo3KwjdKhb12hq10Feghl7vdhJjjVgwgoCeqpWwm+LotWYWkNJxDK3MsF6GC+Wtysp9+sq7PzTvdvAKlaxufFdfyOOxTK0dbuQkvGg5G5MAtaSG9OqwXu/a3t8jn/P58imQoONc9nJ505viQVamg/6m+SnmQmK/Rv9JnCQ1+qsiOIWqNiFcXlBhnwcIlxa14kQrrun7mtBfCn5HD3zH0j3VclwXqpUO4Peop9rOwHftyLEs1+wEv3t18Hv25SOtuzrSrjFqOZtBH4we+gwcHJU5+AXKfPW4j9cFQCoMWCXJZlXsYDbLpksZUP1Ag611kUl4Q5gKeTfG2SeQBuWXWBg7nAUGU7wZ4vV9a19pSiVa3wZllDMOx1CODZRxXO2X98kuowNmU1u1fINC8xxGagD0ojKo3Z7DvYAb6M+6CjTXvSu9AXa9wL/gR+g006rR3dhly5V9JU4Zf6kM9bNnz8Cg9dVdEn/5Tr1TdNePUV3iu7udTpEf9KNEl45LfxjrUHV29j9wPXU4ThwAAA==


name: AI-Powered Elementor Blog Post Automation System for Agencies with Gemini
author_name: Zain Khan
author_username: zain
categories: []
created_at: 2025-08-08T09:21:31.146Z
updated_at: 2025-08-08T09:21:31.146Z
url: https://n8n.io/workflows/7168
scraped_at: 2025-12-24 13:02:42
description:
  AI-Powered Elementor Blog Post Automation System for Agencies
  Categories: Business Automation, Content Creation, SEO, AI

  This advanced workflow automates every step of content publishing for agencies, from managing multiple clients and creating SEO-optimized blog content to AI-powered image generation and publishing directly to Elementor-powered WordPress sites. It's a game-changer for scaling your content operations and freeing up your team for strategic work.

  Benefits
  Complete Automation** - An end-to-end solution that handles content generation, image creation, scheduling, and publishing.
  Elementor-Ready Content** - Creates posts that inherit your client's theme styling and responsiveness, eliminating manual design work.
  Centralized Management* - Organizes clients, content ideas, and publishing history in a simple *Google Sheets** system.
  Intelligent AI Creation* - Uses *Google Gemini** to produce high-quality, SEO-optimized content with customizable tone and strict guidelines.
  Flexible Publishing* - Offers both *on-demand* and *scheduled** triggers to fit any content strategy.

  How It Works

  Flexible Triggers: The workflow can be initiated in two ways:
      Manual Trigger: Fill out a simple n8n form with client details, keywords, and content guidelines for an on-demand post.
      Automated Trigger: The workflow checks a Google Sheet hourly and automatically publishes any scheduled posts.
  Centralized Management: A three-sheet Google Sheets system acts as your core database for:
      Clients: Stores client information and WordPress app credentials.
      Blog Ideas/Schedule: Your content calendar where you plan and track upcoming posts.
      History: A log of every successfully published post.
  Intelligent AI Content Generation: An AI Agent with a customizable prompt leverages Google Gemini to:
      Analyze competitor URLs to create more comprehensive content.
      Adhere to strict SEO and formatting guidelines.
      Generate a unique featured image based on the article's keywords.
  Elementor Conversion: A custom JavaScript function parses the AI's HTML output and converts it into a native Elementor JSON format. This is the core magic that ensures the post is perfectly structured and responsive.
  Seamless WordPress Integration: The workflow uses a WordPress node to send the post's title and the Elementor JSON data to the client's site, publishing a new blog post that looks as if it was manually created with the Elementor editor.

  Requirements
  n8n Instance**: A self-hosted or cloud instance of n8n.
  Google Account**: A Google account for managing your client and content sheets.
  Google Gemini API Key**: A valid API key for content generation.
  WordPress App Passwords**: App passwords for each of your clients' WordPress sites.

  How to Use

  Set up your spreadsheet: Copy the provided Google Sheets template and populate the Clients sheet with your clients' details and credentials.
  Connect your accounts: Authenticate your Google Sheets, Google Gemini, and n8n accounts within your n8n instance.
  Run the workflow: Add your blog post ideas to the Schedule sheet for automated publishing, or use the n8n form for on-demand posts. The workflow will handle the rest.

  Business Use Cases
  Content Marketing Agencies** - Scale content production for dozens of clients without hiring more writers.
  SEO Agencies** - Instantly create high-quality, long-form content to improve client search rankings.
  Freelancers** - Offer comprehensive content services that would normally require a team.
  SaaS Companies** - Automate blog content to build an inbound marketing engine.
  Website Developers** - Provide ongoing content services to clients after a site launch.

  Revenue Potential
  This system allows you to:
  Scale content services** without scaling your team.
  Increase profitability** by reducing the time and cost per blog post.
  Offer a differentiated service that provides superior, Elementor-ready content.
  Potentially sell this automation as a service to other agencies.

  Difficulty Level: Intermediate
  Estimated Setup Time: 45 min
  Monthly Operating Cost: Low (variable based on AI usage)

nodes_used:
  ["@n8n/n8n-nodes-langchain.memoryBufferWindow","@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.n8n","n8n-nodes-base.n8n","n8n-nodes-base.googleSheetsTrigger","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.code","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.googleSheets","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.formTrigger","n8n-nodes-base.code","n8n-nodes-base.googleSheets","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.splitInBatches","n8n-nodes-base.set","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.googleGemini","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","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:
  H4sIAAAAAAAAE6VZW3PbxhX+Kxi+JJ3RKnu/6Kl22qTqxHEmTuuHjKezl7MSJiTAklAcj+P/3gNKFUBqQRHUgzUmtDr8cK7fd/b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3lpvfFGdmNnqhPcTiPEztxIUu2gGKwnnSLFRnATk2UERoyGaEGSyoItA7XygfYs/G2gMBtNPWsKlR48an4nlWOvZJAmor7LRsQjUzdd7O9VyLlDlDABi6jkSsjqkrgSlE3oUNR+PSVgfywspRuevT4S+IGcjZcg+RcL8zFH1LkU64qMyRHmv+x4luFRlpPNXUkI7faEYPw8pd0L74BKJMSEdsbEXXTkSRrG5B6lD9FBGOn8lhZruHKfiafx9A7E3szv+wIbxfyts12j518+7a5zi9cbuyMWibhL8sbiiXz58wK94PFay8bweKNp8pEIlmxN3GEVDQ8cvvuExdlO0N1p8lAyWt/JFS3szvmTrKH8pmtybICWTE7cZRWN7r1IyNrVuKQd0L2Ylc4eyrGhm/44Qzfj6P6uHD0czdzj3JKJ7N08lZEdoTzlH9rxcsljgIUVLB4uZkqljm6WizYOwTWfx4S1O0dqhqBqZ+3AxKtkn0qYc3kOxWw7HEbE54cbDAJbrrcS/igYLTi+WW2FLWm6hhT5UMljWBZOpc+ilkslJVVy0WlpcFVv0afEutbiXgyzf9k2lUmnxeczs033jfRvqJc8dps7Ds+e60f7xw++aHJtHu/r+3XnhJb58+R9YNjAkpCEAAA==


name: Pharmacy Inventory Alerts for Low Stock & Expiring Medicine with Google Sheets
author_name: Oneclick AI Squad
author_username: oneclick-ai
categories: []
created_at: 2025-08-08T13:42:28.228Z
updated_at: 2025-08-08T13:42:28.228Z
url: https://n8n.io/workflows/7177
scraped_at: 2025-12-24 13:02:41
description:
  This n8n workflow monitors pharmacy inventory stored in a Google Sheet, checks daily for low stock or near-expiry medicines, and sends alerts to the pharmacist via email, ensuring timely restocking and waste prevention.

  Why Use It

  This workflow automates inventory management for pharmacies, reducing the risk of stockouts or expired medicines, saving time, minimizing losses, and ensuring compliance with safety standards by providing proactive alerts.

  How to Import It

  Download the Workflow JSON: Obtain the workflow file from the n8n template or create it based on this document.
  Import into n8n: In your n8n instance, go to "Workflows," click the three dots, select "Import from File," and upload the JSON.
  Configure Credentials: Set up Google Sheets, email (e.g., SMTP), and optional SMS (e.g., Twilio) credentials in n8n.
  Run the Workflow: Activate the scheduled trigger and test with a sample Google Sheet.

  System Architecture

  Daily Stock Check (9 AM)**: Automated trigger to monitor inventory levels
  Fetch Stock Data**: Retrieves current medicine data from Google Sheets
  Wait For All Data**: Ensures complete data retrieval before processing
  Check Expiry Date and Low Stock**: Analyzes inventory for alerts
  Update Google Sheet**: Records alert status and timestamps
  Send Email Alert**: Notifies pharmacist of low stock and expiry issues

  Google Sheet File Structure

  Sheet Name**: PharmacyInventory  
  Range**: A1:E20 (or adjust based on needs)

  | A          | B             | C          | D             | E             |
  |------------|---------------|------------|---------------|---------------|
  | medicine_name | stock_quantity | expiry_date | alert_status | last_checked |
  | Paracetamol | 15            | 2025-09-15 | Notified      | 2025-08-08    |
  | Aspirin     | 5             | 2025-08-20 | Pending       | 2025-08-07    |
  | Ibuprofen   | 20            | 2026-01-10 | -             | 2025-08-08    |

  Columns**:
    medicine_name: Name of the medicine.
    stock_quantity: Current stock level (e.g., number of units).
    expiry_date: Expiry date of the medicine (e.g., YYYY-MM-DD).
    alert_status: Status of the alert (e.g., Pending, Notified, - for no alert).
    last_checked: Date of the last inventory check.

  Customization Ideas
  Adjust Thresholds**: Change the low stock threshold (e.g., from 10 to 5) or expiry window (e.g., from 30 to 15 days).
  Add SMS Alerts**: Integrate Twilio or another SMS service for additional notifications.
  Incorporate Barcode Scanning**: Add a node to import inventory updates via barcode scanners.
  Dashboard Integration**: Connect to a dashboard (e.g., Google Data Studio) for real-time inventory tracking.
  Automated Restock Orders**: Add logic to generate purchase orders for low stock items.

  Requirements to Run This Workflow
  Google Sheets Account**: For storing and managing inventory data.
  Email Service**: Gmail, SMTP, or similar for email alerts.
  n8n Instance**: With Google Sheets and email connectors configured.
  Cron Service**: For scheduling the daily trigger.
  Internet Connection**: To access Google Sheets and email APIs.
  Optional SMS Service**: Twilio or similar for SMS alerts (requires additional credentials).

  Want a tailored workflow for your business? Our experts can craft it quickly Contact our team

nodes_used:
  ["n8n-nodes-base.cron","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.emailSend","n8n-nodes-base.stickyNote","n8n-nodes-base.wait","n8n-nodes-base.code"]

workflow_json_compressed:
  H4sIAAAAAAAAE81Z3XLbuBV+Faw2s5Y8hkKKFEUy9bZe20k98d9aTtM0zjggCEqMJVIhQDuqVjO96V3vetuZzvTR9gn6CD0A+CdLctrtTKeejCMDB+cP33dwAC1acdjyW+8uPde8Ni6JdRA4Rw+j1l5rygRp+YtWnHBBEspOpFwYOh6LSOT2zB4d2CTsGc7AMELTsAeWF1pWz+u7LnEiK3It1yS2Q2zXjCybepT2XBP0CjadTYhghxkL+ZCJfHaYwggTDAyILGfLvVZCpgysHeQinYJoiC7HJJsSOkcnyT1LRJrN0cGEZYKjKM3QafqAhiKld+g7dPxlFsPsESzj6CEWY/QqTUcThoZjxgSXDpARb/nvP4CZNGTy40Inoed4A0ZMigchDbFtswAHkevgwHJdj4V9o9cPW5VzRySezAuzh2NG76Tq+UxOJW6ClW4cEM66NEsTmJylPBYxfPTfY9MwjD3bNsCJGclAoWAZl9kWWTwasew6njL1dwzpUh6O0zxr+d7yw3Kp7fwOViht5nKvCMCzIqcfeAFmbBBh27ItHDDSwySihNkmpZbn1QG8ZIKOiwAgXWSr/yOVwCp/zTgG7uYwMpKMpKZy36pt++bAPwYd6UxqkKIQDZeaFbwWizmEeasN3qrx2zhcLmEFycUYVMSUaNstzrL7mLIDStM8ES3QQwFRUoRMlA9ay8EsVnmU6od0OOy9/vLqxzen+aUI53UuVjCCEWAHND5OdK9KNBmYwaBn9rHbG7jY9piJ3cDq4YFtuX0KezAY0Fr5m1kIaFzB4S/Jtdn7X+U6nbGsTHOunP9/24A+ULU/8Bj27MDBdhQE2KUOUNUwPBoM2IAQUisfsiREx1MgrK4aW7PPpIyUXk29WZH1gQXjNL1TCaShY7oE2GYODA/bPWpj0ncIBus0cHsWceigtcZv9kXA2v3fsskkLctazMXeT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ExWxBgeZDh/+oQk1YMhLjAp6rU5/SOGnv3NwkcOT6aOc8bfTERaeS5knY3VHArR9C/JWdWTHQnFhXr5UmGx9dCisiFWSiX9b9EiHagp4u+32/UdK6Ij0ZXgyF7MDbcBIvXxS5vNLvKrL/Kpon9R6jW+wiwzeJrEIrlmQsReUpXmbeL5BshPzV7C/3ULfbLZZOyUxrQfvfo3Ypr0eWnY5sv4BJE8604to73UCV+61al+pK9DUHlNa1Xr+3hJZUvu7cQxMawT2f7bU4E9BLjVR/yr4wmssm9iKDRg761HtT6rjX61WP7nq01w+og6nhQY9uQaPu9qMIu27kBYSEdl99lQKQTBgt30zWH/RhTB7D0Cy/X6gvO56+USjZvVachOxLyzeWHz6AW+tfc2zSuv27hI1K153YpPTfvitstLHp1X2Tle2PwxvVfs2pTSae/AJgg5Xl8l+u40hllxsAAA==


name: Automate SEO Title & Description Updates for WordPress with Yoast SEO API
author_name: phil
author_username: phil
categories: []
created_at: 2025-08-08T13:56:02.092Z
updated_at: 2025-08-08T13:56:02.092Z
url: https://n8n.io/workflows/7180
scraped_at: 2025-12-24 13:02:45
description:
  This workflow automates the update of Yoast SEO metadata for a specific post or product on a WordPress or WooCommerce site.

  It sends a POST request to a custom API endpoint exposed by the Yoast SEO API Manager plugin, allowing for programmatic changes to the SEO title and meta description.

  Bulk version available here.

  Prerequisites

  A WordPress site with administrator access.
  The Yoast SEO plugin installed and activated.
  The Yoast SEO API Manager companion plugin installed and activated to expose the required API endpoint.
  WordPress credentials configured within your n8n instance.

  Setup Steps

  Configure the Settings Node: In the Settings node, replace the value of the wordpress URL variable with the full URL of your WordPress site (e.g., https://your-domain.com/).
  Set Credentials: In the HTTP Request - Update Yoast Meta node, select your pre-configured WordPress credentials from the Credential for WordPress API dropdown menu.
  Define Target and Content: In the same HTTP Request node, navigate to the Body Parameters section and update the following values:
      post_id: The ID of the WordPress post or WooCommerce product you wish to update.
      yoast_title: The new SEO title.
      yoast_description: The new meta description.

  How It Works

  Manual Trigger: The workflow is initiated manually. This can be replaced by any trigger node for full automation.
  Settings Node: This node defines the base URL of the target WordPress instance. This centralizes the configuration, making it easier to manage.
  HTTP Request Node: This is the core component. It constructs and sends a POST request to the /wp-json/yoast-api/v1/update-meta endpoint. The request body contains the post_id and the new metadata, and it authenticates using the selected n8n WordPress credentials.

  Customization Guide

  Dynamic Inputs**: To update posts dynamically, replace the static values in the HTTP Request node with n8n expressions. For example, you can use data from a Google Sheets node by setting the post_id value to an expression like {{ $json.column_name }}.
  Update Additional Fields: The underlying API may support updating other Yoast fields. Consult the **Yoast SEO API Manager plugin's documentation to identify other available parameters (e.g., yoast_canonical_url) and add them to the Body Parameters section of the HTTP Request node.
  Change the Trigger**: Replace the When clicking ‘Test workflow’ node with any other trigger node to fit your use case, such as:
      Schedule: To run the update on a recurring basis.
      Webhook: To trigger the update from an external service.
      Google Sheets: To trigger the workflow whenever a row is added or updated in a specific sheet.

  Yoast SEO API Manager Plugin for WordPress
  // ATTENTION: Replace the line below with &lt;?php - This is necessary due to display constraints in web interfaces.

  &lt;?php
  /**
   Plugin Name: Yoast SEO API Manager v1.2
   Description: Manages the update of Yoast metadata (SEO Title, Meta Description) via a dedicated REST API endpoint.
   Version: 1.2
   Author: Phil - https://inforeole.fr (Adapted by Expert n8n)
   */

  if ( ! defined( 'ABSPATH' ) ) {
      exit; // Exit if accessed directly.
  }

  class Yoast_API_Manager {

      public function __construct() {
          add_action('rest_api_init', [$this, 'register_api_routes']);
      }

      /**
       Registers the REST API route to update Yoast meta fields.
       */
      public function register_api_routes() {
          register_rest_route( 'yoast-api/v1', '/update-meta', [
              'methods'             =&gt; 'POST',
              'callback'            =&gt; [$this, 'update_yoast_meta'],
              'permission_callback' =&gt; [$this, 'check_route_permission'],
              'args'                =&gt; [
                  'post_id' =&gt; [
                      'required'          =&gt; true,
                      'validate_callback' =&gt; function( $param ) {
                          $post = get_post( (int) $param );
                          if ( ! $post ) {
                              return false;
                          }
                          $allowed_post_types = class_exists('WooCommerce') ? ['post', 'product'] : ['post'];
                          return in_array($post-&gt;post_type, $allowed_post_types, true);
                      },
                      'sanitize_callback' =&gt; 'absint',
                  ],
                  'yoast_title' =&gt; [
                      'type'              =&gt; 'string',
                      'sanitize_callback' =&gt; 'sanitize_text_field',
                  ],
                  'yoast_description' =&gt; [
                      'type'              =&gt; 'string',
                      'sanitize_callback' =&gt; 'sanitize_text_field',
                  ],
              ],
          ] );
      }

      /**
       Updates the Yoast meta fields for a specific post.
       * @param WP_REST_Request $request The REST API request instance.
       @return WP_REST_Response|WP_Error Response object on success, or WP_Error on failure.
       */
      public function update_yoast_meta( WP_REST_Request $request ) {
          $post_id = $request-&gt;get_param('post_id');

          if ( ! current_user_can('edit_post', $post_id) ) {
              return new WP_Error(
                  'rest_forbidden',
                  'You do not have permission to edit this post.',
                  ['status' =&gt; 403]
              );
          }

          // Map API parameters to Yoast database meta keys
          $fields_map = [
              'yoast_title'       =&gt; '_yoast_wpseo_title',
              'yoast_description' =&gt; '_yoast_wpseo_metadesc',
          ];

          $results = [];
          $updated = false;

          foreach ( $fields_map as $param_name =&gt; $meta_key ) {
              if ( $request-&gt;has_param( $param_name ) ) {
                  $value = $request-&gt;get_param( $param_name );
                  update_post_meta( $post_id, $meta_key, $value );
                  $results[$param_name] = 'updated';
                  $updated = true;
              }
          }

          if ( ! $updated ) {
              return new WP_Error(
                  'no_fields_provided',
                  'No Yoast fields were provided for update.',
                  ['status' =&gt; 400]
              );
          }

          return new WP_REST_Response( $results, 200 );
      }

      /**
       Checks if the current user has permission to access the REST API route.
       * @return bool
       */
      public function check_route_permission() {
          return current_user_can( 'edit_posts' );
      }
  }

  new Yoast_API_Manager();

  Bulk version available here : this bulk version, provided with a dedicated WordPress plugin, allows you to generate and bulk-update meta titles and descriptions for multiple articles simultaneously using artificial intelligence. It automates the entire process, from article selection to the final update in Yoast, offering considerable time savings.


  .

  Phil | Inforeole | Linkedin

  🇫🇷 Contactez nous pour automatiser vos processus

nodes_used:
  ["n8n-nodes-base.set","n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gm/Yf6Wv9Hyp2v3kkg0BW4JcIoPBvoeDAeFa4o0blOMGocAUhBPHFHKrOP422xGzBg+ia62pyIvZOUG+1kZpO3JRB4NZA05TYVrQTgcDvCNzjFo35lZJkDvTuuwWSpMKTyQH0j8dZYlyB4gLq26BGN0Ddk2c9U10TrdxXhpdqEXX9GNxFOfjltwfXQLOuk8BQWOQykhVKIyBpcHlTzZLq1xh9G1lvrdMsC6uk6NdtFNobgvsfO9d7p6hnan3cPFd9/3UIHZ74PB24X/FlaOHG1+0/18brzcd4rss4ZM39dfXbuy+v+QfC/rwNX3E+Xr9H9kSDOoNCAAA


name: Website Uptime Monitoring with GPT-4 Analysis and Gmail Notifications
author_name: Calistus Christian
author_username: ca7ai
categories: []
created_at: 2025-08-09T13:00:01.720Z
updated_at: 2025-08-09T13:00:01.720Z
url: https://n8n.io/workflows/7194
scraped_at: 2025-12-24 13:02:45
description:
  How it works
  Checks if a website is up, sends the HTTP result to an AI model (ChatGPT) for analysis, and emails a clear success or failure message. Great for a quick “is this site up?” check you can trigger from any system via HTTP.

  Webhook — Receives a POST with the target URL.
  HTTP Request — Attempts to fetch the URL.
  Message a model — Uses ChatGPT to explain the status and cause of any error.
  IF — Checks if the HTTP status code equals 200.
  Gmail Success — Sends a success email with AI explanation.
  Gmail Error — Sends an error email with AI explanation and next steps.

  Set up steps
  Estimated setup: 5–10 minutes.
  Beginner friendly — no advanced config required.
  Add your Webhook URL where needed and connect your Gmail account.
  Keep detailed instructions and configuration notes inside Sticky Notes in your workflow.

  Inputs
  Send a POST request to your Webhook with:
  { "url": "https://example.com" }

nodes_used:
  ["n8n-nodes-base.webhook","@n8n/n8n-nodes-langchain.openAi","n8n-nodes-base.if","n8n-nodes-base.gmail","n8n-nodes-base.gmail","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE7WV227bRhCGX0XgNVfd88FXdd0iddE0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9MjYeLHwI7r498Q8BHJ4wx6UeRJ6SOvoqXZQ7nn0IcUvT6ADItvtZ+qbehMMCQAA


name: Generate AI Promo Videos for Products with GPT-4o, Fal.ai & Human Supervision
author_name: gotoHuman
author_username: gotohuman
categories: []
created_at: 2025-08-09T13:46:49.592Z
updated_at: 2025-08-09T13:46:49.592Z
url: https://n8n.io/workflows/7196
scraped_at: 2025-12-24 13:02:44
description:
  Generate AI video clips to promote products, services or events on social media. Use gotoHuman as an interface to control and supervise each step of the workflow to create content that's actually worth posting.
  How it works
  gotoHuman will show the workflow steps that need approval or input in its' inbox and notify you via email or Slack.

  We choose from different topics for our post suggested by AI

  We select the image style, a product to show, and review an AI-generated tag line

  We use Fal.ai to generate an image that serves as a reference image for our video clip. And we use Cloudinary to add an overlay for the tag line.
  We review the image in gotoHuman and can iterate on it by retrying or even changing the prompt.

  We review the video clip that's generated with Fal.ai based on the approved image and can, again, retry or reprompt.

  How to set up

  Most importantly, install the gotoHuman node before importing this template!
  (Just add the node to a blank canvas before importing)
  Follow the instructions shown along the workflow and in the incl. video guide. You mainly need to
  set up your credentials for gotoHuman, OpenAI, Fal.ai and Cloudinary
  in gotoHuman, select and create the pre-built review template "Promo video agent" or import these IDs:
  Z7V1jyImY1pho9eY039R,0GBaOCWd27tqV562kkCL,E2wlCVPWmk2UnLHVt4uu,DitPdbIapS4rBxBTIYGt,Z2T7nFwkXVFQlD6z50eV
  select these templates in the gotoHuman nodes
  do a quick setup for Cloudinary

  Requirements

  You need accounts for
  gotoHuman (human supervision)
  OpenAI (ideation)
  Fal.ai (image/video generation)
  Cloudinary (text overlay)

  How to customize

  Adjust/Replace the workflow triggers as needed
  Change the prompt in the topics generation node
  Replace the product image URLs used in the "gotoHuman - Content" node
  Adjust the available styles for image generation in the gotoHuman review template and the prompts they link to in the "Set Initial Image Prompt" node
  Adjust the prompt used for video generation in the "Set Initial Video Prompt" node
  If you want to use a different service/model for image and video generation, replace the nodes related to Fal.ai.
  Also, if you do not need a text overlay, remove the Cloudinary nodes.

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.lmChatOpenAi","@n8n/n8n-nodes-langchain.toolThink","@n8n/n8n-nodes-langchain.toolThink","@n8n/n8n-nodes-langchain.outputParserStructured","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.httpRequest","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.httpRequest","@gotohuman/n8n-nodes-gotohuman.gotoHuman","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.httpRequest","n8n-nodes-base.noOp","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.wait","n8n-nodes-base.httpRequest","n8n-nodes-base.if","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","@gotohuman/n8n-nodes-gotohuman.gotoHuman","n8n-nodes-base.set","n8n-nodes-base.stickyNote","@gotohuman/n8n-nodes-gotohuman.gotoHuman","n8n-nodes-base.stickyNote","n8n-nodes-base.webhook","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.set","@gotohuman/n8n-nodes-gotohuman.gotoHuman","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.set","n8n-nodes-base.set","n8n-nodes-base.if","n8n-nodes-base.switch","n8n-nodes-base.switch","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","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  [encoded data, 15136 characters]


name: Chat-Based Financial Analysis of P&L and Balance Sheets with GPT-4 & PostgreSQL
author_name: Zain Ali
author_username: zain104
categories: []
created_at: 2025-08-09T14:12:26.675Z
updated_at: 2025-08-09T14:12:26.675Z
url: https://n8n.io/workflows/7197
scraped_at: 2025-12-24 13:02:46
description:
  🧾 Who’s it for  
  This workflow is designed for finance teams, accountants, and data analysts 📊 who want to interact with financial data from two PostgreSQL databases — one containing Profit & Loss data and another containing Balance Sheet data — using natural language chat.  
  It’s perfect for those who need quick, AI-powered insights with the correct database automatically selected based on the question.  

  ⚙️ How it works / What it does  
  Chat Trigger 💬 – Starts the workflow when a chat message is received.  
  AI Agent 🤖 – Processes the user’s question and decides:  
     Profit & Loss DB → If the question is about revenue, costs, expenses, or profit.  
     Balance Sheet DB → If the question is about assets, liabilities, or equity.  
  PostgreSQL Query Nodes 🗄️ –  
     P_L_Reports queries the financial_agent_pl_reports table.  
     Balance_Sheets queries the financial_agent_balancesheets table.  
  AI Model (OpenAI) 🧠 – Uses gpt-4.1-nano to interpret results and provide an easy-to-read answer.  
  Memory Buffer 📝 – Keeps recent conversation context for a smoother chat experience.  
  Table Output 📋 – Always formats the results as a clean, readable table with two decimal precision.  

  🛠️ How to set up  
  Prepare Your Databases  
     Feed your Profit & Loss and Balance Sheet data into PostgreSQL.  
     Ensure the correct table structures are used:  
       financial_agent_pl_reports → P&L data.  
       financial_agent_balancesheets → Balance Sheet data.  

  Configure the PostgreSQL Nodes  
     Add connection credentials for both databases.  
     Link P_L_Reports and Balance_Sheets nodes to the correct tables.  

  Set Up the AI Agent  
     Paste the provided system message into the AI Agent node (already configured in your workflow).  

  Connect the Nodes  
     Ensure Chat Trigger → AI Agent → DB Nodes → AI Model connections match your workflow.  

  Deploy  
     Save and activate the workflow.  
     Start sending finance-related queries to test.  

  📋 Requirements  
  n8n** (latest version recommended)  
  PostgreSQL databases** with:  
    financial_agent_pl_reports table (P&L data).  
    financial_agent_balancesheets table (Balance Sheet data).  
  OpenAI API credentials** with access to gpt-4.1-nano.  
  Active Webhook/Chat Trigger** for receiving queries.  

  🎨 How to customize  
  Expand AI Instructions** 🗒️ – Add more rules in the system message for different data sources or formatting styles.  
  Change AI Model** 🧠 – Switch to a different OpenAI model for faster or more accurate results.  
  Add More Databases** 🗄️ – Connect extra financial datasets, e.g., cash flow, sales analytics.  
  Enhance Table Styling** 📊 – Use Markdown or HTML formatting for richer outputs.  
  Refine Query Logic** 🔍 – Modify filtering logic to better match your reporting needs.  

nodes_used:
  ["@n8n/n8n-nodes-langchain.agent","n8n-nodes-base.postgresTool","n8n-nodes-base.postgresTool","@n8n/n8n-nodes-langchain.memoryBufferWindow","@n8n/n8n-nodes-langchain.lmChatOpenAi","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.chatTrigger"]

workflow_json_compressed:
  H4sIAAAAAAAAE6WV227bOBCGX8XgtZnlURR91XSBAkVPu5uiQVEEAQ9DW4gOhqSkNQy/e0ey40Oy23h3L2xI4uifj8P5R2tSRDIjzd3y+t3X9+bj9fLrqrN/kimpoHdktiZF3fWuDvB2iPOaqVx6wYVIWQwiy7NMeKU1M1EbHa202jBwOXBguMY4eC99JowMPKRINlNSuwpQ6k1Ro2zhysll7cpV108ml3Ooe0zdu3lHZt9uMLaJMFyut5g25sw7r2hkXFEFIlCbbKBcBy9sUlYrTfYZLt8eFFfL4cmrOq9/wx8ddWnp6nlYuKK+cLu4ZdMVfdHUmFLxbMqtQIila1GwhxZJ1put2Be8G+PEBd9Md3hJhmi8ipRBbqliMlEsmKYq2RQDMJ0kO+D9cfv+9i9YNm3fHQgPcN51cIE8/byF7nPTlKd4GcunirGX8bI9HrO50NpyGowBqjKpqRv+RC6cDIFFm4cD3mtXDsd+e7UA+E+ERot/S2iik6Ccptg7nCorgTolDLUBQmKcRZDxQHhVVMsSJh+gatrVGYdcjYGv71OC9rqoY/P9yYnn7BxgfiH3wDEDkSDk1FrOEDhLQ0kZ5VwCMLAKvDgAf1pCjU35+8L1kw8IV54BXVZD+PhmcYorZXYertjjAojcggBqOJIq67EDXGI0Z0Ya4JkV/qgDrvoi3K0mH5se/vH4uzFmF3IER9E9VD5zDwlN3Q9WmxHyDHSPqaIzmQ6Dzb3BRo2Rem7N4HpjfUw82KOqXi+gnoShphV0HTp50kKA4gHiGeUd3vvcFvM5tKcb4ObR/t/BL5rmbpx/DpJVImQ0N85RFSOePDhsVW+94orFXElyRv+grAs9MpJZcmUHU9JB3xf1fCwS/IBwP3B8aiNyzcgDH6r1sFUYQXKDY1hi4wH3nqphyuQRDNUsJmfR5lInBMFy1xAGqVF4PxHxusLt4z6/3dyg9PEswjVX3PaDn3F5Pc7gv52mj1FT/EZE+EFmbDOKnfpyK1ftbl4SrB7NfCr5ZBj9b8TnTtxKDo1xjy20e/aS9mn40yS/aMyj+v8iwxhyqrrZ/ASBJrSQsgcAAA==


name: Multi-Chain Token Swap Relayer with Li.Fi
author_name: 1Shot API
author_username: oneshotapi
categories: []
created_at: 2025-08-10T03:45:43.121Z
updated_at: 2025-08-10T03:45:43.121Z
url: https://n8n.io/workflows/7206
scraped_at: 2025-12-24 13:02:46
description:
  Swap Tokens with Li.Fi 

  The growing popularity of agentic payments has lead to the development of protocols like x402 where agents and humans can pay for internet resources over standard http protocols using stablecoins.

  This workflow lets you run your own swap relayer where callers can provide an x402-compatible payment header and a desired destination network to instantly receive gas tokens. This setup is trust minimized - user's have the following guarantees:

  They will be the receiver of the swap.
  Only the amount of tokens the authorized will be swapped. 

  Setup

  In order to run this relayer workflow, you will need an account on 1Shot API. You must then import the 1Shot Gas Station contract into your business for any chain you wish to support with your relayer.

  Next, follow the directions in the worflow sticky notes to update the Payment Configs for the tokens you wish to support swaps for. Lastly, distrubute your webhook api endpoint to your users. 

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.respondToWebhook","n8n-nodes-1shot.oneShotSynch","n8n-nodes-base.if","n8n-nodes-1shot.oneShot","n8n-nodes-base.webhook","n8n-nodes-base.httpRequest","n8n-nodes-base.respondToWebhook","n8n-nodes-base.respondToWebhook","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.code","n8n-nodes-base.respondToWebhook","n8n-nodes-base.stickyNote","n8n-nodes-base.respondToWebhook","n8n-nodes-base.respondToWebhook"]

workflow_json_compressed:
  [encoded data, 10516 characters]


name: Automate WordPress Category Mapping with GPT-5 Mini (Azure OpenAI)
author_name: Khairul Muhtadin
author_username: khmuhtadin
categories: []
created_at: 2025-08-10T04:00:36.681Z
updated_at: 2025-08-10T04:00:36.681Z
url: https://n8n.io/workflows/7207
scraped_at: 2025-12-24 13:02:46
description:
  WP Category Toolkit automates mapping content topics to your WordPress category IDs using your WordPress REST API and a GPT-5mini model.  



  It replaces manual copy-paste and guesswork when assigning categories, speeds up publishing, and reduces tagging errors so your site stays organized and search friendly without you learning new dev magic (just a bit of prompt craft).

  💡 Why Use WP Category Toolkit?

  Saves time:** Cuts hours of manual category lookup and mapping—deploy batches of posts in minutes, not coffee breaks.  
  Stops messy tagging:** Eliminates inconsistent category assignments so your archive and SEO behave themselves.  
  Measurable improvement:** Expect faster publish cycles and fewer category fixes (reduce manual mapping errors by ~90%).  
  Competitive edge:** Uses an LLM to interpret topic intent, so your categories align with content meaning, not guesswork—like having a librarian who understands your jokes.

  ⚡ Perfect For

  Content Managers:** Keep large WordPress catalogs neat without the spreadsheet gymnastics.  
  Agencies:** Onboard client sites faster by automating taxonomy mapping across projects.  
  Developers & Automators:** Add an LLM-powered mapping step to content pipelines without building custom classifiers.

  🔧 How It Works

  ⏱ Trigger: Manual start (kick it off when you’re ready to map categories).  
  📎 Process: Pull all site categories from your WordPress REST endpoint, aggregate the list, and feed the source content + current topic into the mapping step.  
  🤖 Smart Logic: A Chain LLM node (Category-Mapping) uses a small prompt to decide which WordPress category IDs match the content topic (GPT5-mini handles the reasoning).  
  💌 Output: A clean category ID mapping you can paste into your Body Post WordPress node or use to patch posts automatically.  

  🔐 Quick Setup

  Import JSON file to your n8n instances → n8n Import Link  
  Add credentials: WordPress API credential & Azure OpenAI (GPT5-mini) credential or you can use usual open AI node 
  Update: Replace the WP endpoint URLand any post-body endpoints you’ll write back to  
  Test: Run with a sample post and copy the output mapping into your Body Post WordPress node to confirm IDs match expected categories

  🧩 You'll Need

  Active n8n instances → n8n Partner Link  
  WordPress REST API access and credentials (wp-json access)  
  Azure OpenAI account with access to GPT5-mini  
  Integrations: WordPress API node, Chain LLM / Azure OpenAI node  
  (Optional) Staging WordPress site to test mappings safely

  🛠️ Level Up Ideas

  Auto-write category descriptions based on mapped content using the LLM. (It’ll sound smarter than your coffee.)  
  Patch posts automatically after mapping so mapping becomes truly zero-touch.  
  Add fallback heuristics: if the LLM is uncertain, route to a Slack/Microsoft Teams approval step.

  Made by: Khairul  
  Tags: WordPress, Categories, AI, n8n  
  Category: WordPress  
  Need custom work? Contact me
   

nodes_used:
  ["n8n-nodes-base.stickyNote","n8n-nodes-base.manualTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.aggregate","@n8n/n8n-nodes-langchain.chainLlm","@n8n/n8n-nodes-langchain.lmChatAzureOpenAi","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE61X627bNhR+FU4t0MQwHV2om4Gg8xw0y7C2WWO06BKjoUTK5iyJmkQ10QIDe4kBw/7s3fYEe4Qd2ortxHZ3q3/EMkV+5/ad7zB3RsYVNfp3hsgrRfOYnzGjb8S255p+6CQeIWZosTgwkyg0zYR7DiEBZVZ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SCk0K3SsyHuLv9+m2cOwYKTtDEvxW937x3d331y8fgUKU4IVkTQHTzXdDudzgImoiqfa+CL2DJIKfFucbp/f0rRux1+7ApDvZY1oyRHNEb8Flird1ROwnfGyh7TGtwqj9KjJlvGB8qC7O/T04NlIFiJGw6mUFS8BhKGRUCkHFZjx8tlhT0Cqe9rHnqwVKFJvpTnHx+jKGPF4moP6TZorAz1Hl84YaWz4/H/sATA4ETAnUxBDxdNUTDjcN9AB0HlpjXxGazoS9ILGagntf27or0UFo7xNU/C50UeiqJbQIUCjS2uM5nNdfN2DTCt8rcGFHiq9q1zmaXM/eVZo2rKWesF6KOcftS+MgYErwDH01NAvly4Y8zFQdDk+Wg1bCt52R/b8VU9y27UjxgLse36Cie2FOCRhCDeKmPkW8X3mb1whTguFXZyJXPyDbkyz4ZSqwU91yV8XPB+I7bbcdXvLAEYPg0mh3NbShgBtKzFdG9jU4sRuLOfFVyf0u+/fn+bBaCOI81Ebw5b+rrXKtq2EQfA4igloFegtqBaorxM4cM0KLJP57s4rzH+4wUAiyN4LjLu6wFiOHaxvMCR4fI2FGbO6MCgp05lQO8R4vDiV8/g+pe29UGceqgYOgZRpt/9m4i82d+E/DsZvjb45H2v2bfBDV0Z80GyoQRRfLou6gb1f3reObVnZdmuX958eiTv933lkF/Z+73fgzud/Aerc+mWiDQAA


name: Smartlead Email Campaign Analytics Dashboard with Google Sheets Integration
author_name: Rahi Uppal
author_username: rahiuppal
categories: []
created_at: 2025-08-10T06:11:14.159Z
updated_at: 2025-08-10T06:11:14.159Z
url: https://n8n.io/workflows/7210
scraped_at: 2025-12-24 13:02:44
description:
  Workflow 1: Domain and Email Health 🩺
  This part of the workflow is triggered every 5 hours by the Schedule Trigger1 node. Its purpose is to pull health metrics for both email domains and individual email addresses.

  How it Works:
  ++Schedule Trigger:++ The Schedule Trigger1 node initiates the workflow every 5 hours.

  ++API Requests:++ Two separate HTTP Request nodes, HTTP Request5 and HTTP Request6, make API calls to Smartlead.

  ++HTTP Request5 calls++ the endpoint for domain-wise health metrics.

  ++HTTP Request6 calls++ the endpoint for email-wise health metrics.

  Both requests use the same api_key and a date range from 2025-07-04 to the current day.

  ++Data Splitting:++ The Split Out5 and Split Out6 nodes take the JSON response from the API calls and split the data into individual items. This is necessary so each row of data can be processed and added to Google Sheets separately.

  ++Google Sheets Integration:++ Finally, the Append or update row in sheet5 and Append or update row in sheet6 nodes update two different Google Sheets:

  ++Append or update row in sheet5 adds++ or updates rows in the DomainHealth sheet, matching on the domain column.

  ++Append or update row in sheet6 adds++ or updates rows in the EmailHealth sheet, matching on the from_email column.

  Workflow 2: Global and Campaign-Specific Analytics 📊
  This second part of the workflow is triggered every 2 hours by the Schedule Trigger node. Its goal is to get a day-by-day overview of email engagement and campaign-specific performance.

  How it Works:
  Schedule Trigger: The Schedule Trigger node starts this workflow every 2 hours.

  ++API Requests:++ Two HTTP Request nodes, HTTP Request and HTTP Request1, call different Smartlead API endpoints.

  ++HTTP Request++ retrieves day-wise overall stats for email engagement.

  ++HTTP Request1 ++retrieves overall stats for each campaign.

  ++Data Splitting:++ The Split Out and Split Out1 nodes separate the JSON responses into individual data items for processing.

  ++Google Sheets Integration:++ The Append or update row in sheet and Append or update row in sheet1 nodes then write the data to Google Sheets.

  ++Append or update row in sheet++ updates the Sheet1 sheet with day-wise metrics, using the date as a matching column.

  ++Append or update row in sheet1++ updates the CampaignWise sheet with campaign performance metrics, using the campaign id to match rows.

nodes_used:
  ["n8n-nodes-base.httpRequest","n8n-nodes-base.googleSheets","n8n-nodes-base.splitOut","n8n-nodes-base.httpRequest","n8n-nodes-base.googleSheets","n8n-nodes-base.splitOut","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.googleSheets","n8n-nodes-base.splitOut","n8n-nodes-base.scheduleTrigger","n8n-nodes-base.httpRequest","n8n-nodes-base.googleSheets","n8n-nodes-base.splitOut","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workfl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TTkC7ehJraWLUvDEMaLmNcNgqJOGuk7BWqNScaF3Tp5BGxiUvGb+z6jkSYRB+QLR1N3icZzCHDVI6ynZ2ktnbC+pmk6qOlIzlZSjMbXLJ35Swfstzastte2yWexvpW+UHrsHfNpk7tKr6kl2Gk8v9+9P6bZWRlrL28AWPkXx/AIUe5/rok3tU40dKUM0lDqpvfBxgvHFAy67N+BDePee40fy/r45/2nI9K26ErvbW2Y78eFkaTlW207XtmO16+na9QXtNzu4T71noVwU6s9v3xi4KNWfzr6/Ahel+rPXd9Tsr8KPC6xPrf9I86PevDf+osV+OnxeIjiTnX6E8znY7f4Dwzl7rqcPAAA=


name: Personal Knowledgebase AI Agent
author_name: Rakin Jakaria
author_username: rakinjakaria
categories: []
created_at: 2025-08-10T10:37:58.968Z
updated_at: 2025-08-10T10:37:58.968Z
url: https://n8n.io/workflows/7215
scraped_at: 2025-12-24 13:02:41
description:
  How it works:

  This project creates a personal AI knowledge assistant that operates through Telegram. The assistant can extract summaries from YouTube videos or online articles, store them in Google Sheets for later reference, and retrieve stored summaries when requested by the user.

  Step-by-step:

  Google Sheets Trigger:* The workflow starts by detecting a new YouTube or article URL added to a dedicated sheet (Sheet2*). It checks whether the link is already processed.

  Link Type Detection:** The system identifies if the URL is from YouTube or a standard article.

  Data Retrieval:**

    If it’s YouTube: Uses Apify to fetch the transcript.
    If it’s an article: Uses an HTTP Request node to fetch the webpage content.

  AI Summarization:* The transcript or article content is passed to *Google Gemini** for refined summarization.

  Google Sheets Storage:* The summary and title are appended to another sheet (Sheet1*) for long-term storage, along with a “Stored” status update in Sheet2.

  Telegram Assistant:**

    A Telegram Trigger listens for messages from the user.
    The assistant searches stored summaries in Google Sheets.
    If a match is found, it returns the result to the user on Telegram; otherwise, it politely apologizes.

nodes_used:
  ["n8n-nodes-base.if","n8n-nodes-base.httpRequest","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.httpRequest","n8n-nodes-base.markdown","@n8n/n8n-nodes-langchain.informationExtractor","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","@n8n/n8n-nodes-langchain.informationExtractor","n8n-nodes-base.telegramTrigger","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","n8n-nodes-base.telegram","n8n-nodes-base.googleSheetsTool","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSheetsTrigger","n8n-nodes-base.filter","n8n-nodes-base.googleSheets","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, 5472 characters]


name: Auto-Comment on Reddit Posts with AI Brand Mentions & Baserow Tracking
author_name: Arunava
author_username: arunava
categories: []
created_at: 2025-08-10T12:57:41.947Z
updated_at: 2025-08-10T12:57:41.947Z
url: https://n8n.io/workflows/7217
scraped_at: 2025-12-24 13:02:44
description:
  This workflow finds fresh Reddit posts that match your keywords, decides if they’re actually relevant to your brand, writes a short human-style reply using AI, posts it, and logs everything to Baserow.

  💡Perfect for

  Lead gen without spam: drop helpful replies where your audience hangs out.

  Get discovered by AI surfaces (AI Overviews / SGE, AISEO/GSEO) via high-quality brand mentions.

  Customer support in the wild: answer troubleshooting threads fast.

  Community presence: steady, non-salesy contributions in niche subreddits.

  🧠 What it does

  Searches Reddit for your keyword query on a schedule (e.g., every 30 min)

  Checks Baserow first so you don’t reply twice to the same post

  Uses an AI prompt tuned for short, no-fluff, subreddit-friendly comments

  Softly mentions your brand only when it’s clearly relevant

  Posts the comment via Reddit’s API

  Saves post_id, comment_id, reply, permalink, status to Baserow

  Processes posts one-by-one with an optional short wait to be nice to Reddit

  ⚡ Requirements

  Reddit developer API

  Baserow account, table, and API token

  AI provider API (OpenAI / Anthropic / Gemini)

  ⚙️ Setup Instructions

  Create Baserow table
     Fields (user-field names exactly):
     post_id (unique), permalink, subreddit, title, created_utc, reply (long text), replied (boolean), created_on (datetime).

  Add credentials in n8n

  Reddit OAuth2* (scopes: read, submit, identity) and set a proper *User-Agent** string (Reddit requires it).
  LLM**: Google Gemini and/or Anthropic (both can be added; one can be fallback in the AI Agent).
  Baserow**: API token.

  Set the Schedule Trigger (Cron)
     Start hourly (or every 2–3h). Pacing is mainly enforced by the Wait nodes.

  Update “Check duplicate row” (HTTP Request)

  URL**:
    https://api.baserow.io/api/database/rows/table/{TABLE_ID}/?user_field_names=true&filter__post_id__equal={{$json.post_id}}
  Header**: Authorization: Token YOUR_BASEROW_TOKEN
    (Use your own Baserow domain if self-hosted.)

  Configure “Filter Replied Posts”
     Ensure it skips items where your Baserow record shows replied === true (so you don’t comment twice).

  Configure “Fetch Posts from Reddit”
     Set your keyword/search query (and time/sort). Keep User-Agent header present.


  Configure “Write Reddit Comment (AI)”

  Update your brand name** (and optional link).
  Edit the prompt/tone** to your voice; ensure it outputs a short reply field (≤80 words, helpful, non-salesy).

  Configure “Post Reddit Comment” (HTTP Request)

  Endpoint: POST https://oauth.reddit.com/api/comment
  Body: thing_id: "t3_{{$json.post_id}}", text: "{{$json.reply}}"
  Uses your Reddit OAuth credential and User-Agent header. 
  Update user_agent value in header by your username n8n:reddit-autoreply:1.0 (by /u/{reddit-username})

  Store Comment Data on Baserow (HTTP Request)

  POST https://api.baserow.io/api/database/rows/table/{TABLE_ID}/?user_field_names=true
  Header: Authorization: Token YOUR_BASEROW_TOKEN
  Map: post_id, permalink, subreddit, title, created_utc, reply, replied, created_on={{$now}}.

  Keep default pacing
      Leave Wait 5m (cool-off) and Wait 6h (global pace) → \~4 comments/day. Reduce waits gradually as account health allows.

  Test & enable
      Run once manually, verify a Baserow row and one test comment, then enable the schedule.

  🤝 Need a hand?

  I’m happy to help you get this running smoothly—or tailor it to your brand.

  Reach out to me via email: imarunavadas@gmail.com

nodes_used:
  ["n8n-nodes-base.scheduleTrigger","n8n-nodes-base.reddit","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","@n8n/n8n-nodes-langchain.outputParserStructured","n8n-nodes-base.splitInBatches","n8n-nodes-base.if","@n8n/n8n-nodes-langchain.agent","@n8n/n8n-nodes-langchain.lmChatGoogleGemini","@n8n/n8n-nodes-langchain.memoryBufferWindow","n8n-nodes-base.httpRequest","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-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","@n8n/n8n-nodes-langchain.lmChatAnthropic","@n8n/n8n-nodes-langchain.lmChatAnthropic","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.code","n8n-nodes-base.if","n8n-nodes-base.set","n8n-nodes-base.baserow","n8n-nodes-base.wait","n8n-nodes-base.set"]

workflow_json_compressed:
  H4sIAAAAAAAAE61ZWW/bSBL+K4Se3d6+Dz+tc80aO94ESbDB7mCw6KPaJiKRGppyJgj837coORYtkzIlz4MNHaXqr6u+OvljVqbZ2ay9/NR+Pbe/vrm4/upfx3ezk9kCWj87+zErq5vWVxEuOrlseEwgWApRqsxVlFbz6EOiSWQLNkvtIBqljMpOMC248wqAa+WT1RpQbwuL5dy38LqBdPMJ2tXydY2fQAt4QNus4O5kVvkF4GmXq3lbEn8FVVtcVC3M5+X69UdIqWyL81VbL3xb1lURvhfnzaryt747wV/dzM5++7G52ps34d3qw9Urlyr+5ZdGzB7Ub9Tg+9gAAkrnLX7IKVeEWsLoZ8bOhD0T8tRo+V8UWy3T82J3J/fnXplF/U9+Gf/z9iO8X7V/bM/95e37sUP1Z+rOuD7j8pQ6PXrortjd76i8TtC7NvUiS2E5MckDkcw5Yo1PxFMqbbRCuai3kD7Fa0irORSfm/Lq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LLsoyOE99NjpE6HS1mOBq7KQEzZQWxU7VWfJG7/wsstoj3tx/rhf/wPmwtczIrqwR/zs4oAt6Kjy4bn/zod0S9XmEMnXqYmvt0N6Rof+oZ1Pawah/SN54s9upig8qGN0yDih6JDul6lqKDah8v5VCvL/+3uH+znwRbwV2du77roe0zZXpVHUa++0hp0FvjT3SGle56d0hpf1s9rOXJqS+n+GC3v/FX1ySv/BXcfzbgtkdeeyz+cA7rh9JOvAzBf7x93JcSnqKYfEM2+YrsgDuOhcpg+ptSgQfvM/rI66/02i5vd59Rbc7qP4d6/qhH0lNv9Rd76icn9lh/jJST2pDRarTv1y+P4mdz3ngJ26v57u7/jAB8TmkhAAA=


name: Automate Real-Time QuickBooks Invoice Sync to Google Sheets
author_name: Intuz
author_username: intuz
categories: []
created_at: 2025-08-11T05:03:57.053Z
updated_at: 2025-08-11T05:03:57.053Z
url: https://n8n.io/workflows/7229
scraped_at: 2025-12-24 13:02:42
description:
  This n8n template from Intuz provides a complete and automated solution for real-time financial reporting. 

  It instantly syncs new QuickBooks invoices to Google Sheets, using specific invoice data or keywords as triggers to ensure your financial records are always accurate and up-to-date.

  It uses a webhook to capture every new or updated invoice and logs the essential details into a designated Google Sheet. Perfect for creating custom reports, data backups, or a real-time dashboard of your accounts receivable.

  Use Cases

  Financial Reporting:** Create a simple, shareable Google Sheet for team members who don't have QuickBooks access.
  Data Backup:** Maintain a secure, independent log of all your invoices outside of the QuickBooks ecosystem.
  Custom Dashboards:** Use the Google Sheet as a data source for tools like Google Data Studio or Grafana to build custom financial dashboards.
  Auditing:** Easily track the history and status of all invoices in a simple, searchable spreadsheet format.

  How it Works

  1. Instant Webhook Trigger: The workflow activates the moment an invoice is created or updated in QuickBooks. The QuickBooks webhook sends a notification to n8n, kicking off the process in real time.

  2. Fetch Full Invoice Details: The initial webhook notification only contains the invoice ID. This node uses that ID to make a call back to the QuickBooks API and retrieve the complete invoice data, including customer name, due date, and more.

  3. Format Key Data: A simple Code node cleans up the data fetched from QuickBooks. It extracts only the fields you need—ID, Domain, Customer Name, and Due Date—and structures them perfectly for the next step.

  4. Append or Update in Google Sheets: The final node connects to your Google Sheet and uses the powerful "Append or Update" operation.
  If the ID of the invoice doesn't exist in the sheet, it adds a new row.
  If the ID already exists, it updates the existing row with the latest information.

  This ensures your Google Sheet is always a perfect mirror of your QuickBooks invoice data, preventing duplicates and keeping everything current.

  Setup Instructions

  For this workflow to run successfully, follow these setup steps:

  1. Credentials:
  QuickBooks: Connect your QuickBooks account credentials to n8n.
  Google: Connect your Google account using OAuth2 credentials. Ensure the Google Sheets and Google Drive APIs are enabled.

  2. QuickBooks Webhook Configuration:
  Activate the workflow. Copy the Production URL from the Webhook node.
  In your Intuit Developer Portal, go to the webhooks section for your app.
  Paste the URL and subscribe to Invoice events (e.g., Create, Update).

  3. Google Sheet Setup:
  Create a Google Sheet for your invoice data.
  Crucially, create the following headers in the first row of your sheet:
  -ID
  -Domain
  -Customer Name
  -Due Date

  4. Node Configuration:
  In the Append or update row in sheet node, select your Google Sheet document and the specific sheet name from the dropdown lists. The columns should map automatically if you've set up the headers correctly.

  Connect with us
  Website: https://www.intuz.com/services
  Email: getstarted@intuz.com
  LinkedIn: https://www.linkedin.com/company/intuz
  Get Started: https://n8n.partnerlinks.io/intuz

  For Custom Worflow Automation
  Click here- Get Started

nodes_used:
  ["n8n-nodes-base.webhook","n8n-nodes-base.code","n8n-nodes-base.quickbooks","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"]

workflow_json_compressed:
  H4sIAAAAAAAAE7VYX4/cSBH/Ks2Eh7vReNZ/x/agcCS7m9xySTZkNwTIRlG73Z5x4nH73O3dTPZWitDxchIC6Y4H4OAA6TjEJ4AXPky+APcRqOr2eP7sbEgkeNgd291d3VX1q19V9XkvT3vjnj95Wdd38p8UN35WH4r0496gN+OK9sb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zhXuwxsVrJN5d4Vi1Jhoe/IXnDVo9UPkRbDZqYMyTs16c2kfcyeLaGwFnhvgJTG1kK8sO/EoDUcBi32s85hptNrbF3NZDL/69mj8+PG5vnd/+zu79tYph+Tyoje2L548gWNt3HtuE79+Sb1VypY7/G2Srrpk3SLz4uI/v9F2zAkZAAA=


name: Automatically Save QuickBooks Invoice PDFs to Google Drive
author_name: Intuz
author_username: intuz
categories: []
created_at: 2025-08-11T06:50:10.662Z
updated_at: 2025-08-11T06:50:10.662Z
url: https://n8n.io/workflows/7232
scraped_at: 2025-12-24 13:02:43
description:
  This n8n template from Intuz provides a complete and automated solution for secure document archiving.

  It automatically saves new QuickBooks invoice PDFs directly into Google Drive, creating a reliable backup system. For perfect organization, the workflow uses keywords from the invoice, like the client name or invoice number, to dynamically name the PDF files, ensuring you have a complete and easily searchable financial record.

  Use Cases
  1. Automated Document Archiving: Eliminate the manual work of downloading and saving invoices. Set it up once and let it run.

  2. Compliance & Auditing: Maintain a clean, chronological, and separate record of all issued invoices for easy access during audits.

  3. Secure Backup: Create a redundant, secure backup of your critical financial documents in your own cloud storage.

  4. Enhanced Team Access: Share the Google Drive folder with accountants, bookkeepers, or team members who need access to invoices but not to your full QuickBooks account.

  How It Works:
  1. Real-Time Invoice Trigger: The workflow starts the instant a new invoice is created in your QuickBooks account. A configured webhook sends a notification to n8n, kicking off the automation immediately.

  2. Fetch Invoice Metadata: The workflow uses the invoice ID from the webhook to retrieve the full invoice details, such as the customer's name and the transaction date. This information is used in the next steps.

  3. Generate the Invoice PDF: A crucial HTTP Request node makes a direct API call to QuickBooks, requesting a PDF version of the invoice. This ensures the archived document is the official, formatted PDF, exactly as it appears in QuickBooks.

  4. Upload and Archive in Google Drive: The final node takes the binary PDF data and uploads it to your specified Google Drive folder. It dynamically names the file for easy identification (e.g., CustomerName_TransactionDate.pdf), creating a perfectly organized and searchable archive.

  Setup Instructions
  To get this workflow running, follow these key setup steps:

  1. Credentials:
  QuickBooks: Connect your QuickBooks account credentials to n8n.
  Google: Connect your Google account using OAuth2 credentials and ensure the Google Drive API is enabled.

  2. QuickBooks Webhook Configuration:
  First, activate this n8n workflow to make the webhook URL live.
  Copy the Production URL from the QuickBooks Webhook node.
  In your Intuit Developer Portal, go to the webhooks section for your app, paste the URL, and subscribe to Invoice creation events.

  3. Node Configuration:
  Get an invoice & Generate PDF File: These nodes will use your configured QuickBooks credentials automatically.
  Upload file (Google Drive): In the parameters for this node, you must select the Folder ID where you want your invoices to be saved.

  Support
  If you need help setting up this workflow or require a custom version tailored to your specific use case, please feel free to reach out to the template author:

  Website: https://www.intuz.com/services
  Email: getstarted@intuz.com
  LinkedIn: https://www.linkedin.com/company/intuz
  Get Started: https://n8n.partnerlinks.io/intuz

  For Custom Worflow Automation
  Click here- Get Started

nodes_used:
  ["n8n-nodes-base.webhook","n8n-nodes-base.quickbooks","n8n-nodes-base.googleDrive","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote","n8n-nodes-base.httpRequest","n8n-nodes-base.stickyNote","n8n-nodes-base.stickyNote"]

workflow_json_compressed:
  H4sIAAAAAAAAE61Y627cxhV+lemmP1pVXJG7vC4QoLZlK0IuUmU5bmEZwpAz3GXM5TAcUvJGEJAG7p8CRX84aHpJ4bZI26BP0F99GL9A/Qj9zpB7k1ZKDBSGvLvkzJlz+c53zpmLXiZ6o97PvefnwWxv7zg+OIjsx4Pedm8qa94bXfSyQte8SOQ+rXO45yauIyLbs3mYOin308BNeOiF4SDkIkrjKIijlKd8KKPAt6UX+E7gJN7Q4UEY9C63ewWfSoi609Rqyuss4Xk+Yw/5mWQ/a7Lk2V2lnmm2X5ypLJHscPeBZrVie0qNc8l2q+xMQrmaj3Vv9OQppCkh6etFa0iaBonPA9dyIk9Y7kDEVhy6jsWdMAqi1PZdEfcWOqwc+FjGE3wh2bOS3hVhYRnhVsy17J8v3pdKZ3WmChxqDQb2tjO0bSjSLTBuuvjFwaOj08f37753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