Workflows
Browse 14,312 Workflows
Workflows are deterministic, multi-step pipelines that chain models, tools and agents in a fixed order — the predictable counterpart to an autonomous agent. Each entry records its platform and complexity, so the setup cost is visible before you import it.
1585–1632 of 14,312
By Tom Hester
Quick overview Check a completed Apify crawl before refreshing a chatbot or knowledge base. This manual workflow verifies the source run, audits its export for missing required pages and other quality failures, then routes PASS or BLOCK without writing to your destination. How it works Runs when triggered manually in n8n. Reads your configured Apify crawl run ID, namespace, expected URLs, and the explicitly reviewed failed-request count, then stops if any required configuration is missing or indicates crawl failures. Calls the Apify API to verify the specified actor run finished successfully and has an available dataset to audit. Starts an Apify Crawl Quality Gate actor run with the dataset ID and your URL expectations, waiting briefly for it to finish. Fetches the audit REPORT from the Apify key-value store and validates that it matches the expected schema and source run. Routes to PASS (connect your refresh here) when the report gate passes, or to BLOCK to keep the current knowledge base when it fails. Setup Create an Apify API token and add it to n8n as an HTTP Header Auth credential (Authorization: Bearer ) used by all Apify HTTP requests. In the Configure source step, set your finished Apify run ID, a stable namespace, and a list of required expected URLs (and optionally a previous manifest). Review the crawl’s failed-request count in Apify and enter it as upstreamFailedRequests (must be 0 for the workflow to proceed). Attach your knowledge base/chatbot refresh workflow only to the PASS branch, and persist the returned report.manifest only after a successful refresh. Requirements n8n and an Apify account with access to a completed crawler run and its dataset. The workflow template is free. Each real completed Crawl Quality Gate audit, including a BLOCK result, costs $0.10. This workflow caps the audit charge at $0.10 and does not retry automatically. Other platform costs may apply. Customization Set the required URLs and stable namespace for your source. Optionally supply a manifest saved after a previous successful refresh. Connect only PASS to your destination update; keep existing data on BLOCK or errors. Scheduling, destination writes and persistent manifest storage are not included. Additional info For agencies and developers refreshing chatbots or knowledge bases from existing Apify crawls. A free synthetic demo and setup guide are available at https://apify.com/obeying_laureate/crawl-quality-gate. The audit checks supplied rules, including required-page coverage, duplicates, recorded failures and short text; PASS does not prove whole-site completeness or authorize deletion. Test BLOCK by adding an absent required URL before connecting a destination. Verified on n8n 2.6.4. An n8n automation workflow template by Tom Hester.
- 2 nodes
- Automation
By Anna Cole
Quick overview This workflow runs every morning, reads auto repair customer data from Google Sheets, uses Google Gemini to draft service-due reminder emails, and sends them via Gmail (or a test copy to the shop owner) while logging sent reminders back to the sheet. How it works Runs every morning at 9:00 on a schedule. Reads the Customers tab in Google Sheets and calculates each customer’s next service due date from the last service date and interval. Filters to customers due within the configured reminder window, skipping opt-outs, invalid emails, and anyone already reminded for the same due date, and limits sends to the daily cap. Uses Google Gemini to generate a short plain-text reminder email for each due customer, falling back to a default message if generation fails. Sends the email via Gmail to the customer when live mode is enabled, or sends a test copy to the owner email when live mode is disabled. Updates the same Google Sheets row with the reminder timestamp and the due date that was reminded, then waits 7 seconds before processing the next customer. Setup Create or copy a Google Sheets document with a Customers tab and columns for customer_name, email, vehicle, last_service_date, last_service_type, service_interval_days, opt_out, reminded_for_due_date, and reminder_sent_at. Add Google Sheets, Gmail, and Google Gemini credentials in n8n. Update the workflow parameters (shop name, phone, booking link, Google Sheet URL, reminder window, default interval, daily cap, live mode, and test email). Run the workflow with live mode disabled to verify the test emails, then enable live mode to send to customers and log reminders. Requirements Google Sheets account with a Customers tab Gmail account Google Gemini API key (free tier works) Customization Change remind_days_before, default_interval_days or daily_send_cap in Set Service Parameters Edit the email prompt in Generate Reminder Email Change the send time in Every Morning at 9am. An n8n automation workflow template by Anna Cole.
- 5 nodes
- 1 views
- Automation
- AI
By AYLA BATOOL
Quick overview This workflow runs every morning at 8:00 (Mon–Sat, Asia/Karachi), reads attendance records from Google Sheets, detects repeat absences based on consecutive days and monthly totals, and sends a Gmail approval request to an administrator before emailing the approved notification batch to parents and teachers. How it works Runs on a scheduled trigger at 08:00 Monday–Saturday. Reads the latest attendance rows from a Google Sheets spreadsheet (Sheet1) using formatted values. Calculates, for each student marked absent today, their consecutive school-day absence streak (skipping Sundays and configured holidays) and their total absences in the current month. Creates alert items when a student reaches 3 consecutive absences (reminder) and/or 5 absences in the month (warning), suppressing repeats if the sheet’s notification field already includes the threshold marker. Builds a single batch message with all alerts and sends a Gmail “send and wait” approval request to the administrator. If approved, sends the batch notification email via Gmail to all parent and teacher recipients (and the administrator); if not approved, sends one Gmail retry approval request and escalates to the administrator if the retry is also not approved. Setup Add Google Sheets OAuth2 credentials and replace the placeholder spreadsheet ID with your Attendance Google Sheet ID (and ensure the data is on Sheet1). Ensure your sheet includes the required headers (StudentID, Student, Class, Date, Status, Parent Email, teacher email, and a Notification/Ntoification field) and uses “Absent” in the Status column for absences. Add Gmail OAuth2 credentials and replace admin@school.example with your real approver/administrator email address wherever it appears. Update the holiday/closure dates in the workflow’s policy code (HOLIDAYS set) to match your school calendar and confirm the timezone policy (Asia/Karachi) matches your needs. An n8n automation workflow template by AYLA BATOOL.
- 3 nodes
- 1 views
- Automation
By Scale On Fajar
Quick overview Converts unstructured Telegram standup messages into individual Notion task cards using OpenAI. Validates task statuses, prevents duplicates with deterministic source keys, alerts project leads of critical blockers, and replies to reporters with an execution receipt while filtering non-standup chat before AI. How it works Listens for Telegram messages or runs the built-in manual test fixture. Normalizes sender, chat, date, message IDs, and raw text. Filters messages deterministically so only #DailyPlan and #DailyProgress reach OpenAI, cutting token costs on general chat. Uses OpenAI to parse standup text into structured JSON containing individual tasks, project tags, statuses, priorities, and blocker severities. Validates the JSON schema and splits every task into an independent item. Queries Notion using a deterministic source key (YYYY-MM-DD:username:task_hash) to avoid duplicate creation on repeated or edited reports. Updates matching Notion tasks or creates new task cards accordingly. Escalates critical or moderate blockers to the project lead's Telegram chat and returns a structured completion receipt to the reporter. Setup Connect Telegram Bot credentials to the trigger, blocker alert, and confirmation nodes. Disable bot privacy mode in @BotFather if used in Telegram groups. Connect OpenAI API credentials and select your model (default: gpt-4o-mini). Create an internal Notion integration at notion.so/my-integrations and share your Tasks database with it. Connect Notion credentials in n8n. Select your Notion database on both Notion nodes. Ensure the database includes properties: Task Name (Title), Status (Status), Priority (Select), Project (Rich Text), Assignee (Rich Text), Source Key (Rich Text), Date (Date), and Notes (Rich Text). Set YOUR_PROJECT_LEAD_CHAT_ID on the blocker alert node. Click "Test with Sample Standup" to verify task creation and confirmation receipts before activating the workflow. Requirements Telegram bot token created via @BotFather (with Group Privacy disabled if used in group chats) OpenAI API credential with access to gpt-4o-mini or a compatible chat model Notion internal integration token connected in n8n Notion database shared with the integration, containing properties: Task Name (Title), Status (Status), Priority (Select), Project (Rich Text), Assignee (Rich Text), Source Key (Rich Text), Date (Date), and Notes (Rich Text) Telegram Chat ID for project lead or management blocker alerts Customization Replace #DailyPlan and #DailyProgress in "Check Supported Standup Tag" with your team's preferred report tags Adjust allowed task statuses ('To Do', 'In Progress', 'Done', 'On Review') in "Validate and Split Task Items" to match your Notion board Switch OpenAI model (e.g. gpt-4o) or refine extraction prompt rules in "Extract Tasks from Standup" Customize blocker escalation criteria and HTML message format in "Alert Project Lead" Map additional custom Notion properties (e.g. Sprint, Estimation, Priority tags) inside "Create New Notion Task" and "Update Existing Notion Task" Additional info Dispatch Telegram daily standups into Notion tasks and blocker alerts with AI. An n8n automation workflow template by Scale On Fajar.
- 5 nodes
- 1 views
- Automation
- AI
By Ali Amin
Quick overview This workflow provides two Vapi webhook tools to check care assessment availability and book appointments, using Google Calendar for scheduling, Google Gemini to translate busy times into human-friendly availability, Google Sheets to log enquiries, and SMTP email to send booking confirmations. How it works Receives a POST webhook from Vapi with a requested assessment date to check availability. Pulls that day’s busy time ranges from Google Calendar in the configured timezone. Sends the busy slots to Google Gemini, which returns plain-language available 1-hour booking windows (Mon–Sat, 9am–5pm) or refuses Sundays. Responds to Vapi with the availability text mapped to the original tool call ID. Receives a second POST webhook from Vapi containing the confirmed booking details. Parses the booking payload defensively across multiple Vapi tool-call formats, normalizes the contact and date/time fields, and creates a 1-hour event in Google Calendar. Appends the enquiry details to Google Sheets, emails a confirmation to the provided address via SMTP, and returns a success message to Vapi for the voice agent to read. Setup In Vapi, create two server tools that point to this workflow’s production webhook URLs (one for availability and one for booking) and ensure the tool arguments match the fields used by the workflow. Add a Google Calendar credential in n8n and select the target booking calendar in both calendar steps (adjust the timezone if you are not using Europe/London). Add a Google Gemini (Google AI) credential for the chat model used to generate human-readable availability. Add an SMTP email credential, set the From address, and update the confirmation email branding/content as needed. Add a Google Sheets credential, create an enquiries spreadsheet with the expected columns, and select the document, sheet, and any required IDs in the append step. Requirements A Vapi account with an assistant configured with two server tools — check_assessment_availability (argument: date) and book_care_assessment (arguments listed on the canvas) A Google Calendar credential and a booking calendar (selected in both calendar nodes) A Google Gemini (Google AI) API key for the availability analysis An SMTP credential (e.g. your workspace mailbox) for the confirmation emails A Google Sheet for enquiry logging with the headers listed on the canvas Customization Edit working days, hours and slot length in the AI agent's system message (default Mon–Sat, 9am–5pm, 1-hour assessments) Replace the agency name, colours and footer in the confirmation email HTML Add or rename booking fields — update the Vapi tool, the parser and the sheet columns together Swap Gemini for any chat model n8n supports Adapt the two-tool pattern to any appointment business — clinics, salons, surveyors, trades call-outs Additional info About the creator: Built and maintained by Ali Amin, founder of IhsanOps (https://ihsanops.ai) — a UK AI automation consultancy building voice agents and automations for SMEs. This template is based on a production voice-booking system built for a UK home care provider. Want it adapted to your business — different booking rules, CRM integration, SMS confirmations? Email ali@ihsanops.ai or see https://linkedin.com/in/ali-tm-amin. An n8n automation workflow template by Ali Amin.
- 6 nodes
- Automation
- AI
By Anshul Namdev
Quick overview This starter workflow for n8n Community Challenge 04 fetches case, scan, and kit datasets from an n8n-hosted HTTP API, then guides you to compute three answers (first accepted scan, busiest session, and uncollected kits) and optionally submit them back to the API for validation. How it works Runs manually to start the challenge workflow. Stores your participant username, participant key, and the challenge API base URL. Retrieves the case data and the scans dataset from the challenge API via HTTP requests. Splits the scans dataset into individual rows so you can filter and aggregate to find the earliest ACCEPTED scan for Stage 1 and the busiest session for Stage 2. Uses your Stage 2 session result to request the kits dataset for that session from the challenge API and splits it into individual kit rows. Expects you to filter and summarize the kit rows to count CONFIRMED attendees who requested a kit but have not picked it up for Stage 3. Optionally posts each stage answer to the challenge API check endpoint (disabled by default) to validate your results. Setup Enter your challenge username and participant key in the Settings values used by the HTTP requests. If you are using the private preview environment, add an HTTP Basic Auth credential to each HTTP Request node. Build the missing filter/sort/grouping logic with native n8n nodes and map your computed results into the Stage 1/2/3 answer fields before enabling the stage check requests. Requirements Create an account here: https://community.n8n.io/ Customization Swap Your Username & Participant Key to Proceed. An n8n automation workflow template by Anshul Namdev.
- 1 nodes
- Automation
By Kerrovia
Quick overview This workflow receives missed-call webhook events, validates and normalizes the caller number, looks up the caller in an n8n Data Table, and sends an appropriate Twilio SMS text-back, while logging outcomes and emailing a dispatcher (with approval required after hours). How it works Receives a POST webhook request for a missed call event. Normalizes the incoming caller number, sets the call timestamp, and determines whether the call is after business hours. If the phone number is missing or invalid, it responds with HTTP 400, logs the rejected event to an n8n Data Table, and emails the dispatcher. If the phone number is valid, it immediately responds with HTTP 202, looks up the caller in an n8n Data Table, and checks whether the call happened outside business hours. For after-hours calls, it sends an approval email to the dispatcher and proceeds only if the dispatcher approves sending the text. Builds a different SMS message for known customers versus first-time callers and sends the text-back via Twilio. Logs the SMS result to an n8n Data Table and emails the dispatcher either a confirmation (sent) or an action-required alert (failed). Setup Create two n8n Data Tables named demo_contacts (with phone and name) and demo_missed_calls (with phone, caller_type, status, detail, and called_at). Add a Twilio credential, verify/provision the sending phone number, and set the correct “from” number in the workflow settings. Add an SMTP email credential and set the dispatcher and sender email addresses used for approvals and alerts. Update the business name, scheduling URL, timezone, and open/close hours used to decide after-hours behavior. Copy the webhook URL from the Missed Call trigger and configure your phone system to POST missed-call events with a from field (optionally include simulate_after_hours for testing). An n8n automation workflow template by Kerrovia.
- 2 nodes
- Automation
By Inistate
Quick overview This workflow triggers when an Inistate entry changes into a chosen approval state, emails an approver with Approve/Reject buttons via SMTP, and then performs the corresponding Inistate activity if the entry is still actionable. How it works Triggers when an Inistate entry changes into the selected state (for example, “Pending Approval”). Fetches the full entry details from Inistate and checks whether the configured “Approve” activity is currently available. Builds an approval email containing the entry metadata and field values, then sends it via SMTP with Approve/Reject buttons and waits up to the configured number of days for a response. If no response arrives before the timeout, the workflow stops without updating Inistate. After a response, re-reads the entry from Inistate and verifies that the selected approve/reject activity is still available (so it does not overwrite changes made while waiting). Performs the matching Inistate activity to approve or reject the entry. Setup Add an Inistate credential and select the same Inistate workspace and module in every Inistate node, then choose the trigger state to monitor. Add an SMTP email credential for sending messages and set the approver email address and sender (“from”) address. Set the approve and reject activity names to exactly match the activity names in Inistate and configure the wait timeout in days. In the Inistate activity steps, select the correct approve/reject activities and fill any required activity fields for your module. An n8n automation workflow template by Inistate.
- 1 nodes
- Automation
By María Laura Vitelli
Quick Overview This workflow answers exchange-rate questions coming from Gmail or an n8n chat trigger using a Google Gemini AI agent that calls the Frankfurter exchange-rate API, caches successful rate responses in n8n Data Tables to avoid repeated model calls, logs usage metrics, and replies back on the originating channel. How it works Triggers when a new Gmail message matching the exchange-rate search filter arrives or when an n8n chat message is received. Normalizes incoming email and chat messages into a common format (session ID, user text, source channel, sender email) and processes them one at a time. Extracts two ISO 4217 currency codes from the message to build a per-day cache key and looks up a previously saved response in an n8n Data Table. If a fresh cached response exists (within the configured TTL), uses it directly without calling the AI model. If there is no fresh cache hit, runs a Google Gemini-powered AI agent that calls the Frankfurter API to fetch the latest reference exchange rate and generates a one- or two-sentence plain-text reply. Stores valid rate answers back into the cache, logs the query details (source, pair, cache hit, latency) to a second Data Table, and replies via n8n chat or Gmail depending on where the question originated. Setup Add credentials for Gmail OAuth2 (for the Gmail trigger and email replies) and a Google Gemini (PaLM) API credential for the chat model. Create or select two n8n Data Tables: one for the rate cache with columns cache_key (string), pair (string), response (string), cached_at (number) and one for the query log with columns logged_at (string), source (string), pair (string), cache_hit (boolean), latency_ms (number). Update the Data Table selections in the cache lookup/save nodes and the log node, then review the Config values (cache TTL, email subject, fallback message) and adjust the Gmail search filter to match the senders and subjects you want to handle. An n8n automation workflow template by María Laura Vitelli.
- 5 nodes
- Automation
- AI
By Luca
Quick Overview This workflow monitors Google Calendar appointments, uses Google Sheets as a client/waitlist database and log, and sends confirmations, waitlist offers, and recall messages via Twilio SMS or Gmail email, using OpenAI to classify incoming replies and update bookings and reporting. How it works Runs every 15 minutes on a schedule and also reacts immediately to inbound replies received through Twilio (SMS) or Gmail (email). Loads Clients, Services, Waitlist, and Log tabs from Google Sheets, then reads upcoming Google Calendar events for the configured time window. Plans the next actions by logging confirmations (including a 48-hour ask and 24-hour nudge), freed-slot waitlist offers in batches, recall messages, and daily/weekly staff reports based on calendar state and prior log history. Appends all planned actions to the Google Sheets Log first, then sends the resulting outbound messages via Twilio SMS or Gmail email depending on each recipient’s available channel and opt-out status. Normalizes incoming SMS and email replies, filters out unknown senders and automatic/out-of-office messages, and uses OpenAI to extract the sender’s intent with quoted evidence. Applies the reply to the most recent relevant message (confirmation, waitlist offer, or recall), updates the Google Sheets Log, and creates or deletes Google Calendar events when cancellations occur or a waitlist slot is accepted. Notifies the front desk by email when a reply needs human handling (for example, ambiguous intent or rescheduling questions) and sends an error alert email if the workflow run fails. Setup Add credentials for Google Calendar, Google Sheets, Gmail, Twilio (optional if you only want email), and OpenAI. Create a Google Sheets file with four tabs named Clients, Services, Waitlist, and Log, and ensure your columns match what the workflow expects (for example client name/email/phone/channel, service name/price/minutes/recall_weeks, and waitlist preferences). Update the values in Set Clinic Settings (sheet ID, calendar ID, business name, front desk and owner emails, timezone/locale, booking/deposit links, Twilio “from” number, and policy timings like confirm/nudge and offer batching). Customize the user-facing text in Set Message Texts (subjects and message bodies) to match your tone and language. If using SMS, configure Twilio to send inbound messages to the workflow’s Twilio Trigger webhook and ensure your Twilio number is capable of SMS. Replace the destination address in the workflow failure email node (YOUR_ALERT_EMAIL) so errors are reported to the right person. An n8n automation workflow template by Luca.
- 7 nodes
- Automation
- AI
By Melbin Francis
Quick Overview This workflow triggers on GitLab merge request updates, scans changed markup files for basic WCAG 2.1 accessibility issues aligned with EU Accessibility Act requirements, then sets a commit status and maintains a single merge request comment with findings and fixes. How it works Triggers when a GitLab merge request is opened, reopened, or updated while it is in the opened state. Calls the GitLab REST API to list merge request diffs, then keeps only markup-related files and calculates which line numbers were added by the merge request. Fetches the full content of each changed markup file from GitLab at the merge request’s last commit SHA. Analyzes the markup to flag issues such as missing image alt text, missing form labels, missing page language, empty links/buttons, missing iframe titles, low inline color contrast, positive tabindex, and autoplay media, and marks whether each issue is in added lines. Decides pass or fail based on problems introduced by the merge request (or unreadable files), with an optional waiver via a configured GitLab label. Posts the result as a GitLab commit status and creates or updates a single merge request comment containing the detailed findings and suggested fixes. Setup Add a GitLab OAuth2 credential with API access and select it in the GitLab Trigger and all GitLab HTTP Request/GitLab nodes. In the GitLab Trigger, set the target group/owner and repository/project so GitLab can register the merge request webhook. Activate the workflow once so the GitLab Trigger registers its webhook, then ensure merge requests are configured to require successful pipelines/status checks (for example, enable “Pipelines must succeed”) if you want failures to block merging. Optionally adjust the rules in the workflow (file extensions to scan, minimum contrast ratio, whether warnings block, the waiver label name, and the commit status name) to match your project standards. An n8n automation workflow template by Melbin Francis.
- 3 nodes
- Automation
By Melbin Francis
Quick overview Every six hours, this checks the software libraries your products use against public lists of security holes that hackers are actively using right now. For each real match it opens a Jira ticket with the EU Cyber Resilience Act reporting deadlines. How it works Every six hours the workflow starts and reads your settings: which GitHub repositories are your products, and how strict the deadlines are. It downloads two official lists of security holes that are being exploited right now: one from the US agency CISA and one from the EU agency ENISA. If either list fails to load, it stops instead of wrongly saying you are safe. For each product repository, it asks GitHub for the full list of libraries and the exact versions it uses. It asks the free OSV database which known security problems affect those exact versions. It keeps only the problems that are also on the 'actively exploited' lists. A library with an old, unexploited issue does not create noise. For each new match it opens one Jira ticket with the 24-hour, 72-hour and final-report deadlines. It never creates duplicates, and if a deadline passes on an open ticket it adds a comment and a label. If a repository cannot be read (wrong name, no access, or dependency list switched off), it opens a ticket saying so, so a blind spot is never mistaken for 'all clear'. Setup Connect your GitHub account in n8n, and in each product repository turn on the dependency graph (Settings > Code security) so GitHub can list its libraries. Connect your Jira Cloud account, then open the 'Open A Jira Ticket' step and choose the project and issue type where the tickets should go. Open 'Reporting Policy' and list your product repositories as owner/name, separated by commas. The default deadlines follow the CRA (24 hours, 72 hours, 14 days); change them only if your legal team says so. Requirements A GitHub account that can read your product repositories, and a Jira Cloud account. The vulnerability lists and OSV are free and need no account. Customization Change how often it runs, the ticket label, or the deadline times in 'Reporting Policy'. Additional info This starts the reporting clock and keeps track of it; a person still decides whether a finding must be reported. A ticket you close is never reopened. The final-report deadline is only flagged once a fixed version exists. An n8n automation workflow template by Melbin Francis.
- 4 nodes
- Automation
By vijay kireeti varma
Quick Overview This workflow runs daily to scan GitHub Actions workflow files across a GitHub org or user, flags supply-chain risk patterns and unpinned actions, uses Google Gemini to review new or changed workflows, and posts instant alerts plus a daily security digest to Slack while tracking results in an n8n Data Table. How it works Runs every day at 7:00 AM on a schedule. Creates (if missing) and loads an n8n Data Table baseline of previously scanned workflow files and their last known SHAs. Uses the GitHub REST and Contents APIs to list repositories, enumerate .github/workflows files, and keep only YAML workflow files. Compares each workflow file’s current SHA to the stored inventory to process only new or changed files and keep previous results for unchanged files. Downloads changed workflow files, performs rule-based checks for common GitHub Actions attack patterns, and uses GitHub GraphQL to resolve commit SHAs for unpinned uses: references to provide ready-to-paste pinning suggestions. Sends the highest-risk changed workflows (up to the configured limit) to Google Gemini for a structured security verdict and posts an immediate Slack alert when the verdict is malicious/suspicious or rule checks include critical findings. Upserts scan results back into the Data Table, has Google Gemini generate a short daily digest from the scan statistics, posts the digest to Slack, and optionally creates GitHub issues for serious findings in private repositories. Setup Add a GitHub credential (personal access token) with Contents/Metadata read access (and Issues write access if you enable issue creation) and select it for the GitHub and GitHub HTTP Request steps. Add a Google Gemini API key credential and connect it to both Gemini chat model steps used for file review and for the daily digest. Add a Slack credential and set the target channel (default #security-alerts) for the instant alert and daily digest messages. Update the Settings values (at least github_owner and owner_type, plus any optional filters and limits like repo_name_filter, max_repositories, and max_ai_reviews). Run the workflow once to create/populate the gha_security_inventory Data Table baseline, then activate it to scan automatically on the schedule. An n8n automation workflow template by vijay kireeti varma.
- 7 nodes
- Automation
- AI
By Amplence
Quick overview This workflow monitors a Gmail intake label, uses Anthropic Claude and a Google Sheets checklist to generate an internal triage brief, runs deterministic conflict and limitation screening in code, posts outcomes to Slack, replies with a fixed acknowledgement (real emails only), and logs every enquiry to Google Sheets. How it works Triggers on new unread Gmail messages with the label intake (or runs a manual sample enquiry for testing). Normalizes sender, subject, and body text, then uses Anthropic Claude to extract named parties, a matter type, and the key date from the email. Reads a conflict register from Google Sheets and runs an auditable name-matching conflict check in code, sending a Slack hold alert and logging the intake if any match is found. Screens the extracted key date against matter-type limitation rules in code, and if the deadline appears expired sends a Slack attorney-review alert and logs the intake without replying. For non-expired matters, an Anthropic Claude agent pulls the relevant intake checklist from Google Sheets and generates a structured staff-only brief (summary, key facts, missing information, call questions, reviewer, and priority). Flags advice-like lines in the generated brief, posts the formatted brief to a Slack intake channel, replies to the original Gmail thread with a fixed acknowledgement for real emails only, and appends a row to an Intake log sheet in Google Sheets. Setup Connect credentials for Gmail, Google Sheets, Slack, and Anthropic Claude. Create a Google Sheets file with Conflicts, Checklists, and Intake log tabs and update the Sheet ID in the workflow’s firm settings. Populate the Conflicts sheet (names and aliases) and the Checklists sheet (matter_type, questions, reviewer) to match your firm’s intake process. Set your Slack channel name and customize the fixed acknowledgement template in the firm settings. Create a Gmail label (default intake) and ensure the Gmail trigger query matches your labeling and unread-email workflow. Replace the example limitation periods in the limitation screening code with rules approved for your jurisdiction and practice areas. Requirements Gmail and Google Sheets accounts (Google OAuth credentials in n8n) Slack workspace with a channel for intake alerts Anthropic API key for the Claude chat model nodes Customization Edit the matterType list in the extractor schema and the matching rules in Limitation check (code) to fit your practice areas Swap the Gmail Trigger for a Form Trigger to triage website enquiries instead Change limitationWarningDays in Firm settings to widen or narrow the urgent window Replace the Slack nodes with Microsoft Teams or email if your firm doesn't use Slack Additional info Based on an intake agent Amplence built for a US law firm: https://amplence.com/case-studies/ai-agents-for-law-firms-daniel-law-firm The three hard stops (conflict, limitation, advice boundary) run in Code nodes, not in the model, so they behave the same on every run and can be audited. The limitation periods included are examples only; have your attorneys confirm the rules for your jurisdiction before going live. This workflow supports intake triage and is not legal advice. Need it adapted to your firm's systems? We build and maintain n8n workflows: https://amplence.com/services/n8n-automation-services All our free templates as JSON on GitHub: https://github.com/muneeb-ashraf/n8n-workflow-templates. An n8n automation workflow template by Amplence.
- 8 nodes
- 15 views
- Automation
- AI
By Javed Iqbal
Quick overview This workflow monitors Gmail and Microsoft Outlook for new support emails, uses OpenAI to classify and prioritize them, creates or updates Jira issues, notifies the right Slack channels (optionally Microsoft Teams), and logs every processed email to Google Sheets for auditing. How it works Triggers every minute when a new email arrives in Gmail (Inbox with filters) or Microsoft Outlook. Normalizes each message into a common format, removes quoted history, trims the body, and skips internal or automated/no-reply senders. Uses OpenAI (GPT-4.1-mini) to classify the email (Bug/Issue/New Requirement/Other) and extract priority, title, summary, product area, sentiment, and confidence. Routes high-confidence customer requests to Jira by finding an existing open issue for the email thread and adding a comment, or creating a new Jira issue if none exists. Posts the Jira result to the appropriate Slack channel based on the category and optionally sends an Adaptive Card to Microsoft Teams if a webhook URL is configured. Optionally replies to the customer in the original thread via Gmail or Outlook (or creates a draft) based on the acknowledgement mode setting. Sends low-confidence or failed classifications to a Slack review channel and appends an audit row with the outcome to Google Sheets. Setup Connect credentials for Gmail and/or Microsoft Outlook, OpenAI, Jira Software Cloud, Slack, and Google Sheets. Update the workflow configuration values (internal domains, confidence threshold, Jira base URL/project key/issue types, Slack channel names, and acknowledgement mode). Select the target Google Sheets document and sheet for the triage log. Select the Slack channel used for workflow error alerts and set this workflow as its own error workflow in n8n workflow settings. (Optional) Add a Microsoft Teams incoming webhook URL to enable Teams notifications, and disable the unused email trigger (Gmail or Outlook) before activating. An n8n automation workflow template by Javed Iqbal.
- 10 nodes
- Automation
- AI
By Nam Trung Studio
Quick overview This workflow logs expenses sent as Telegram messages into an n8n Data Table and responds with confirmations, monthly spending reports by category, an undo option, and a help menu, all without external databases or AI services. How it works Triggers when your Telegram bot receives a new message. Parses the message to detect a command (/report, /undo, /help) or extract an expense amount, category (from keywords or a #tag), note, and month. When an expense is detected, saves a normalized row to the n8n Data Table named expenses and sends a formatted confirmation back in Telegram. When /report is sent (optionally with YYYY-MM), fetches that month’s rows for the sender’s chat ID from the expenses Data Table, aggregates totals by category, and sends a monthly summary back in Telegram. When /undo is sent, retrieves the most recent expense row for the sender’s chat ID, deletes it from the expenses Data Table, and posts the undo result in Telegram. When /help is sent or no amount is found, sends usage examples and available commands back in Telegram. Setup Create a Telegram bot with @BotFather and add a Telegram API credential in n8n, then select it on the Telegram Trigger and Telegram send-message nodes. Create an n8n Data Table named expenses with columns chat_id (string), amount (number), category (string), note (string), month (string), and spent_at (string). Update the configuration values for currency, locale, timezone, and (optionally) categoryKeywords and smallNumbersAreThousands to match your formatting and categorization needs. Activate the workflow and ensure your n8n instance is reachable over public HTTPS so Telegram can deliver trigger updates. Requirements An n8n version with Data Tables (Cloud or self-hosted; tested on n8n 2.30) and a Telegram bot token from @BotFather. No OpenAI key and no external database needed. Customization Edit categoryKeywords in the "Prepare Configuration Settings" node to match how you talk about money — first match wins, and typing #category in a message always overrides. Set smallNumbersAreThousands to false if "50" should mean 50 rather than 50,000. Additional info Amounts are parsed in code, so the workflow runs at $0: it understands 50k, 1.5tr, 2m, 120.000, 1,250,000 and 12.50. Every query is filtered by Telegram chat ID, so several people can share one bot. Need credit-card statement cycles (what lands on which statement and when it's due), morning due-date reminders, category budgets with alerts, month-over-month reports and CSV export? Search "Expense Tracker PRO" on n8n.io or see my creator page for the PRO version. An n8n automation workflow template by Nam Trung Studio.
- 2 nodes
- Automation
By Rahul Joshi
Quick overview This workflow tracks insurance policy renewals and claim document collection using Google Sheets, automates outbound WhatsApp template reminders via WATI on a daily schedule, and handles inbound WhatsApp replies with OpenAI intent classification, Google Drive document storage, and Sheets updates plus agent alerts. How it works Runs daily at 10:00 AM (Asia/Kolkata) and also triggers on incoming WhatsApp events via a WATI webhook. On the daily run, reads Policies and Claims from Google Sheets and calculates which customers need renewal reminders, claim document chasers, and a daily digest for the agent. Sends the appropriate WATI WhatsApp template message for each planned action (renewal reminder, documents pending reminder, and agent digest). Writes back to Google Sheets to record reminder stages and timestamps on Policies and the last chase timestamp on Claims. On inbound messages, normalizes the WATI payload, matches the sender to policy/claim records in Google Sheets, and uses OpenAI (gpt-4o-mini) to classify intent and draft a contextual reply. If the customer sends media, downloads the file from WATI, uploads it to Google Drive, and updates the claim record with received documents and Drive links in Google Sheets. Sends a WhatsApp session reply to the customer via WATI and, when needed, sends an additional WATI template alert to the agent. Setup Add credentials for WATI (HTTP Header Auth token), Google Sheets OAuth2, Google Drive OAuth2, and OpenAI. Update the Config values for your Google Sheet ID, WATI tenant endpoint and template names, agent WhatsApp number/name, and the Google Drive folder ID for storing claim documents. Create Google Sheets tabs named Policies and Claims with matching key columns (policy_id and claim_id) and the status/reminder fields the workflow updates. Copy the production webhook URL from the WATI inbound webhook trigger and register it in your WATI account for message events. Confirm the schedule time zone and reminder/chase settings in Config (reminder_days, grace_days, chase_every_days) before activating the workflow. An n8n automation workflow template by Rahul Joshi.
- 5 nodes
- 22 views
- Automation
- AI
By Rahul Joshi
Quick overview This workflow runs monthly and builds a multi-channel client performance report by pulling KPIs from Google Analytics 4, Google Ads, and Meta Ads, generating an OpenAI executive summary, converting a branded HTML report to PDF with PDFShift, uploading it to Google Drive, and emailing it via GoHighLevel (LeadConnector). How it works Runs on a schedule at 9:00 AM on the 1st of every month. Loads a JSON client roster (IDs and email addresses), calculates the current vs previous reporting windows, and processes each client as a separate item. Fetches current/previous period website and channel KPIs from the Google Analytics Data API (GA4). Pulls campaign performance data from the Google Ads API for the date range and requests campaign insights from the Meta Graph API. Aggregates GA4, Google Ads, and Meta results into a single KPI model with period-over-period deltas and blended paid-media metrics. Sends the KPI model to OpenAI (gpt-4o-mini) to produce a JSON executive summary and recommendations. Builds a branded HTML report, converts it to a PDF using PDFShift, uploads it to Google Drive, and creates a shareable link. Upserts the client as a GoHighLevel contact and sends an email with the PDF link and PDF URL as an attachment. Setup Add credentials for Google Analytics OAuth2 (GA4) and Google Drive OAuth2 (Drive upload/sharing). Add Google Ads OAuth2 credentials and set your Google Ads developer token and login customer ID (MCC) values used in the request headers. Provide a Meta access token for HTTP header authentication and confirm the Graph API version and ad account IDs you use. Add an OpenAI API credential (for the gpt-4o-mini summary) and a PDFShift API key for HTML-to-PDF conversion. Add your GoHighLevel (LeadConnector) Private Integration Token and set the GHL location ID and sender email used for delivery. Update the client list and required IDs/emails in the configuration, and set the target Google Drive folder ID where PDFs are stored. An n8n automation workflow template by Rahul Joshi.
- 4 nodes
- Automation
- AI
By Rahul Joshi
Quick overview This workflow captures new leads from IndiaMART and JustDial webhooks, normalizes and deduplicates them, uses OpenAI (gpt-4o-mini) to qualify and draft a reply, then creates/updates the lead in GoHighLevel and sends an instant WhatsApp template message via WATI. How it works Receives new enquiries from IndiaMART Push API and JustDial Lead Manager via two webhook endpoints and immediately returns an acknowledgement response. Normalizes each platform’s payload into a single lead format, cleans/validates contact details (phone/email), and generates a deduplication key. Removes duplicate leads across workflow executions to avoid reprocessing the same enquiry. Adds your business context (business details, GoHighLevel IDs, and WATI settings) and sends the lead to OpenAI (gpt-4o-mini) to classify it as HOT/WARM/COLD/SPAM and draft a short WhatsApp reply. Parses the AI result to build GoHighLevel contact/opportunity payloads, a detailed qualification note, and the WATI template parameters. If the lead is not spam, upserts the contact in GoHighLevel, creates an opportunity in the configured pipeline stage, and attaches the AI qualification note to the contact. Sends the WhatsApp template message through WATI and tags the GoHighLevel contact as either auto-replied or reply-failed based on the WATI response. Setup Create n8n credentials for OpenAI, a GoHighLevel Private Integration Token (HTTP Header Auth), and a WATI API Bearer Token (HTTP Header Auth). In the configuration step, set your GoHighLevel location ID, pipeline ID, and stage IDs (hot/warm/cold), plus your WATI tenant API endpoint and approved template name. Copy the two webhook URLs from n8n and configure them in IndiaMART Seller Panel (CRM Integration/Push API) and JustDial Lead Manager so they POST leads to your workflow. In WATI, create and get approval for the WhatsApp template referenced by the workflow (for example, lead_auto_reply) with parameters matching name/product/message/business. Verify your GoHighLevel pipeline stages exist and that your integration token has permission to upsert contacts, create opportunities, add notes, and apply tags. An n8n automation workflow template by Rahul Joshi.
- 4 nodes
- 19 views
- Automation
- AI
By Dominik
Quick overview This workflow receives a day-trip question via Telegram, WhatsApp, or n8n Chat, uses Anthropic Claude to interpret the request and search for local events, and combines Open-Meteo, OpenHolidays, OSRM, and transport.opendata.ch data to score expected crowds and suggest quieter alternatives. How it works Write to the bot on Telegram, WhatsApp or in the n8n chat, for example "Sunday Klewenalp from Basel". Claude reads destination, start point and day(s) from free text. Claude suggests up to three similar destinations that are usually less crowded. Open-Meteo geocodes all places. For each place the workflow checks public and school holidays (OpenHolidays), the forecast including the "first sunny day after rain" effect (Open-Meteo), the driving time (OSRM) and, within Switzerland, public transport (transport.opendata.ch). Claude searches the web for events on that day, such as festivals, races or organised hiking days. You get a crowd score per place, a quieter or drier alternative and travel times, in German or English. Optionally, a copy goes out by email. Setup Create an Anthropic credential and select it in Extract Trip Request, Suggest Alternatives and Search Local Events. Set up either a Telegram bot credential (and start a chat with the bot) or use n8n Chat; for WhatsApp, configure WhatsApp Business Cloud credentials and enable the WhatsApp trigger and send nodes. Update the configuration values (time zone, departure time, reply language, and allowedChatIds) and replace the default email addresses (emailCopyTo and senderMailbox) as needed. For email copies, add a Microsoft Entra Service Principal credential with permission to send mail from the configured mailbox and select it in the Microsoft Outlook node. For WhatsApp, create both WhatsApp credentials and enable the two WhatsApp nodes. Requirements A recent n8n version An Anthropic API key with web search enabled A Telegram bot token from @BotFather, or just the n8n chat Optional: WhatsApp Business Cloud, and an Entra app registration with Mail.Send for email copies Holiday data is available for European countries Customization Change alternativesCount or claudeModel, or set useEventSearch to false to save API costs. Tune the weights in Score Places. The public OSRM server is meant for light use. For more traffic, point Fetch Driving Time to your own routing service. Set showAttribution to false to remove the template credit. An n8n automation workflow template by Dominik.
- 5 nodes
- Automation
By Alicia Graham
Quick overview Turn concert planning into an interactive economics lesson. This workflow powers a companion website where learners adjust ticket prices, explore costs and demand, compare outcomes, and ask questions. Deterministic calculations supply the numbers; TypeSafe AI and OpenAI guide explanations. A second webhook provides simulated or researched competing events. How it works Receives a POST request to the “Lesson request” webhook and validates the payload, normalizes inputs, and calculates concert metrics (attendance, revenue, costs, profit, ROI) from the provided scenario. Classifies the learner’s question intent with TypeSafe AI and determines whether the intent is supported with sufficient confidence. If the intent is supported, sends a structured request to the OpenAI Responses API to select 1–3 approved, prewritten paragraph IDs and a scene focus for the explanation. Validates the OpenAI response and falls back to a prebuilt explanation if the response is missing or invalid. Returns the interactive lesson JSON (calculation results, explanation text, scene actions, and metadata) to the webhook caller, or returns a 400 error describing how to correct invalid input. Receives a POST request to the “Event research request” webhook, validates the city/date/time window, and builds a research query for listings. If simulation mode is selected, returns clearly labeled fictional event listings; otherwise uses the OpenAI Responses API web search tool and then verifies geography, date ranges, and duplicates before returning up to eight events. Setup Create Header Auth credentials (header name X-Lesson-Key) and select them on both webhook nodes, then store the same secret in any calling app. Add an OpenAI API credential and select it for both OpenAI HTTP Request nodes (lesson explanation selection and event research retrieval). Install the @typesafe-ai/n8n-nodes-typesafe-ai community node and add TypeSafe AI credentials for the intent classification step. Publish the workflow and copy both production webhook URLs, then configure your client app/server to call the correct endpoint (economics-concert-v1 and concert-events-v1). If the webhook paths already exist in your n8n instance, change the webhook paths and update any external callers accordingly. Requirements An n8n instance supporting the TypeSafe AI community node; TypeSafe AI and OpenAI credentials; and an HTTPS deployment of the companion Node.js website. ElevenLabs credentials are optional for spoken replies. Provider and hosting charges may apply. Additional info Created by Alicia Graham for The Economics of Everything. Live demonstration: https://web-production-af12a.up.railway.app Walkthrough video: https://youtu.be/JP_wxRAzGkc Source code: https://github.com/Empower21/economics-of-everything-flow4gold Complete setup instructions: https://github.com/Empower21/economics-of-everything-flow4gold/blob/main/submission/TEMPLATE-SETUP.txt The public demonstration uses the creator’s backend. Independent users deploy their own website and connect their own n8n workflow. Financial assumptions and simulation listings are fictional teaching data, not forecasts. AI-assisted live listings require independent confirmation. An n8n automation workflow template by Alicia Graham.
- 2 nodes
- 8 views
- Automation
By Zvid
Quick Overview This workflow runs on a schedule or manually, reads the next unprocessed property listing from Google Sheets or Airtable, builds and validates a Zvid vertical video project, and renders an MP4 listing reel with optional music, then stores the resulting video URL back in Google Sheets. How it works Runs daily at 9am (or on manual execution) and loads branding, source, and render settings. Reads listings from Google Sheets or fetches records from Airtable, then selects the first item with an empty Status field. Normalizes the listing fields (address, price, beds/baths/sqft, photos, and agent details) and stops with an error if required data like Address or at least two photo URLs is missing. Checks the configured music URL and removes it from the project if the file is unreachable, errors, or exceeds the configured size limit. Builds a Zvid Instagram Reel–style project JSON from the listing data and validates it with Zvid’s free validation endpoint to get a credit estimate and any warnings. If dryRun is enabled, optionally saves a draft project to the Zvid editor and outputs a preview summary instead of rendering. If dryRun is disabled, submits the Zvid render job, polls until completion or timeout, and outputs a run summary with the final video URL. In Google Sheets mode, updates the source row with Status=done and the VideoUrl, then optionally downloads the rendered video file for review. Setup Install the community node package @zvid/n8n-nodes-zvid and create a Zvid API credential (API key with base URL https://api.zvid.io) for the Zvid nodes. Choose a source in the Config node (sheet or airtable) and fill in the required IDs (Google Sheets document and sheet name, or Airtable base ID/table/view). For Google Sheets, ensure your sheet has headers like Address, City, Price, Beds, Baths, Sqft, Photo1–Photo5, AgentName, AgentPhone, AgentPhotoUrl, Status, and VideoUrl, and leave Status empty for listings you want rendered. For Airtable, add an HTTP Bearer Auth credential with a read-capable Airtable personal access token and ensure records include the needed fields (especially Address, Photo URLs, and Status). Review and customize branding and media settings in Config (brandName, contactUrl, colors, fonts, musicUrl, and statusDoneValue), then set dryRun=true for preview-only or dryRun=false to render and spend credits. An n8n automation workflow template by Zvid.
- 3 nodes
- Automation
By Oneclick AI Squad
Quick Overview This workflow receives an LLM task via webhook (or manual run), uses Anthropic Claude to classify its needs, routes the request to the cheapest capable Claude model, and optionally escalates to higher tiers based on a quality score, returning the final answer with cost and routing details. How it works Receives a POST request on the /webhook/llm-router endpoint (or runs manually) and normalizes inputs like task, context, budget, and minimum quality settings. Rejects requests without a non-empty task and returns a 400 validation error to the caller. Uses Anthropic Claude (Haiku) to classify the task’s complexity, risk, and requirements (for example code, reasoning, web search, long context), falling back to a built-in heuristic if classification fails. Selects the cheapest model from a configurable Anthropic Claude catalog that meets the required tier, context window, web search capability, and optional max-cost constraints, and builds an escalation chain. Executes the task with the current selected Claude model and records tokens, estimated cost, and any execution errors. If judging is enabled, uses Anthropic Claude (Haiku) to score the response quality and escalates to the next model in the chain with reviewer feedback when the score is below the threshold. Returns a JSON response to the webhook caller containing the final answer, routing trace, and cost breakdown (including savings vs a premium baseline model), and optionally posts call events to an external execution-ledger webhook. Setup Create an HTTP Header Auth credential for Anthropic using header x-api-key, and select it for the Classify Task, Execute Model, and Judge Quality HTTP request steps. Review and update the router configuration values (model catalog IDs/tiers/pricing, premium baseline model, quality threshold, max attempts, and Anthropic API URL) to match your current Anthropic plan and preferred routing behavior. Send tasks to the webhook by copying the production URL for /webhook/llm-router into your client and POSTing JSON with at least a task field (optionally context, maxCostUsd, minTier, forceModel, minQualityScore, and maxAttempts). (Optional) Deploy an execution-ledger endpoint and set ledgerUrl so the workflow can POST routing decisions and token/cost events to your ledger webhook. An n8n automation workflow template by Oneclick AI Squad.
- 2 nodes
- Automation
By PostWire
Quick Overview This workflow runs daily, pulls the next “ready” video idea from Google Sheets, uses Google Gemini to write a Veo prompt and platform-specific captions, generates an 8‑second vertical video with Veo 3.1, and publishes it to multiple social platforms via the PostWire API. How it works Runs every day at 9:00 and reads Google Sheets rows where the status is set to "ready". Takes the first matching idea and updates the same row in Google Sheets to mark it as "generating". Uses Google Gemini to produce a Veo prompt plus captions (and a YouTube title/description) based on the idea and optional style. Requests an upload URL from PostWire, generates an 8-second 9:16 video with Veo 3.1, uploads the file to PostWire, and finalizes it to obtain a hosted media URL. Calls the PostWire posting endpoint to publish the video to the selected platforms with per-platform text (and a YouTube title), using the sheet row as an idempotency key. Updates the Google Sheets row with the published links and a "posted" status, or writes the required fixes to the row and sends a Gmail alert when any platform fails. Setup Connect Google Sheets credentials and select the target spreadsheet and sheet in the read/update steps. Create a Google Sheet with columns for idea, style, networks, status, posted_at, links, and note, and set one or more rows to status "ready". Add Google Gemini credentials and ensure billing is enabled for Veo access in Google AI Studio. Create a PostWire account, connect your social profiles, and add an HTTP Header Auth credential with Authorization: Bearer for the PostWire API requests. Connect Gmail credentials and replace the recipient address in the email step so failures are sent to your inbox. An n8n automation workflow template by PostWire.
- 4 nodes
- Automation
- AI
By Václav Čikl
Quick Overview This workflow manually processes a contacts CSV, fetches website/Facebook/Instagram page text via an MCP browser endpoint, then uses OpenAI to classify each contact as active, inactive, or uncertain and writes the results to an output CSV. How it works Starts manually and reads a contacts CSV file from the local filesystem. Parses the CSV into individual contact records and processes them in batches. For each contact, builds browser automation steps to visit the provided website, Facebook, and Instagram URLs (when present) and extract visible page text through an MCP Client endpoint. Cleans and aggregates the scraped text per channel and constructs an evidence-based screening prompt. Sends the prompt to OpenAI (gpt-4o-mini) to return a JSON verdict (active/inactive/uncertain) with confidence and reasoning. Formats one output row per contact (including evidence excerpts and timestamps) and writes all results to a CSV file, aborting if an unexpected runaway loop produces too many rows. Setup Add your OpenAI API credentials and confirm the model selection in the OpenAI node. Set up and run an MCP endpoint reachable at the configured URL (default: http://localhost:8931/mcp) and ensure it supports the browser_navigate, browser_wait_for, and browser_evaluate tools. Update the input CSV path and output CSV path to valid locations for your n8n host, and ensure the input columns match the expected fields (e.g. name, website_url, facebook_url, instagram_url). Adjust the maximum expected row limit in the safety check code if you plan to process larger batches. An n8n automation workflow template by Václav Čikl.
- 3 nodes
- Automation
- AI
By HasData
Quick overview This workflow evaluates a proposed content topic by crawling a sitemap-scoped set of your pages with HasData, comparing it with live Google SERP evidence, and using OpenAI to recommend whether to update an existing page, create a new one, or request review, storing results in Google Sheets. How it works Runs manually and loads the configured site, sitemap scope, query, limits, and Google Sheets spreadsheet ID. Reads the “Review queue” tab in Google Sheets to prevent re-analyzing ideas that already have an approval decision or an existing brief. Fetches the XML sitemap (and up to the configured number of same-host child sitemaps), filters URLs by the path prefix, and selects up to the configured number of pages to inspect. Uses HasData to scrape each selected page and extracts the main text content from the configured CSS selector. Uses HasData to fetch Google organic SERP results (and related questions where available) for the same query and normalizes the evidence. Sends the page excerpts and SERP evidence to OpenAI to produce a structured decision with supporting evidence and next actions, then validates that evidence links and quotes are consistent. Appends or updates the matching row in Google Sheets with the decision, rationale, gaps, and a compact JSON evidence payload, or (in brief mode after approval) generates an OpenAI editorial brief and saves it back to the same row. Setup Add HasData API credentials (including the HasData community node) and OpenAI API credentials in n8n. Add Google Sheets OAuth credentials and create a spreadsheet with a “Review queue” tab using the headers referenced by the template. In the Settings values, set your site URL, same-host XML sitemap URL, path prefix, content selector, query, and replace REPLACE_WITH_SPREADSHEET_ID with your spreadsheet ID. Run in analyze mode first, then review the saved row in Google Sheets and set approval to APPROVED with decision create_new or update_existing before rerunning in brief mode. An n8n automation workflow template by HasData.
- 4 nodes
- Automation
By Joey Townsend
Quick overview This workflow runs every morning, reads multiple RSS feeds plus the CISA Known Exploited Vulnerabilities JSON feed, deduplicates and ranks recent items, then uses local Ollama models to classify and summarize the top stories before sending a formatted briefing to Gmail (SMTP) and Discord. How it works Runs daily at 6:30 AM (or manually for testing) to start the briefing run. Fetches recent items from a configured list of RSS/Atom feeds and downloads the CISA Known Exploited Vulnerabilities JSON feed. Normalizes titles, links, sources, and timestamps, keeps only items from the last 72 hours, and generates stable dedupe keys. Removes items already stored in the n8n Data Table history and optionally performs semantic near-duplicate removal by embedding titles with Ollama and comparing cosine similarity. Uses Ollama chat to classify each remaining story into a category and priority, filters excluded topics, scores items with keyword/freshness boosts, and selects the top stories plus capped category sections. Uses Ollama chat again to write “What happened / Why it matters / Personal relevance” summaries for each top story and formats the full briefing as email HTML/text and Discord-sized message chunks. Sends the briefing via SMTP email, posts it to Discord via webhook, and saves the processed story keys and metadata back into the n8n Data Table for future deduplication. Setup Install and run Ollama, pull the models you want to use (embed/classify/write), and set the Ollama base URL and model names in the Build Config values. Create (or select) an n8n Data Table named tech_briefing_history and ensure it has columns for dedupe_key, url, title, source, category, published_at, and first_seen used by the history read/write steps. Add an SMTP credential for the Email Send node (for Gmail SMTP or another provider) and set the recipient and sender addresses in Build Config. Create a Discord incoming webhook, paste its URL into Build Config, and ensure the target channel allows webhook posts. Review and update the RSS feed list, scoring thresholds (hours window, similarity threshold, top counts), and the reader profile text used for writing summaries in the workflow’s configuration/code. Requirements Self-hosted n8n with network access to an Ollama instance Ollama with an embedding model, a fast classification model and a writing model (defaults: nomic-embed-text, qwen3:8b, gemma4:12b-it-qat) About 16 GB of RAM for the default models An SMTP account (Gmail or other) and/or a Discord incoming webhook An n8n Data Table named tech_briefing_history Customization Add or remove RSS/Atom feeds in Build Config Swap in larger or smaller Ollama models, or change the hours window, similarity threshold and top-story count in Build Config Edit the boost keywords in Select And Bucket to favor topics you care about Rewrite the reader profile in Build Write Requests so the "For you" line matches your role Enable the two disabled archive nodes to save each briefing to Obsidian via its Local REST API plugin Additional info The language models only classify headlines and write summaries from fetched text. Collection, deduplication, scoring and delivery are plain code, so the briefing stays grounded and predictable, and nothing leaves your network except the email and Discord posts. Several Code nodes reference other nodes by name with $('Node Name'). If you rename Build Config, Normalize Stories, Dedup Against History, Build Classify Requests, Select And Bucket, Build Write Requests or Validate And Format, update those references too. An n8n automation workflow template by Joey Townsend.
- 3 nodes
- Automation
By Michael Matthews
Quick overview This workflow runs every 30 minutes to check NOAA Storm Prediction Center hail/wind reports and National Weather Service alerts, matches them to your past customers by location, and texts you a consolidated summary via Twilio, with an optional handoff to a separate outreach webhook. How it works Runs every 30 minutes on a schedule. Loads your business settings and customer list, validates phone numbers/time zone, and determines which customer addresses still need to be geocoded. For new addresses, looks up latitude/longitude via the US Census Geocoder and retrieves the corresponding National Weather Service forecast zone and county from api.weather.gov. Builds a set of checks by downloading NOAA Storm Prediction Center hail and wind report CSVs (today and yesterday, or a replay date) and active National Weather Service alerts for the states your customers are in. Matches reports and alerts to located customers within your configured radius and thresholds, suppresses repeat notifications using workflow static data, and formats a single summary message (holding messages during quiet hours and retrying previously failed sends). Texts you what it found: names, phone numbers, distance, size and local time. If outreach_url is set, each group goes to the companion outreach workflow instead, which asks for your approval before any customer is texted. If that handoff fails, the list is texted to you on the next check. Setup Add a Twilio credential and select it on Find your Twilio account and Text you. The Twilio number must be able to text your cell (A2P 10DLC or a verified toll-free number in the US). Update “Your settings” with your Twilio number, your cell number, your time zone, and a contact email to include in the National Weather Service User-Agent header. Add your customers (name, address, and optional phone/email/ok_to_text plus optional lat/lon) in “Your customers” or replace it with a Google Sheets/database node that outputs the same fields. Adjust monitoring options such as radius, hail/wind thresholds, warning types, and quiet hours to fit your use case. Then publish the workflow. It remembers located addresses and who it has already named in workflow static data, which n8n keeps only for published workflows. (Optional) Import and configure the companion outreach workflow, then set outreach_url and outreach_key to its webhook URL and shared key to enable handoff for approval-based customer texting. Requirements A Twilio number that can text your own cell, and a Twilio credential in n8n US customer addresses. The Census geocoder and the National Weather Service cover the United States only No accounts or keys for the weather data or address lookups, no database and no AI model Customization radius_miles (default 3) for how close a storm report must be to a customer hail_min_inches (default 1), wind_min_mph (default 58) and wind_damage_reports for reports with no speed warnings: the Weather Service warning names to watch, for example only Hard Freeze Warning for a plumber quiet_start and quiet_end, and max_names per group Swap Your customers for a Google Sheets or database node that returns name, phone, email, address, ok_to_text, and optionally lat and lon hail_message, wind_message and warning_message for the customer text handed to the outreach workflow replay_spc_day to test against a past storm day, for example 250519 Additional info Tested live on n8n Cloud against the real NOAA, Census and Weather Service feeds with a real Twilio number, plus 49 automated checks. Storm reports are points where hail or wind was reported, not radar swaths, so treat a match as a reason to check, not proof of damage. Test notes and the texts it sends: https://github.com/mikematthewsai/n8n-weather-watch-past-customers. An n8n automation workflow template by Michael Matthews.
- 2 nodes
- Automation
By WeblineIndia
Quick overview This workflow receives failed-payment webhooks, logs retryable failures to a Google Sheets queue with reason-based retry timing, retries due payments on a 15-minute schedule via an HTTP payment API call, and notifies customers through Gmail when action is required, a payment succeeds, or retries are exhausted. How it works Receives a POST webhook event for a failed payment and normalizes the payload into consistent fields. Checks Google Sheets (RetryQueue tab) for an existing row with the same event_id and stops if the event was already processed. Classifies the failure reason to either schedule an automatic retry (with delay and max retries) or mark it as customer action required. Appends the result to the Google Sheets RetryQueue and, for customer-action cases, sends a Gmail email asking the customer to update their payment method. Runs every 15 minutes, loads the Google Sheets RetryQueue, and filters to rows that are SCHEDULED, due now, and still below the max retry limit. Calls the payment provider’s retry endpoint via HTTP for each due row and interprets the response to determine success or failure. Updates the same Google Sheets row to SUCCESS and emails the customer on success, or schedules the next retry time (or marks MAX_RETRIES_REACHED) and emails the customer when retries are exhausted. Setup Create a Google Sheet with a RetryQueue tab and column headers that match the fields used in the Google Sheets nodes (for example: id, event_id, transaction_id, payment_id, amount, currency, status, retry_count, max_retries, next_retry_at, last_retry_at, customer_email, failure_reason, failure_message). Add Google Sheets credentials in n8n and update each Google Sheets node to point to your spreadsheet (replace any YOUR_GOOGLE_SHEET_ID placeholders and select the correct document and sheet). Add a Gmail credential in n8n and confirm the “Notify Customer”, “Email Customer — Payment Successful”, and “Email Customer — Payment Failed” nodes use the correct sender and content for your use case. Set the HTTP Request node to your real payment retry endpoint (URL and authentication via headers/credentials) and verify the request/response fields align with how “Read Retry Result” detects success. Copy the “Receive Failed Payment” webhook URL from n8n and configure your payment system to POST failed payment events to it using the expected fields (event_id, transaction_id, customer_email, amount, currency, failure_reason/failure_code). Additional info Troubleshooting Guide | Issue | Possible Cause | Solution | |---|---|---| | Google Sheets Operation lookup shows red error | Your n8n version removed/renamed Lookup | Use Get Row(s) + filter on event_id | | Sheets node returns no data / fails | Still using YOUR_GOOGLE_SHEET_ID | Replace with real Sheet ID and connect credential | | Duplicate always true | Demo row already has same event_id | Use a new event_id or clear the matching row | | Auto-retry IF never goes false | failure_reason is still retryable (e.g. insufficient_funds) | Send expired_card / invalid_card / authentication_required | | Schedule finds no due rows | next_retry_at is in the future or status not SCHEDULED | Backdate next_retry_at and set status=SCHEDULED | | HTTP retry fails immediately | Placeholder payment URL / missing auth | Point to mock (e.g. httpbin) or real provider + credential | | Success IF unexpected with httpbin | httpbin echoes request; not a real payment status | Use a mock that returns {"status":"succeeded"} or {"status":"failed"} | | Gmail not received | Wrong email / missing Gmail credential | Use your real customer_email and reconnect Gmail | | Webhook 404 | Workflow inactive or wrong path | Activate workflow; POST to /webhook/payment-failed (or test URL while listening) | | Card data concerns | Payload includes sensitive fields | Send only payment IDs/tokens — never PAN/CVV | Need Help? If you need help customizing or extending this workflow, for ex. adding provider-specific retry APIs, CRM sync, Slack alerts, fraud checks or production hardening then WeblineIndia's n8n team can assist you with advanced automation. Learn more: Everything in n8n Automation | Offshore Workflow Experts. An n8n automation workflow template by WeblineIndia.
- 4 nodes
- Automation
By WeblineIndia
Quick overview This workflow receives procurement questions via n8n Chat or a webhook, looks up role and procurement records in Google Sheets, and uses Groq-hosted LLM agents to generate a role-restricted, sheets-grounded answer with suggested next actions. How it works Receives a question from n8n Chat or a POST request to the procurement-copilot webhook and normalizes the request fields (user identity hints, object ID, and confidence threshold). Loads a Users Google Sheet to resolve the requester’s role and RBAC rules, and returns an access-limited response if the role is unknown. Uses a Groq LLM agent to classify the intent and extract entity IDs (requisition, PO, invoice, supplier, contract), then validates/fills missing entities from the question text. Loads matching procurement data from Google Sheets tabs (Requisitions, Approvals, Suppliers, Contracts, and Invoices) and assembles a single context object. Filters the context by role (allowed entities) and redacts denied fields before sending only the allowed context to a second Groq LLM agent. Generates a grounded JSON answer, removes any suggested actions not permitted for the user’s role, and routes either a confident response or a clarification message based on the confidence threshold. Returns the final result as JSON to the webhook caller or as chat text back to n8n Chat. Setup Create and connect Google Sheets credentials, and ensure the spreadsheet includes the Users, Requisitions, Approvals, Suppliers, Contracts, and Invoices tabs with the expected columns (IDs like REQ-…, PO-…, INV-…, CTR-…). Add a Groq API credential and select it for both the intent and answer LLM model nodes. Populate the Users sheet with each caller’s email and a valid role (buyer, approver, requisitioner, category_manager, ap_analyst, supplier_manager) to enable access. If using the webhook entry point, copy the production webhook URL for procurement-copilot and configure your portal/application to POST questions (and optional userEmail, roleHint, objectId, and confidenceThreshold). Additional info How To Customize Nodes Adjusting Confidence Thresholds:** By default, the workflow routes to a "clarification" response if the AI's confidence is below 0.55[cite: 1]. You can modify this threshold in the JavaScript code of the Normalize Request node[cite: 1]. Customizing RBAC Permissions:** Open the Resolve Identity and Role code node[cite: 1]. Here, you can edit the JSON object to add new roles or modify the allowedEntities, allowedActions, and deniedFields arrays to suit your company's security policies[cite: 1]. Updating Entity ID Formats:** If your company uses different prefixes for purchase orders or invoices, update the Regular Expressions inside the Validate Extraction code node (e.g., modifying /\\bPO[- ]?(\\d{3,})\\b/i)[cite: 1]. Swapping AI Models:** You can replace the Groq Intent Model and Groq Answer Model nodes with alternative n8n LangChain chat models (like OpenAI or Anthropic) if you prefer a different AI provider[cite: 1]. Add‑ons Slack/Microsoft Teams Integration:** Replace the Webhook triggers and responses with Slack or Teams nodes to allow employees to query the copilot directly from their company messaging apps. Live ERP Integration:** Swap out the Google Sheets nodes for HTTP Request nodes or native integrations (like SAP, NetSuite, or QuickBooks) to pull real-time procurement data directly from your system of record. ServiceNow/Jira Ticketing:** Add an HTTP request node on the "Clarification" routing branch to automatically open an IT or Procurement Operations support ticket when the AI's confidence is too low to answer securely. Use Case Examples Requisition Status Inquiries:** A requisitioner asks, "Where is REQ-10482?"[cite: 1]. The copilot identifies the user's role, fetches the requisition and approval chain from the sheets, and returns the status while hiding confidential supplier pricing[cite: 1]. Invoice Exception Handling:** An AP Analyst queries "INV-88901". The AI retrieves the 3-way match status and, recognizing the analyst's role, permits the hold_payment suggested action[cite: 1]. Supplier Risk Assessment:** A Category Manager asks about supplier "ACME-44"[cite: 1]. The workflow provides the supplier's ESG score and onboarding status while actively redacting sensitive fields like bank account details[cite: 1]. Contract Utilization Tracking:** A buyer requests data on "CTR-17"[cite: 1]. The assistant pulls the contract data from Google Sheets, calculating the utilized spend and alerting the buyer if the utilization percentage is nearing its limit[cite: 1]. (Note: Because this workflow is highly modular, there can be many more such use cases by simply expanding the Google Sheets tabs and adding new roles!) Troubleshooting Guide | Issue | Possible Cause | Solution | | :--- | :--- | :--- | | Workflow returns "Access limited: add [email] to Users sheet..."[cite: 1] | The user's email was not found in the Google Sheets database, or their assigned role is invalid[cite: 1]. | Ensure the user's email is added to the Users sheet with a valid role (e.g., buyer, approver)[cite: 1]. | | AI returns "I could not produce a grounded answer from Google Sheets context."[cite: 1] | The specific REQ, PO, INV, or Supplier ID was not found in any of the Google Sheets during the data enrichment phase[cite: 1]. | Verify that the record actually exists in the connected Google Sheets and that the ID matches the expected formatting (e.g., REQ-10482)[cite: 1]. | | Suggested actions are missing from the response. | The generated action was blocked by the Role-Based Access Control (RBAC) filter[cite: 1]. | Check the Resolve Identity and Role node to verify if that specific action is listed in the allowedActions array for the user's role[cite: 1]. | | Google Sheets nodes fail to execute. | Missing or expired credentials, or an incorrect Document ID[cite: 1]. | Re-authenticate the googleSheetsOAuth2Api credentials and verify the Document ID in all five sheet loading nodes[cite: 1]. | Need Help? If you need a helping hand to set up these API connections, customize the RBAC code nodes or build custom Add-Ons (like integrating this copilot directly into your Slack workspace or ERP system), contact WeblineIndia. Our n8n technical experts can help you customize this workflow or build similar automated, enterprise-grade AI solutions tailored exactly to your business needs!. An n8n automation workflow template by WeblineIndia.
- 4 nodes
- 4 views
- Automation
- AI
By Ziad Karim
Quick overview This workflow watches a Google Drive folder for new bank-statement PDFs or CSVs, extracts transactions with OpenAI, reconciles opening/closing balances, and appends only new (non-duplicate) transactions to Google Sheets with rule-based categorization, while logging every import and emailing you when a statement fails reconciliation. How it works Triggers when a new file is created in a specified Google Drive folder. Downloads the statement and extracts text from the file (PDF text extraction or CSV-to-text). Sends the extracted text to OpenAI to return structured JSON containing account details, statement period, balances, and a transaction list. Validates that opening balance plus all transaction amounts equals the closing balance (in integer cents) and optionally identifies the first running-balance mismatch. If the statement does not reconcile, logs the refused import to Google Sheets and sends a Gmail email explaining the discrepancy and any suspected sign error. If the statement reconciles, reads category rules and existing transaction fingerprints from Google Sheets, categorizes transactions, and keeps only transactions not previously imported. Appends the new transactions to the Google Sheets Transactions tab and writes a summary entry to the Import log tab. Setup Connect Google Drive credentials, choose the folder to watch, and ensure n8n has permission to download files from it. Connect an OpenAI credential (Chat Model) and select the model used to extract statement data. Connect Google Sheets credentials and set the spreadsheet and sheet names for Transactions, Rules, and Import log in all Google Sheets nodes. Prepare your Google Sheet tabs/columns, including a Transactions column named Fingerprint and a Rules tab with Match, Category, and Direction (in/out/any). Connect Gmail credentials, replace the recipient address in the email action, and confirm your Gmail account can send messages from n8n. Requirements n8n (self-hosted or Cloud); built and tested on n8n 2.x A Google Drive folder for statements (PDF or CSV) and one Google Sheet with Transactions, Rules and Import log tabs An OpenAI API key, or any OpenAI-compatible provider Gmail for the alert when a statement doesn't reconcile Customization Stricter checks: add your own rules to the balance check, such as refusing statements that overlap a closed month Other sources: replace the Drive trigger with a Gmail trigger on your bank's statement emails Accounting tools: swap the Sheets append for QuickBooks, Xero or a database; the fingerprint keeps re-imports safe there too Additional info What you get: one importable workflow file (JSON, 17 nodes) with setup notes pinned beside every step, delivered as an instant download after checkout. Use it in unlimited workflows of your own or your clients'. Payments are handled by Paddle (merchant of record). 14-day full refund, no questions asked. Questions before or after buying: hello@hundredships.com. This is a data-import tool, not accounting or financial advice. An n8n automation workflow template by Ziad Karim.
- 6 nodes
- Automation
- AI
By Incrementors
DESCRIPTION Automate appointment booking through voice calls by integrating VAPI voice agent with AI-powered calendar management. This workflow receives scheduling requests via webhook, uses OpenAI to intelligently check availability, books appointments in Google Calendar, and responds in real-time during the phone call. KEY FEATURES Real-time voice scheduling: Processes appointment requests during live phone calls with instant confirmation, eliminating callback delays and manual scheduling AI-powered decision making: OpenAI GPT-4.1 Mini intelligently interprets caller requests, checks calendar availability, and determines optimal booking slots automatically Google Calendar integration: Seamlessly connects to Google Calendar with two specialized tools - availability checker and appointment booking - for automated calendar management Webhook-based communication: Receives structured data from VAPI voice agent including name, phone, service type, address, priority level, and scheduling status Eastern timezone support: All appointments are automatically timestamped using America/New_York timezone for accurate scheduling across regions Tool-use AI architecture: AI agent has direct access to calendar tools, allowing it to make intelligent decisions based on real availability data WHAT THIS WORKFLOW DOES This workflow acts as an intelligent backend for voice-based appointment scheduling. When a customer calls your business and speaks to a VAPI voice agent about booking an appointment, the voice agent sends the scheduling details to this n8n workflow via webhook. The AI assistant powered by OpenAI GPT-4.1 Mini receives the request, checks your Google Calendar for availability during the requested time slot, and automatically books the appointment if available. The workflow then sends a confirmation response back to the voice agent, which can immediately confirm the booking to the caller while they're still on the phone. Perfect for service businesses, medical offices, consultation services, and any organization using VAPI for phone automation who want to eliminate manual appointment scheduling and provide instant booking confirmations to customers. INPUT Webhook POST request from VAPI voice agent Scheduling details: name, phone, service type, address Priority level (P1, P2, etc.) Status flags (AfterHours, Regular, etc.) Requested appointment time and date PROCESSING Step 1: Receive scheduling request The workflow receives a webhook POST request from the VAPI voice agent containing structured JSON data with customer details, service type, requested time, address, and priority level. Step 2: AI processes the request OpenAI GPT-4.1 Mini AI agent analyzes the scheduling request and determines the appropriate action based on business rules, priority levels, and calendar availability. Step 3: Check calendar availability The AI uses the "Check Calendar Availability" tool to query Google Calendar and verify if the requested time slot is available for booking. Step 4: Book the appointment If the slot is available, the AI uses the "Book Appointment in Calendar" tool to create a new calendar entry with a 3-hour default duration and all customer details. Step 5: Send real-time response The workflow immediately responds to the VAPI voice agent with booking confirmation or alternative availability, allowing the agent to inform the caller during the same phone call. OUTPUT Webhook response with booking confirmation status New appointment created in Google Calendar Calendar entry with customer name, phone, service details Real-time availability status for the voice agent Immediate caller confirmation during the phone call SETUP INSTRUCTIONS Prerequisites n8n instance (cloud or self-hosted) VAPI voice agent account with webhook support Google Calendar with OAuth2 access OpenAI API key (GPT-4.1 Mini recommended) Active phone number connected to VAPI Step 1: Import the Workflow Download or copy the workflow JSON In n8n, go to Workflows → Import from file / JSON Import the workflow Review the imported nodes and connections Step 2: Configure Credentials Set up the required credentials inside n8n's credential manager: Google Calendar OAuth2:** For checking availability and booking appointments OpenAI API:** For GPT-4.1 Mini AI agent processing Important: No credentials are hardcoded. All must be connected via n8n's credential manager. Step 3: Configure Google Calendar Open both calendar tool nodes: "Check Calendar Availability" "Book Appointment in Calendar" Update the calendar email address to your target calendar Verify OAuth2 connection is active Test calendar access by running a manual test Step 4: Configure VAPI Webhook Integration Copy the webhook URL from the "Receive Scheduling Request from VAPI" node Log into your VAPI dashboard Navigate to your voice agent's tool configuration Add a new webhook tool called scheduling_tool Paste the n8n webhook URL Configure the webhook to send POST requests with JSON data Map voice agent variables to webhook payload: name: Customer name from call phone: Customer phone number service: Service type requested address: Customer address priority: Priority level (P1, P2, etc.) status: Call status (Regular, AfterHours, etc.) Step 5: Customize AI System Prompt Open "Process Scheduling with AI Assistant" node Review the system message in options Customize business rules: Service types offered Priority handling logic After-hours scheduling rules Default appointment duration Adjust timezone if not using Eastern time Add specific instructions for your business Step 6: Configure Appointment Duration Open "Book Appointment in Calendar" tool node Review the timeMax field (default: 3 hours after start time) Adjust duration based on your service requirements Use $fromAI() function to let AI determine duration dynamically Test with different service types Step 7: Test the Workflow Test with webhook simulator: Use a tool like Postman or curl Send a POST request to your webhook URL Use this test payload: { "name": "Test Customer", "phone": "919-555-0123", "service": "Consultation", "address": "123 Main St, Raleigh, NC 27601", "priority": "P2", "status": "Regular", "source": "SchedulingAgent" } Verify the workflow executes successfully Check Google Calendar for the new appointment Review the webhook response Test with VAPI voice call: Call your VAPI-enabled phone number Request an appointment naturally (e.g., "I need to book a repair service for tomorrow at 2 PM") Verify the voice agent sends data to n8n Confirm the appointment is created in Google Calendar Ensure the voice agent confirms booking to you during the call Step 8: Activate & Monitor Activate the workflow in n8n Monitor execution logs for the first few real calls Review calendar entries for accuracy Adjust AI prompts based on actual performance Set up error notifications if needed WORKFLOW NODE BREAKDOWN Receive Scheduling Request from VAPI Type: Webhook Trigger Purpose: Receives POST requests from VAPI voice agent containing customer scheduling details Configuration: Webhook path: 12c231db-0a0e-466a-a447-d97a12ba9ed8 Method: POST Response: Wait for webhook response enabled Expected Input: { "name": "string", "phone": "string", "service": "string", "address": "string", "priority": "string", "status": "string", "source": "SchedulingAgent" } Process Scheduling with AI Assistant Type: AI Agent (LangChain) Purpose: Intelligent processing of scheduling requests with access to Google Calendar tools AI Model: OpenAI GPT-4.1 Mini System Role: Backend automation agent Processes VAPI scheduling data Has access to two calendar tools: Check Calendar Availability Book Appointment in Calendar Key Features: Interprets natural scheduling requests Makes intelligent booking decisions Handles priority levels (P1, P2, etc.) Manages after-hours requests Formats Eastern timezone timestamps Tool Access: The AI can autonomously decide when to: Check availability first Book appointment if available Return alternative suggestions if unavailable OpenAI GPT-4.1 Mini Model Type: Language Model (Chat) Purpose: Powers the AI agent with natural language understanding and decision-making Configuration: Model: gpt-4.1-mini Connected to AI agent node Provides language model capabilities for tool use Why GPT-4.1 Mini: Fast response times for real-time calls Cost-effective for high-volume scheduling Strong tool-use capabilities Reliable appointment logic Check Calendar Availability Type: Google Calendar Tool (AI-accessible) Purpose: AI tool for querying calendar availability Configuration: Resource: Calendar Calendar: Target calendar email Operation: Check availability AI-callable: Yes How AI Uses It: The AI agent calls this tool first to verify if the requested time slot is free before attempting to book. It receives availability data and makes decisions based on the response. Book Appointment in Calendar Type: Google Calendar Tool (AI-accessible) Purpose: AI tool for creating calendar appointments Configuration: Resource: Calendar Calendar: Target calendar email Operation: Create event Time Min: $fromAI("StartTime", "The start time the user has requested for booking") Time Max: $fromAI("EndTime", "Assume the end time is 3 hrs after the start time") Dynamic Fields: Uses $fromAI() function to extract: Start time from AI's interpretation of the request End time calculated as 3 hours after start (customizable) AI Logic: The AI determines when to call this tool based on availability check results and business rules defined in the system prompt. Send Response to Voice Agent Type: Respond to Webhook Purpose: Sends booking confirmation or status back to VAPI voice agent Response Format: Returns JSON with booking status, allowing the voice agent to: Confirm successful booking to caller Suggest alternative times if unavailable Provide appointment details Timing: Responds immediately after AI processing completes, ensuring the caller receives feedback during the same phone call. USE CASES HVAC & Plumbing Services: Customers call to schedule repairs or maintenance. The voice agent books appointments instantly without putting callers on hold or requiring callbacks. Medical & Dental Offices: Patients call to book appointments. The AI checks doctor availability and books the appointment while the patient is still on the line, reducing no-shows. Consulting & Coaching: Professionals using VAPI can automate their booking process. Clients get instant confirmation for consultation slots without email back-and-forth. Home Services (Cleaning, Repairs, Installations): Service businesses receive booking calls 24/7. The AI handles after-hours calls and books next-day appointments automatically. Beauty & Wellness (Salons, Spas, Fitness): Customers book appointments via phone. The voice agent accesses real-time availability and confirms bookings immediately. Legal & Financial Services: Law firms and financial advisors using VAPI can automate client meeting scheduling with priority handling for urgent matters. Real Estate Showings: Agents using VAPI for property inquiries can automatically schedule showing appointments based on availability. CUSTOMIZATION OPTIONS Modify Appointment Duration Default: 3 hours for all appointments Customization: Open "Book Appointment in Calendar" node Edit the timeMax formula Options: Fixed duration: {{ $now.plus(2, 'hours') }} Service-based: Add conditional logic based on service type AI-determined: Use $fromAI("Duration", "Appointment duration in hours") Add Google Sheets Logging Current State: Not implemented System Prompt Mentions: Logging to Peachtree_Scheduling_Log sheet Implementation: Add Google Sheets node after AI agent Connect to your logging sheet Map fields: Name, phone, service, address Priority, status, timestamp Booking confirmation status Calendar event ID Use {{ $now.format('America/New_York') }} for timestamp Add Slack/Email Notifications Current State: Optional, mentioned in system prompt Implementation for Slack: Add Slack node after booking success Send to scheduling team channel Include: Customer name, service, time, priority Implementation for Email: Add Gmail/Email node after booking Send to scheduling coordinator Attach booking details and calendar link Handle Multiple Service Types Customize in AI system prompt: Service Types & Durations: Consultation: 1 hour Repair: 3 hours Installation: 4 hours Maintenance: 2 hours Priority Levels: P1: Urgent, book within 24 hours P2: Standard, book within 3 days P3: Flexible, book within week Update the AI agent's system message with your specific service catalog. Add Conditional Routing Example: Different calendars for different services Add Switch node before AI agent Route based on service type Use separate Google Calendar tools for each service category Different technicians/departments get their own calendars Implement After-Hours Logic Customize AI prompt: After-Hours Rules: If status = "AfterHours" and time < 8 AM: Book for next available 8 AM slot If status = "AfterHours" and time > 6 PM: Book for next business day 9 AM If priority = "P1" and after hours: Book emergency slot regardless of time Multi-Calendar Support For larger organizations: Clone calendar tool nodes Create separate tools for each calendar: Technician 1 calendar Technician 2 calendar Manager calendar AI can choose appropriate calendar based on: Service type Availability Priority level TROUBLESHOOTING Webhook not receiving data Verify webhook URL is correctly configured in VAPI dashboard Check that VAPI voice agent is sending POST requests Test with Postman using sample JSON payload Review n8n execution logs for incoming requests Calendar availability check fails Confirm Google Calendar OAuth2 credentials are connected Verify calendar email address is correct in tool node Check that the calendar has proper sharing permissions Test calendar access manually in Google Calendar settings Appointments not being created Ensure "Book Appointment in Calendar" tool has write permissions Verify $fromAI() fields are extracting time data correctly Check if AI is receiving proper time format from VAPI Review AI agent execution logs for tool call attempts AI not using calendar tools Verify both calendar tools are connected to AI agent node Check OpenAI API credentials are valid Ensure GPT-4.1 Mini model supports tool use (it does) Review AI system prompt for conflicting instructions Wrong timezone on appointments The workflow uses America/New_York timezone Update timezone in system prompt if needed Verify Google Calendar timezone settings Check $fromAI() time extraction format VAPI not receiving response Confirm "Respond to Webhook" node is configured correctly Check that "Wait for webhook response" is enabled Verify n8n is returning proper JSON response Test webhook response format in VAPI logs Duplicate bookings created AI might be calling booking tool multiple times Add logic to prevent duplicate calendar entries Check VAPI for repeated webhook calls Review AI execution logs for tool call frequency IMPORTANT NOTES VAPI integration: This workflow is specifically designed for VAPI voice agent platform. It expects structured JSON data from VAPI's webhook system. Other voice platforms may require webhook format adjustments. Real-time requirement: The workflow must respond quickly (under 5 seconds) to maintain natural phone conversation flow. Avoid adding heavy processing nodes that could slow response time. Tool-use architecture: This workflow uses n8n's AI agent with tool-use capabilities. The AI autonomously decides when to check availability and when to book appointments based on the conversation context. Cost considerations: OpenAI GPT-4.1 Mini API calls cost approximately $0.001-0.003 per scheduling request. Google Calendar API is free for normal usage but has rate limits. Timezone handling: All timestamps use America/New_York timezone by default. Adjust the timezone in the system prompt if your business operates in a different region. Default appointment duration: Appointments are set to 3 hours by default. Customize this in the "Book Appointment in Calendar" node or let AI determine duration dynamically. Priority levels: The system prompt mentions priority handling (P1, P2) but doesn't implement specific logic. Customize the AI prompt to add priority-based scheduling rules. After-hours scheduling: The workflow receives "AfterHours" status but doesn't implement special handling. Add conditional logic or AI instructions for after-hours booking rules. Google Sheets logging: The system prompt mentions logging to a Google Sheet named Peachtree_Scheduling_Log, but this functionality is not implemented. Add a Google Sheets node if you need appointment logging. Notification system: Optional Slack/Email notifications are mentioned in the system prompt but not implemented. Add notification nodes for internal team alerts. No error handling: The current workflow doesn't include explicit error nodes. Consider adding error handling for failed bookings or API timeouts. Single calendar only: The workflow currently supports one Google Calendar. For multi-technician scheduling, clone the workflow or add calendar routing logic. RESOURCES n8n AI Agent documentation Google Calendar API guide OpenAI tool use documentation VAPI webhook documentation n8n webhook trigger guide SUPPORT Need help or custom development? 📧 Email: info@incrementors.com 🌐 Contact Form: https://www.incrementors.com/contact-us/. An n8n automation workflow template by Incrementors.
- 6 nodes
- Automation
- AI
By Roman Rozenberger
Quick overview Reads pending keywords from Google Sheets, pulls Google's top 10 with DataForSEO (optionally page content, search volume and traffic per URL), groups the results into search intents with an OpenRouter model, and writes the summary, intents and per-result data back to the sheet. How it works Runs manually and loads settings from Config: sheet URL, model, prompt and the optional data switches. Reads the Keywords tab and keeps rows with an empty status, up to max_keywords. For each keyword, the verified DataForSEO node fetches the live Google top 10, plus People Also Ask, related searches and the AI Overview when present. If enabled, DataForSEO reads every ranking page as markdown; a Code node measures words and counts tables, lists, images and videos, and builds a short digest. If enabled, DataForSEO Labs adds search volume with monthly history (seasonality is computed from it) and estimated traffic per URL. The Labeler (Basic LLM Chain with the OpenRouter Chat Model) groups the results into search intents. It sees titles, snippets and digests only - no numbers. Code nodes count coverage, share and traffic share per intent, the dominant intent, the reference length and warnings, then append rows to Summary, Intents and Results and mark the keyword as done or error. Setup Copy the template sheet (link in the Setup sticky) and paste your copy's URL into Config -> spreadsheet_url. Install the verified DataForSEO node once, then add a DataForSEO API credential with your API login and API password (DataForSEO dashboard -> API access). Add an OpenRouter credential on the OpenRouter Chat Model node. Change the model in Config if you do not want openai/gpt-6-luna. Add a Google Sheets OAuth2 credential to the five Google Sheets nodes. In the Keywords tab add keyword, country_code (2840 US, 2826 UK, 2616 PL, 2276 DE, 2250 FR, 2380 IT) and language_code (en, pl, de...). Leave status empty, then run the workflow. Requirements DataForSEO account with API access OpenRouter API key Google account for Google Sheets The verified DataForSEO node (n8n-nodes-dataforseo) Customization Switch read_pages, search_volume or traffic off in Config to pay less (SERP and model only: about $0.003 per keyword). Pick any OpenRouter model in Config; low-cost models without heavy reasoning are enough for grouping ten results. Edit the prompt in Config -> system_prompt, for example to answer in another language. Raise or lower max_keywords to control how many keywords one run processes. Additional info A full run costs about $0.03 per keyword in API fees, mostly DataForSEO Labs. The model only groups results; every number is computed in Code nodes, so each figure in the sheet can be recomputed by hand. The Basic LLM Chain does not report the model cost (about $0.001 per keyword with openai/gpt-6-luna); check it in your OpenRouter activity. The same method as an open-source Python library and a browser playground: https://romek-rozen.github.io/intent-labeler/. An n8n automation workflow template by Roman Rozenberger.
- 4 nodes
- Automation
- AI
By Thiago Cavalcanti
Quick overview This workflow accepts website leads via a webhook, deduplicates and stores them in an n8n Data Table, emails the owner a Gmail alert with an “answered” link, sends a single reminder after 30 minutes if not marked answered, and delivers a daily Gmail summary. How it works Receives a new lead via a POST webhook (only if an email or phone number is present) or runs nightly on a schedule. Normalizes the lead fields, generates a SHA-256 lead key from email/phone, and checks an n8n Data Table for a recent matching lead. If the lead is new (not seen within the repeat window), inserts it into the Data Table and sends a Gmail alert to the owner containing a private “mark as answered” resume link. Waits until the owner opens the “answered” link or until the reminder time limit expires. If marked answered, updates the Data Table row with an answered timestamp; otherwise, sends one Gmail reminder and records the reminder timestamp. Every evening, pulls today’s Data Table rows, calculates received/answered-in-time/open/reminded counts, and emails the daily summary via Gmail. Setup Create an n8n Data Table with columns lead_key, name, email, phone, source (text) and received_at, answered_at, reminded_at (date/time), then select it in all Data Table nodes. Add a Gmail OAuth2 credential for the Gmail nodes used to send the alert, reminder, and daily summary. Update the “Your settings” values (owner email, reminder minutes, repeat window days, and timezone) to match your team’s requirements. Copy the webhook production URL from the lead webhook and configure your form tool to send a POST request with lead fields (name, email, phone, message, source). Requirements A Gmail account and n8n with Data Tables Customization Swap the Gmail nodes for Slack, Telegram or Outlook, change the evening summary time and timezone, or add Header Auth to the webhook if your form can send a header. Additional info Made by Betterlane. Step-by-step guide: https://betterlaneagency.com/learn/n8n-workflow-runs-twice. An n8n automation workflow template by Thiago Cavalcanti.
- 2 nodes
- Automation
By Mychel Garzon
Quick overview Describe an automation in one sentence in chat. Claude turns it into an n8n workflow. The workflow is checked against n8n's own node catalog, tested or reviewed, and saved to your instance. Monitors are tested against a built-in mock before they go live. How it works You describe what you want in the chat, for example "Alert me when GitHub has an incident". You can add an endpoint URL and an alert webhook, Slack channel or email address. Claude turns the request into a spec. A health check on a service becomes a monitor. Any other automation (forms, digests, AI steps, syncs between apps) becomes a blueprint. If you give an endpoint, it is called once first, so the checks fit what it really returns. Claude builds the workflow JSON. For blueprints, the prompt includes the exact node types, versions and fields from n8n's official node catalog, pinned to one package version. The draft is validated: node types, fields for each version, required values, wiring, expression syntax and node references. Safe mistakes are repaired automatically, and anything else goes back to Claude with clear feedback. There are up to 3 build rounds by default. Monitors run through hidden test cases against a built-in mock (errors, timeouts, DNS failures, failed alerts and each spec check), plus one check of the real endpoint. Blueprints get a second Claude review against your request, with one repair round. The workflow is created in your instance through the n8n API. A monitor with an alert webhook is activated. Blueprints are saved inactive, with a Setup note that lists the accounts to connect and the values to fill in. The chat replies with the result, the test results or checks, a link to the workflow and the next steps. Setup Connect Claude to the three model nodes: Anthropic Model (Spec), Anthropic Model (Build) and Anthropic Model (Review). Use your Anthropic API key, or the built-in AI credits on n8n Cloud. Create an n8n API key (Settings > n8n API) and add it as a credential to Create Workflow and Activate Workflow. Base URL: your instance URL + /api/v1. Open the Settings node. Leave PUBLIC_URL empty to detect your instance URL automatically, or set it when your instance runs behind a proxy. Adjust the daily build limits if you need to. Save and publish the workflow. The sections call the published version, so publish again after every edit. Open the Chat Trigger, copy the chat URL and try it: "Alert me when GitHub has any incident. Send alerts to https://webhook.site/your-id". To limit access, set the Chat Trigger's authentication to Basic Auth. Requirements An n8n instance (Cloud or self-hosted) with public webhook URLs An n8n API key An Anthropic API key, or AI credits on n8n Cloud Outbound access to cdn.jsdelivr.net, to load the node catalog and output schemas Customization MAX_ATTEMPTS and TIME_BUDGET_MINUTES in Settings: the number of build rounds and the time before the loop stops. DAILY_RUNS_PER_CHAT and DAILY_RUNS_TOTAL: limit usage when the chat is public. CORE_NODES_VERSION and AI_NODES_VERSION: pin the node catalog to the n8n version you run. Change both together. Swap the Claude model in the three model nodes, for example a smaller model for lower cost. Additional info Safety by design: built workflows never contain credentials. Code, command, file and self-API nodes are blocked. Monitors cannot target private or local network addresses. Blueprints are always saved inactive, for you to review before you activate them. If no draft passes the checks, the last draft is still saved inactive, with its open problems listed in its Setup note. An n8n automation workflow template by Mychel Garzon.
- 4 nodes
- Automation
- AI
By TidyTools
Quick overview This workflow runs every Monday to check whether AI crawlers can access a list of websites using the Apify AI Crawler Access Checker actor, and posts a single Slack alert only when access rules or signals change. How it works Runs every Monday morning on a scheduled trigger. Defines the list of websites to monitor and a monitor name used for week-to-week comparisons. Runs the Apify actor tidytools/ai-crawler-access-checker to evaluate each site’s robots.txt, llms.txt, and page signals, returning only new or changed results. Filters the results to keep only sites that are being monitored for the first time or whose crawler access status changed. Builds one consolidated Slack message describing what changed per site (for example, allowed/blocked bots, policy changes, or llms.txt/noai signal changes). Sends the message to the selected Slack channel. Setup Add an Apify credential (API token or OAuth) and ensure the Apify node is allowed to run the tidytools/ai-crawler-access-checker actor. Add a Slack credential and set the target channel (for example, #seo-alerts) where alerts should be posted. Update the website domains/URLs list and the monitor name so Apify can persist a baseline and compare results across weekly runs. An n8n automation workflow template by TidyTools.
- 2 nodes
- Automation
By Paolo Ronco
Quick overview Build an AI chatbot that answers questions using your website's own knowledge base. This workflow combines intent classification, safety routing, vector search with Qdrant, OpenAI embeddings, Cohere reranking, grounded AI responses, and structured JSON output through a webhook. How it works Receives chatbot requests through an authenticated webhook and normalizes the incoming payload. Uses OpenAI to classify each request as smalltalk, knowledge search, or rejected/out-of-scope. Routes each request to a dedicated processing path. Handles smalltalk separately without unnecessarily querying the vector database. For website-related questions, searches the Qdrant knowledge base using OpenAI embeddings. Reranks retrieved documents with Cohere and builds a deduplicated context from the most relevant sources. Uses an AI Agent to generate an answer grounded only in the retrieved website content. Parses and cleans the result into a consistent JSON response ready for your website or frontend. Setup Import the workflow into n8n. Configure the webhook authentication. Add your OpenAI API credentials. Connect your Qdrant instance and select your website knowledge collection. Add your Cohere API credentials for reranking. Review and customize the AI models, prompts, and output schema. Connect your website or chat frontend to the production webhook URL. Activate the workflow. Requirements n8n OpenAI API credentials Qdrant instance Website content already indexed in a Qdrant collection Cohere API credentials for reranking A website or frontend capable of sending requests to the webhook Note: This template handles the chatbot query and response pipeline. Your website content must already be indexed in Qdrant. Website crawling, content ingestion, chunking, and synchronization are not included in this workflow. Customization Customize the intent rules, chatbot personality, safety behavior, AI models, Qdrant collection, retrieval depth, Cohere reranking, prompts, context generation, output schema, and final webhook response to fit your website or application. Additional info Customize the intent rules, chatbot personality, safety behavior, AI models, Qdrant collection, retrieval depth, Cohere reranking, prompts, context generation, output schema, and final webhook response to fit your website or application. An n8n automation workflow template by Paolo Ronco.
- 8 nodes
- 7 views
- Automation
- AI
By Muhammad Bin Zohaib
Quick overview Paste a public YouTube video URL and use Gemini to mine real viewer comments for recurring questions, problems, objections, tutorial requests, content opportunities, and product or service ideas. How it works Enter a public YouTube video URL, choose how many comments to analyze, and select relevance or time-based ordering. The workflow uses the YouTube Data API v3 to retrieve the video's title, channel, views, likes, comment count, and public comment threads. Comments and available replies are cleaned, low-value or spam-like comments are filtered, duplicate text is removed, and each useful comment receives a stable evidence ID such as C001. Gemini analyzes only the collected comments to identify recurring questions, problems, complaints, feature requests, objections, tutorial requests, purchase intent, and other audience signals. The workflow converts the strongest signals into actionable content ideas, hooks, and potential product or service opportunities while keeping one-off observations separate from repeated patterns. A complete report is rendered directly in the n8n form, including an executive summary, audience signals, engagement context, content opportunities, product or service opportunities, caveats, and clickable links back to the original YouTube comments. Setup Create a Google Cloud project and enable the YouTube Data API v3 in Google Cloud Console. Create an API key under APIs & Services → Credentials, then add it to an n8n HTTP Query Auth credential using: Name: key Value: your YouTube Data API key Attach that credential to both Get Video Details and Get YouTube Comments. Connect a Google Gemini Chat Model credential to the AI Agent. You can use a Gemini model available through its free tier, or swap the chat model for another compatible provider or model available to you. Requirements An n8n instance with access to the Form, HTTP Request, Code, AI Agent, and Google Gemini Chat Model nodes. A Google Cloud project with the YouTube Data API v3 enabled and a YouTube API key. Customization Change the comment limit, relevance/time ordering, minimum comment length, junk-comment filters, evidence ranking logic, AI prompt, and report sections to fit your research use case. Replace the Google Gemini Chat Model with another compatible n8n chat model or provider when needed. You can also extend the workflow with additional outputs such as Google Sheets, email, Slack, or a database. Additional info No paid scraper is required. The workflow reads public YouTube data directly through the official YouTube Data API and analyzes the cleaned evidence with the connected AI model. The workflow is designed to be evidence-first: AI-generated signals and opportunities are tied back to actual comment evidence IDs, helping users distinguish repeated audience demand from isolated comments. An n8n automation workflow template by Muhammad Bin Zohaib.
- 4 nodes
- 36 views
- Automation
- AI
By Guillaume Duvernay
Quick overview Give an AI coding agent one authenticated webhook for structured LLM batches. The agent prepares prompts and JSON schemas in a script; n8n processes the first 50 calls in parallel, returns ordered results, and records who used the service. How it works The Webhook accepts a POST request with an X-API-Key header and a calls array. Each call contains systemPrompt, userMessage, a JSON-encoded jsonSchema string, and an aiMode of small or big. Use one mode per request. Check Auth* looks up the token in the users Data Table. Unknown tokens receive HTTP 401. For accepted requests, Insert log stores the user's email and the full submitted calls payload, including prompts, schemas, and modes. Prepare Calls* restores the request body after authentication, and Split Calls creates one item per call. Limit to 50 passes the first 50 items. It silently drops any extras, so clients should split larger jobs and check result counts. Basic LLM Chain* processes the retained items in parallel. Model Selector routes small to GPT 6 Luna and big to Gemini 3.8 Flash. Structured Output Parser applies each call's schema. Adjust the chain's batch size and delay to match provider rate limits. Aggregate Responses* collects the results. Respond to Webhook returns ordered {query, output} entries, one per processed call. query echoes the submitted input; callers should inspect each output and handle item-level failures. Setup Create a users Data Table with string columns email and auth_token. Create a logs Data Table with string columns user and log in the same n8n project. Add one users row per person. For this example, generate a unique 12-character alphanumeric auth_token with a cryptographically secure random generator and deliver it privately. Your organization can use its own token system instead. In Check Auth, select the imported workflow itself. In Get team member, select the users table and filter on auth_token using ai_auth_key. In Insert log, select the logs table. Configure an OpenRouter credential in GPT 6 Luna and 3.8 Flash. If you replace either model or provider, reconnect the model nodes and verify the small and big rules in Model Selector. Publish the workflow and copy the production URL from Webhook. Give each user that URL and their personal token through a verified private channel. They store them as unquoted EXTERNALIZED_AI_URL=... and EXTERNALIZED_AI_API_TOKEN=... values in a local .env. Run one cheap test call, then a small batch. Check the JSON response, the 401 response for a bad token, and the logs table. Logs retain submitted prompts and source text; restrict table access and set an appropriate retention policy. Requirements An n8n instance with Data Tables, LangChain nodes, and a reachable production webhook. An OpenRouter account and credential, or replacement model credentials configured in the model nodes. A secure way to issue and privately deliver a personal token to each user. Customization Replace GPT 6 Luna and Gemini 3.8 Flash with other models or providers while keeping the small and big contract for callers. For per-call model selection, measured cost, reasoning effort, or other model types, replace the model branch with direct OpenRouter API calls. This is an extension to the two-model template. Replace the users table with your own identity store. A separate onboarding workflow could deliver tokens through a private Slack DM after verifying the requester's identity. Additional info jsonSchema is a JSON-encoded string, not a nested object. Send one aiMode per request. Limit to 50 silently drops extra calls, and individual calls may fail without a usable output. The response echoes inputs under query. The logs table stores all submitted calls, including those beyond the 50 processed items, with prompts and source text. Restrict access and retention. Model outputs and measured cost are not in the log. OpenRouter docs: https://openrouter.ai/docs/quickstart. An n8n automation workflow template by Guillaume Duvernay.
- 4 nodes
- Automation
- AI
By SkipPlay
Quick overview This workflow generates long-form developer SEO articles using OpenAI, publishes them to a website API, and pings IndexNow for fast indexing, running either on a 2-day schedule or via an on-demand webhook. How it works Runs every 2 days on a schedule or receives an on-demand POST request via a webhook. Selects a predefined Suno API keyword/topic (or uses webhook-provided overrides) and prepares the article brief and target slug. Calls the OpenAI Chat Completions API to generate a structured JSON SEO article including markdown content and FAQs. Parses the AI output, computes word count, and generates Schema.org JSON-LD for TechArticle, FAQPage, and BreadcrumbList. Publishes the article payload (content, metadata, and schemas) to the sunoapi.top blog publishing endpoint if basic quality checks pass. Sends the published URL to the IndexNow API for near-instant search engine indexing and returns a JSON status response to the webhook caller. Setup Add an OpenAI API key (or compatible provider key) and replace the Authorization header value in the OpenAI HTTP request. Configure the publishing secret by setting the x-sync-secret header value expected by your https://sunoapi.top/api/blog/publish endpoint. If you use IndexNow, set your IndexNow key and keyLocation URL in the IndexNow request body and host the key file at that location. If triggering externally, copy the webhook URL for the POST /sunoapi-generate-content endpoint and configure the calling system to send optional topic/keyword override fields. An n8n automation workflow template by SkipPlay.
- 2 nodes
- Automation
By Webz.io
Quick overview This workflow runs daily at 08:00 to search Webz.io news for multiple topics, uses OpenAI GPT-4.1-mini to curate a structured digest, posts the digest to Slack, and archives each selected story to Google Sheets. How it works Runs every morning at 08:00 based on the workflow timezone. Reads the digest configuration (topics list, lookback days, article count, and Slack channel) and splits it into one item per topic. For each topic, uses OpenAI GPT-4.1-mini to call the Webz.io news search tool and select up to five significant articles, returning structured fields (headline, publisher, why it matters, URL). Merges all topic results, removes duplicate URLs across topics, and formats a single Slack-ready digest message while building a per-story archive dataset. If there are no stories across all topics, the workflow stops without posting or archiving anything. If there are stories, posts the digest to the configured Slack channel and appends one row per story to Google Sheets. Setup Add an OpenAI credential to the OpenAI Chat Model node (or replace the model with another tool-calling chat model). Create a Bearer Auth credential with your Webz.io API token and attach it to the Webz.io news search node. Add a Slack credential with chat:write and channels:read, invite the bot to your target channel, and set the channel name in Digest settings. Add a Google Sheets OAuth credential, select the target spreadsheet and sheet, and ensure it has headers: date, topic, headline, publisher, why_it_matters, url. Update Digest settings with your comma-separated topics, lookback window, and article count, and set Workflow Settings → Timezone so the 08:00 schedule matches your local time. An n8n automation workflow template by Webz.io.
- 7 nodes
- Automation
- AI
By Zvid
Quick overview For event organizers using self-hosted n8n: turn a Google Sheets calendar or Eventbrite events into branded vertical announcement, seven-day reminder and final-call videos. Zvid renders each due video, records completed links and provides a gated Watch video preview. How it works Run manually or on the daily 8am schedule. Config supplies branding, reminder timing, timezone offset and optional background music. Check the music URL before building the video. Unreachable or oversized music is disabled so the workflow can continue without it. Read the Google Sheets event calendar or the first 50 live events from the configured Eventbrite organization. Skip past events and events with no video due today. Choose the due video: a final-call reminder one day before the event, a seven-day reminder by default, or an initial announcement. Existing output cells or the Eventbrite send ledger prevent repeated videos. The default limit is one render per run. Build a vertical 1080×1920 Zvid project with event details, branding and optional music, then validate it with the Zvid node before submission. With the default dryRun=false, submit a paid render and poll for completion within bounded limits. Optional dryRun=true saves a draft only when the installed Zvid node supports Project → Create; released v0.1.8 does not support that optional branch. After completion, write Status and the matching PromoUrl, Video7d or Video1d cell in Google Sheets, or update the Eventbrite ledger. The gated Watch video step downloads completed media; open Binary → data → View. The finished URL remains available if downloading fails. Setup Use self-hosted n8n. Before configuring Zvid credentials, install @zvid/n8n-nodes-zvid from Settings → Community nodes; a workspace owner/admin may need to install it. Create an API key at https://app.zvid.io/api-keys and select a Zvid credential with base URL https://api.zvid.io on every Zvid node. For Google Sheets, connect OAuth credentials and select the same spreadsheet and tab in both Sheets nodes. Add these headers: EventName, DateISO, Venue, City, TicketUrl, ImageUrl, Status, PromoUrl, Video7d, Video1d. Enter EventName and a future ISO date/time in DateISO. Leave Status, PromoUrl, Video7d and Video1d empty for a new event. In Config, select source=sheet, set branding and timezoneOffsetHours, and keep maxRendersPerRun=1 for the initial test. Leave todayOverride empty for the real date; use it only for a deliberate rehearsal. Past events are skipped, and reminders run on their configured due day. For the optional Eventbrite source, set source=eventbrite and eventbriteOrgId, then select an HTTP Bearer Auth credential on Fetch Eventbrite. This template reads the first 50 live events and tracks completed sends in workflow data. Use licensed, publicly accessible images and music within your Zvid plan limits; the default fallback image is 1080×1440. Run the manual trigger and inspect Watch video before activating the daily schedule. dryRun=false spends Zvid credits; the tested default video used about 14 credits. Draft mode requires Project → Create support, absent from released v0.1.8. Requirements Self-hosted n8n with @zvid/n8n-nodes-zvid installed; a Zvid API key and rendering credits; Google Sheets OAuth credentials and an event calendar, or an Eventbrite bearer token and organization ID; rights to all supplied media. Customization Change brand colors, fonts, event copy, fallback image, music and firstReminderDays in Config. Set timezoneOffsetHours for your event calendar. Keep the single-render default while testing, then adapt throughput deliberately to your Zvid plan. Additional info Social publishing is not included. To intentionally render a test event again, clear only that row’s Status and the matching output cell; past events still remain ineligible. The scheduled and manual render path uses dryRun=false. Optional draft previews require a Zvid node version with Project → Create support; released v0.1.8 does not expose it. Full setup and field reference: https://github.com/Zvid-io/zvid-n8n/blob/master/workflows/event-countdown-videos.md Zvid help: https://zvid.io/contact. An n8n automation workflow template by Zvid.
- 3 nodes
- Automation
By DataDrifter
Quick overview This workflow runs nightly to inventory your WordPress plugins and themes via the WordPress REST API, checks them against the WPScan vulnerability database within your API quota, stores scan history in an n8n Data Table, and emails a report of any applicable issues. How it works Runs every night at 03:30 on a schedule. Validates the scan settings (site URL, email addresses, and per-run lookup limit) and fetches the remaining daily API quota from WPScan. Retrieves the installed plugins and themes from the WordPress REST API and loads prior check timestamps from an n8n Data Table. Selects which components to scan based on the available quota, prioritizing active components and those checked least recently. Queries WPScan for each selected component and filters vulnerabilities to only those that affect the installed version. Upserts the results (including last checked time and findings) into the wpscan_scan_history Data Table. Builds a plain-text report (including items not checked or lookup failures) and sends it by SMTP email when configured to do so. Setup Create an n8n Data Table named wpscan_scan_history with String columns component, kind, slug, version, last_checked, findings and a Number column affected_count. Add a WordPress Application Password for an administrator user and configure an n8n HTTP Basic Auth credential for the WordPress REST API requests. Create a WPScan API token and configure an n8n Header Auth credential with Authorization: Token token=YOUR_TOKEN. Add an SMTP credential for the email node and set the allowed sender address. Update site_url, notify_email, notify_from, and (optionally) wp_core_version, max_lookups_per_run, and alert_only_on_findings in the Scan settings before activating the workflow. Requirements A WordPress site with the REST API reachable from n8n A WordPress administrator account (for the Application Password) A WPScan API token (free tier: 25 lookups a day) n8n with Data tables, and an SMTP server for the report Customization Set wp_core_version to include WordPress core in the scan Set alert_only_on_findings to true to email only when something is found Raise max_lookups_per_run if you have a paid WPScan plan Change the time in the schedule trigger Additional info This is a known-vulnerability check, not a malware scanner, firewall or penetration test. The Application Password is administrator-level because listing plugins requires it; revoke it when you stop using this workflow. Full setup guide: https://datadrifter.io/wordpress-plugin-vulnerabilities-wpscan-api/. An n8n automation workflow template by DataDrifter.
- 3 nodes
- Automation
By Takahiro Shimizu
Quick overview This workflow turns a LINE Official Account into a plant care assistant that can analyze plant photos and answer follow-up questions, using Google Gemini for AI responses and n8n Data Tables to store plant profiles, observations, conversation history, and the user’s language preference. How it works Receives an incoming LINE Messaging API webhook event and routes it based on whether the message is an image or text. For image messages, downloads the image from the LINE content API and loads the user’s active plant, preferred language, and recent conversation history from n8n Data Tables. Sends the image and context to Google Gemini to identify the plant (or defer when uncertain) and assess visible health symptoms, possible causes, and care advice. If the image matches the active plant, keeps the existing plant identity; if it is a new plant, upserts a plant profile and updates the user’s active plant; if uncertain, asks for a better diagnostic photo without changing the active plant. Stores the image-based analysis as a plant observation in an n8n Data Table and replies to the user in LINE with a formatted summary and confidence. For text messages, loads the user’s active plant, recent observations, and conversation history, then asks Google Gemini to generate a contextual reply. Saves the user and assistant messages to conversation history, updates the saved preferred language only when the user explicitly requests a language change, and replies in LINE. Setup Create a LINE Official Account, enable the Messaging API, and configure the webhook URL to point to the workflow’s production webhook path (plantcare-line-webhook). Add a LINE Messaging API channel access token as an HTTP Header Auth credential in n8n and use it for the LINE content download and reply requests. Add a Google Gemini (Google PaLM) API credential for the two Gemini nodes used for image analysis and chat responses. Create four n8n Data Tables named plant_users, plants, plant_observations, and conversations with the columns used in the workflow, and select the correct table IDs in each Data Table node. An n8n automation workflow template by Takahiro Shimizu.
- 2 nodes
- Automation
- AI
By MADIAD
Quick overview This workflow auto-replies to Facebook Page comments using an OpenRouter-powered AI Agent with Postgres chat memory and a Supabase vector knowledge base, while keeping that knowledge base synced from PDFs in Google Drive (new, updated, and deleted files). How it works Receives Meta webhook requests and returns the hub.challenge value to complete Facebook webhook verification when required. Extracts the incoming Facebook comment details, ignores non-comment events, and skips comments authored by the Page itself to prevent reply loops. Fetches the original Facebook post message via the Facebook Graph API to provide context for the reply. Uses an AI Agent backed by an OpenRouter chat model, Postgres chat memory (per post and user), and a Supabase vector-store retrieval tool to draft a concise response. Posts the AI-generated text back to Facebook as a reply to the specific comment via the Facebook Graph API. Monitors Google Drive folders for PDF creations, updates, and “trash” events, then extracts text, generates OpenAI embeddings, and inserts or deletes matching vectors in Supabase to keep the knowledge base in sync. Setup Create and connect Facebook Graph API credentials, subscribe your Facebook App/Page to the webhook, and configure Meta to call this workflow’s webhook URL. Add an OpenRouter API credential and select the model you want the AI Agent to use. Add Postgres credentials and ensure the database is reachable for storing chat history sessions. Add Supabase credentials, create a documents table for vector storage, and ensure the vector store configuration matches your embeddings. Add Google Drive OAuth credentials and update the folder IDs to the Drive folders you want to watch for new PDFs, updated PDFs, and trashed files. An n8n automation workflow template by MADIAD.
- 9 nodes
- Automation
- AI
By WIKIIII
Quick overview This workflow reads video prompts from Google Sheets, generates an AI video using Google Veo3 via fal.run, saves the file to Google Drive, creates an SEO-friendly title with OpenAI, uploads the video to YouTube via upload-post.com, and writes the video and YouTube links back to the sheet. How it works Starts manually and fetches rows from Google Sheets where the VIDEO column is empty. Builds a generation prompt from the sheet data and submits it to fal.run (Google Veo3) to create a video. Waits and polls fal.run for the video request status until it returns COMPLETED. Retrieves the completed video URL from fal.run and uses OpenAI (gpt-4o-mini) to generate a YouTube-optimized title from the original prompt. Downloads the video file, uploads it to Google Drive, and updates the originating Google Sheets row with the fal.run video URL. Sends the video file and generated title to upload-post.com to upload it to YouTube, then updates the same Google Sheets row with the resulting YouTube URL. Setup Add Google Sheets OAuth2 credentials and set the target spreadsheet/document and sheet tab used for reading and updating rows. Create a fal.ai account, add an HTTP Header Auth credential with Authorization: Key , and ensure it is selected on the Veo3 HTTP requests. Add OpenAI credentials for the title-generation step and select the model you want to use. Create an upload-post.com API key, add an HTTP Header Auth credential with Authorization: Apikey , and replace YOUR_USERNAME in the upload request with your upload-post profile username. Set the Google Drive OAuth2 credential and choose the destination folder where uploaded videos should be stored. An n8n automation workflow template by WIKIIII.
- 4 nodes
- Automation
- AI
By Pavel Zamorev
Quick overview This workflow runs daily (or manually) to check Apple App Store search rankings for a configured keyword list using SerpApi, then appends each keyword’s rank, result count, group, and date to a Google Sheets tab for ongoing ASO tracking. How it works Runs on a daily schedule or via a manual trigger for testing. Builds a queue of keywords and settings (including SerpApi API keys, App Store app ID, locale, and Google Sheets IDs) from an in-workflow configuration. Processes keywords one at a time and waits 1 second between requests to reduce the chance of hitting rate limits. Queries the SerpApi Apple App Store Search API for each keyword and requests up to the configured number of results. Parses the SerpApi organic results to find your app’s position by matching the configured App Store ID, or records a value like ">N" (or "ERROR") when not found or when the API returns an error. Appends one row per keyword to Google Sheets with keyword, group, position, apps (results count), and date. Setup Create a SerpApi account and add one or more SerpApi API keys in the workflow configuration (replacing the placeholder values) and enable at least one keyword group. Set your numeric Apple App Store app ID, storefront country/language, and desired result limit in the configuration. Create a Google Sheets spreadsheet with a tab named position and columns keyword, group, position, apps, and date, then paste the spreadsheet ID into the configuration. Connect your Google Sheets OAuth2 credentials in the Google Sheets append step. Run the workflow once with the manual trigger to confirm rows append correctly, then enable the daily schedule if desired. An n8n automation workflow template by Pavel Zamorev.
- 3 nodes
- Automation
By youssef farhan
Quick overview This workflow runs every morning to scrape new Spitogatos.gr property listings via Apify, logs each new listing (including agent phone details and key property metrics) to Google Sheets, and sends a single Telegram message summarizing the listings that match your price-per-m² or price-cut criteria. How it works Runs every day at 08:00 on a schedule. Builds the Spitogatos.gr search parameters (locations, listing type, property type, price/size filters, and time window) from the configured values. Uses Apify (Spitogatos.gr Scraper actor) to fetch listings first published within the selected period. Skips listings that were already sent in previous executions by deduplicating on the listing ID. Formats each new listing into a structured record with price, area, €/m², rooms, floor, year built, neighbourhood/region, agent/agency details, phone, and the listing link. Appends every formatted listing as a new row in Google Sheets. Filters the listings to keep only deals that match your max €/m² threshold or have a price cut (when enabled), then aggregates them into a single payload. Sends one Telegram message (up to 20 listings) with clickable links and key details, noting if more results are available in Google Sheets. Setup Create a free Apify account (https://apify.com/?fpr=youssef) and connect it in the Apify node with OAuth or an API token. The workflow runs the Spitogatos.gr Scraper actor (ID: aAohRNwnunh3U1L6d). Connect Google Sheets credentials and paste your target Google Sheet URL into the workflow configuration (the value used for the Google Sheets document). Create a Telegram bot with @BotFather, connect Telegram credentials in n8n, and set your target Telegram chat ID in the workflow configuration. Update the search filters (locations, listingType, propertyType, priceMax, areaMin, roomsMin, postedWithin, and maxPages) and optionally set maxPricePerM2 and alertOnPriceCuts before activating the workflow. Requirements An Apify account (https://apify.com/?fpr=youssef), the free plan works. Google Sheets and a Telegram bot connected in n8n. Customization Set maxPricePerM2 (for example 2500) to be alerted only about listings under that price per square metre; use rent in listingType to track rentals instead of sales; add more areas in English or Greek, separated by commas; swap the Telegram node for Slack, Discord or Gmail. Additional info Area names work in English or Greek (Kolonaki, Kolonaki (Thiva), Glyfada), and the results carry the agency name, contact name and phone number, so you can call the agent directly. Skip listings already sent is n8n’s Remove Duplicates node keyed on the listing id, so a daily schedule never repeats a home. Actor page and full input docs: https://apify.com/fayoussef/spitogatos-scraper?fpr=youssef Need a custom version or another data source? See https://automationbyexperts.com. An n8n automation workflow template by youssef farhan.
- 2 nodes
- 2 views
- Automation