GenAiHub

Workflows

Browse 14,312 Workflows

Workflows Guide

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.

1489–1536 of 14,312

Hassan logo
Chase unpaid invoices with Google Sheets, Gmail, and Claude
Live

By Hassan

Quick overview This workflow runs on a schedule or manually to read unpaid invoices from Google Sheets, checks recent client email history in Gmail, uses Anthropic Claude to decide whether to send or pause reminders, then drafts or sends reminder emails and emails you a daily digest with optional action links. How it works Runs on a weekday schedule, a manual trigger, or via a webhook link used for digest actions. On scheduled runs, reads invoice rows from Google Sheets and selects which clients need a follow-up today based on due dates, status, snoozes, and minimum spacing between reminders. For each client, pulls recent related Gmail messages and builds a cleaned conversation timeline plus a filled reminder template for the appropriate follow-up step. If the situation is unclear, sends the context to Anthropic Claude to choose SEND, SNOOZE, ESCALATE, or SKIP and optionally rewrite the reminder body, then applies guardrails to prevent missing invoice IDs, links, or placeholders. Sends the reminder via Gmail or saves it as a Gmail draft depending on the auto-send setting, or updates the invoice status for snoozes/escalations/skips. Writes results back to Google Sheets per invoice (last step sent, last follow-up date, snooze date, status, and notes) and emails you an HTML daily digest in Gmail summarizing outcomes with optional one-tap action links. Setup Create a Google Sheet with the required invoice columns (for example using the provided template) and add Google Sheets credentials, then paste the sheet URL and tab name into the Config node. Add Gmail credentials for reading history, creating drafts/sending reminders, and sending the digest, and set the digest recipient (ownerEmail) plus sender/business names in Config. Add an Anthropic credential for the Claude model used for reminder decisions and edits. Verify your sheet’s due-date format matches sheetDateFormat/timezone in Config and start with autoSend set to false to review drafts before enabling sending. (Optional) Publish the workflow and set actionLinkUrl to the production webhook URL plus a long random actionSecret to enable Paid/Snooze/Stop buttons in the digest. An n8n automation workflow template by Hassan.

N8nUpdated 16 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Hassan logo
Handle WhatsApp HVAC reception with Gemini, Claude, and Meta WhatsApp API
Live

By Hassan

Quick overview This workflow acts as a WhatsApp AI receptionist: it receives text, voice notes, and photos via WhatsApp Cloud API, transcribes audio and describes images through OpenRouter, then uses Anthropic Claude with PostgreSQL chat memory to reply, splitting long answers into up to three WhatsApp messages. How it works Triggers when a new WhatsApp message is received. Routes the inbound message by type, passing text through, transcribing voice notes via OpenRouter (Gemini), and describing photos via OpenRouter (Claude) while preserving any image caption. Stores the resulting normalized text plus the business phone number in an n8n Data Table inbox. Waits briefly to allow the customer to send multiple rapid messages, then checks whether this run is the newest message for that phone number. If it is the newest, collects all saved lines for that phone number, clears them from the Data Table, and marks the WhatsApp message as read while showing a typing indicator. Sends the merged message to a LangChain agent powered by Anthropic Claude with PostgreSQL chat memory and optional SerpAPI web search and calculator tools. Splits the agent’s reply into up to three short messages and sends them back to the customer via the WhatsApp Cloud API. Setup Connect WhatsApp Cloud API credentials (Facebook Graph API header auth) and configure the WhatsApp webhook URL from the trigger in your Meta app. Create an n8n Data Table named “whatsapp inbox” with phone (string) and text (string) columns, or update the workflow to use your own Data Table ID. Add an OpenRouter API key (HTTP Header Auth) for the transcription and image-description requests. Add Anthropic credentials for the Claude chat model used by the agent. Provide a PostgreSQL connection (for example via Supabase) and ensure the whatsapp_chat_history table exists for chat memory storage. (Optional) Add SerpAPI credentials if you want the agent to use web search, and confirm your WhatsApp phone_number_id is available in incoming webhook metadata for sending replies. Additional info i need the title to change to this: AI WhatsApp receptionist with Claude: It read text, voice notes & photos, with memory. and who is it for section to be this: Who's it for Service businesses, agencies and support teams who get customer questions on WhatsApp Business and want an AI receptionist that handles more than plain text. The prompt ships with a demo HVAC company, but the flow works for any business that answers questions and takes bookings over chat. An n8n automation workflow template by Hassan.

N8nUpdated 16 hours ago
Free
No ratings
  • 8 nodes
Workflows
  • Automation
  • AI
Ma
Manage adaptive API rate limiting with a webhook proxy and Redis
Live

By Oneclick AI Squad

Quick overview This workflow exposes a webhook that proxies calls to approved upstream APIs and enforces per-service rate limits in Redis, dynamically adjusting limits based on 429/Retry-After and X-RateLimit-* headers while optionally delaying over-budget requests. How it works Receives a POST webhook request with { service, path, method, payload } to be executed against an upstream API. Validates the requested service and path against an allowlisted service registry and returns a 404 for unknown services or unsafe paths. Loads the service’s current limiter state from Redis, computes the effective request limit, and immediately returns a 429 with Retry-After if an upstream backoff period is still active. Atomically increments a per-window request counter in Redis and either allows the request, delays it until the next window if it can wait, or returns a 429 when it is over budget. Calls the target upstream API with an HTTP request and inspects the response status and rate-limit headers. Updates the adaptive limiter state in Redis using AIMD rules and returns the upstream result (or an upstream 429) with rate-limit and throttle metadata. Setup Add a Redis credential and select it on all Redis nodes used for reading/writing limiter state and window counters. Update the service registry values (base URLs, limits, window seconds, optional headers, and max wait) in the configuration step to match the APIs you want to proxy. Send callers to the workflow’s POST webhook URL (/webhook/rate-limit-manager) and include { service, path, method, payload } in the request body. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Pr
Protect external API calls with a webhook circuit breaker and Redis
Live

By Oneclick AI Squad

Quick overview This workflow exposes a webhook-based circuit breaker that routes requests to approved external APIs, tracks failures per service in Redis, and temporarily blocks calls when failure thresholds are exceeded, optionally sending an alert to a Slack-compatible webhook. How it works Receives a POST webhook request with a service name plus the target path, method, and payload. Validates the service against a configured allowlist, builds the target URL, and rejects unknown services or unsafe paths with a 404 response. Reads the service’s circuit state from Redis and either allows the call, rejects immediately with 503 and a Retry-After header, or enters a half-open state after the cool-down. If half-open, claims a single probe slot in Redis so only one request tests recovery while others receive 503. Calls the external API with a configured timeout and classifies failures as network/timeout errors, HTTP 5xx, or HTTP 408 (while other 4xx responses do not count as service failures). On success, returns the upstream response and closes the circuit in Redis if the request was a half-open probe. On failure, increments a Redis failure counter, opens the circuit when the threshold is reached (or on a failed probe), optionally posts an alert via an HTTP webhook, and returns a 502 response describing the failure and circuit status. Setup Configure Redis credentials for every Redis step and ensure your Redis instance is reachable from n8n. Update the service registry in the configuration (service name to base URL, with optional per-service thresholds and open duration) so only approved APIs can be called. Adjust default thresholds and timeouts (failure threshold/window, open duration, request timeout) to match your reliability requirements. If you want notifications, set an alertWebhookUrl for a Slack-compatible incoming webhook endpoint. Copy the production webhook URL for the circuit breaker endpoint and update your calling workflows/apps to send POST requests with { service, path, method, payload }. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Re
Resume failed workflow runs from checkpoints with Postgres and Slack
Live

By Oneclick AI Squad

Quick overview This workflow implements a checkpoint-and-resume system for a multi-stage pipeline, storing stage outputs in Postgres and sending failure/recovery alerts to Slack, with manual, webhook, and scheduled triggers to start runs and automatically resume failed or stalled executions. How it works Starts a new run via Manual Trigger, receives a POST request via webhook, or runs every 10 minutes on a schedule to sweep for resumable runs. Ensures the required Postgres tables for runs, checkpoints, and run events exist. For scheduled sweeps, queries Postgres for failed runs whose retry time has passed or running runs whose lease expired, then calls this workflow’s webhook to resume each run. For manual/webhook runs, loads the run state and completed checkpoints from Postgres, restores prior stage outputs into context, and determines the first stage that still needs to run. Acquires a lease-based lock in Postgres to ensure only one execution owns the run, and exits if the run is already completed or currently locked by another execution. Executes the pipeline stages in order (validate order, reserve inventory, charge payment, create shipment, send confirmation), saving a Postgres checkpoint and event after each successful stage. On stage failure, retries the stage inline with exponential backoff when allowed, otherwise marks the run as failed or dead-lettered in Postgres and sends a Slack alert, and on completion marks the run completed and optionally posts a Slack recovery notification when resuming from checkpoints. Setup Add Postgres credentials for the database where the workflow can create and update the workflow_runs, workflow_checkpoints, and workflow_run_events tables. Add Slack credentials and set the target Slack channel in the configuration (and update the Slack nodes if you want a different channel behavior). Update the selfWebhookUrl value in the configuration to this workflow’s production webhook URL ending in /webhook/checkpoint-run so the sweeper can trigger resumes. If you want crash notifications, enable the Error Trigger node and set this workflow as the Error workflow in your n8n instance settings. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Hide logo
Curate GitHub release blog drafts with Claude, WordPress, and Google Sheets
Live

By Hide

Quick Overview This workflow runs daily, fetches the latest n8n GitHub releases, and uses Anthropic Claude to decide which ones are newsworthy and turn them into Japanese WordPress draft posts. It tracks processed and skipped releases in Google Sheets and optionally sends a LINE broadcast with an edit link. How it works Runs every day at 8:00 (Asia/Tokyo) and loads the blog configuration values used for writing and linking. Reads previously processed release tag names from Google Sheets and fetches the 10 most recent releases from the n8n GitHub repository. Filters out already-processed, non-version tags, drafts, and releases without a “Features” section, then keeps the three newest candidates. Sends each candidate’s extracted feature notes to Anthropic Claude to judge whether it is worth writing about and parses Claude’s JSON decision. If the release is not worth an article, appends it to Google Sheets as skipped with the reason so it is not rechecked. If the release is worth an article, asks Anthropic Claude to generate a Japanese HTML blog draft, creates a WordPress draft post in the configured category, and logs the post ID to Google Sheets. Optionally sends a LINE broadcast message containing the new draft title and a direct WordPress admin edit link. Setup Add credentials for GitHub, Google Sheets (OAuth2), WordPress, and an Anthropic API key (HTTP Header Auth) used by both Claude HTTP requests. Create and configure a Google Sheets document (or update the document ID/sheet) to store processed and skipped releases with columns like tag_name, title, post_id, and postedAt. Update the GitHub releases API URL if you want to curate releases from a different repository. Open “Config (edit me)” and set your blog name, persona, WordPress site URL, and the target WordPress category ID. (Optional) Add a LINE Messaging API channel access token (HTTP Header Auth) and ensure broadcasting is enabled, or remove the LINE step if you do not need notifications. An n8n automation workflow template by Hide.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
MADIAD logo
Run a RAG Messenger chatbot with Facebook, Google Drive, Supabase, OpenAI and OpenRouter
Live

By MADIAD

Quick overview This workflow powers a Facebook Messenger chatbot that batches incoming user messages, answers with an OpenRouter chat model using RAG retrieval from a Supabase vector store, and keeps the knowledge base synced from PDFs in Google Drive (add, update, and delete). How it works Receives Facebook Messenger webhook requests (including the initial webhook verification challenge) and ignores messages sent by the page itself. Extracts the sender, page, and message text, then stores each incoming message in an n8n Data Table keyed by the sender ID. Re-checks the sender’s pending messages until the latest message is at least 10 seconds old, then combines all pending messages into a single prompt. Sends the combined prompt to an AI agent backed by an OpenRouter chat model, using Supabase Vector Store retrieval as a tool and Postgres chat memory for conversation context. Posts the agent’s response back to the user through the Facebook Graph API. Triggers on new PDFs in a specified Google Drive folder, downloads and extracts text, chunks the content, generates OpenAI embeddings, and inserts the vectors into a Supabase documents table. Triggers on updated PDFs in a specified Google Drive folder, deletes existing vectors matching the file name, then re-downloads, re-extracts, re-chunks, re-embeds, and re-indexes the updated content in Supabase. Triggers when a file appears in a Google Drive Trash folder, deletes matching vectors from Supabase, and then deletes the file from Google Drive. Setup Create a Facebook Page and Meta app, configure the Messenger webhook to point to this workflow’s webhook URL, and add Facebook Graph API credentials with permission to send messages. Connect Google Drive OAuth and set the correct folder IDs for the “new file”, “updated file”, and “trash” triggers. Set up Supabase (with pgvector) and a documents table, then add Supabase API credentials used for vector upserts and deletes. Add an OpenAI API key for embeddings and an OpenRouter API key for the chat model used by the AI agent. Provide a Postgres database for chat memory and ensure the n8n Data Table named conversations exists for temporary message batching storage. An n8n automation workflow template by MADIAD.

N8nUpdated 16 hours ago
Free
No ratings
  • 10 nodes
Workflows
  • Automation
  • AI
Chandler Etienne logo
Run an AI phone receptionist with CallNode and OpenAI
Live

By Chandler Etienne

Quick overview This workflow turns a CallNode phone number into an AI receptionist by sending live call transcripts to OpenAI and returning short spoken replies, with optional call transfer and automatic hangup handling. How it works Receives CallNode conversational webhook events for a live phone call (speech transcripts or keypad presses) via an authenticated webhook. Builds a caller message from the transcript or DTMF input and passes it to an OpenAI-powered agent with business and time context. Uses per-call memory keyed by the CallNode callId so the assistant keeps conversational context across turns. Converts the agent output into CallNode reply fields, stripping control tags and setting hangup or transfer flags when the AI includes [hangup] or [transfer]. Responds to CallNode with replyText (and optional transfer destination) so CallNode speaks the reply, ends the call, or transfers to a human. Setup Create a CallNode account, purchase a phone number, and configure the number to send conversational webhook events to this workflow’s Production webhook URL. Create an n8n Header Auth credential that matches the CallNode custom header name/value (for example, X-CallNode-Secret) and select it on the webhook trigger. Add an OpenAI API credential for the OpenAI Chat Model node and choose the model you want to use. Update the Settings values (businessName, timezone, and optionally transferNumber in +1XXXXXXXXXX format) and customize the “ABOUT YOUR BUSINESS” section in the system message. Requirements To test, import each file into n8n and follow its "Start here" note. The outbound one needs a Live API key, because a Test key never reaches the workflow. An n8n automation workflow template by Chandler Etienne.

N8nUpdated 2 months ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
  • AI
Tr
Trace simulated card charges with OpenTelemetry and Jaeger
Live

By Elvis Sarvia

Quick overview This workflow simulates a card charge so you can send n8n's OpenTelemetry spans to a local Jaeger collector and compare a successful run with a deliberate failure. It needs no LLM credential. It is Exercise 3 from the n8n Production AI Playbook on Audit & Trace. How it works Receives a POST webhook request with a requestId and amount. Validate Amount, an If node, sends invalid amounts to Reject Request, a Stop and Error node. Normalize Request, an Edit Fields node, converts the amount to cents. Charge Card, an If node, routes requests with trigger_failure to Decline Charge, a Stop and Error node that fails with card_declined. Capture Charge records the successful charge, and Respond returns it. Setup Run Jaeger locally (image jaegertracing/jaeger:2.20.0 with ports 16686 and 4318) and expose port 4318 with cloudflared tunnel --url http://localhost:4318. As an instance owner or admin, open Settings > OpenTelemetry, enter the tunnel URL as the OTLP endpoint, set the sample rate to 1, turn off Track published workflows only, and enable tracing. Select Execute workflow and POST {"requestId":"REQ-3001","amount":49.99}, then {"requestId":"REQ-3002","amount":49.99,"trigger_failure":true}. In Jaeger, search the tag n8n.execution.id with each execution ID and inspect the spans. Requirements n8n Cloud or a self-hosted n8n instance, with owner or admin access to Settings > OpenTelemetry Docker Desktop to run Jaeger locally cloudflared to give n8n Cloud an HTTPS address for the local collector Customization Send spans to your existing OpenTelemetry collector instead of a local Jaeger instance. Additional info OpenTelemetry tracing in n8n is in Preview. No payment provider is called. An n8n automation workflow template by Elvis Sarvia.

N8nUpdated 16 hours ago
Free
No ratings
  • n8n workflow template
Workflows
  • Automation
Ta
Tag and log AI refund decisions as searchable execution data with OpenRouter
Live

By Elvis Sarvia

Quick overview This workflow applies a demo refund policy, asks an AI agent to explain the decision, and saves the case and the final decision as custom execution data so you can find the run later. It is Exercise 2 from the n8n Production AI Playbook on Audit & Trace. How it works Receives a POST webhook request with an orderId, customerTier and message. Order Lookup returns a simulated order record. Policy Decision, an Edit Fields node, selects refund_approved, refund_declined or needs_human_review from the record. Check Tag Length, an If node, sends values over 255 characters to Reject Oversized Tag, a Stop and Error node. Tag Execution, an Execution Data node, saves the case details as custom data. Refund Support Agent explains the decision using an OpenRouter chat model. Record Decision saves the final decision as custom data, and Build Reply returns the response. Setup Add an OpenRouter API credential to OpenRouter - Support. The template uses openai/gpt-4.1-mini, and any supported chat model works. Select Execute workflow and POST {"orderId":"ORD-1001","customerTier":"gold","message":"Please refund this order."} to the Webhook Test URL. Repeat with ORD-1002 and ORD-9999, selecting Execute workflow before each request. The decisions should be refund_approved, refund_declined and needs_human_review. Open each saved execution to inspect the custom data. Filtering the executions list by custom data requires n8n Cloud Pro or Enterprise. Requirements n8n Cloud or a self-hosted n8n instance An OpenRouter API key n8n Cloud Pro or Enterprise to filter executions by custom data (optional) Customization Replace Order Lookup with your own order API and change the Policy Decision expression to match your refund policy. Additional info All order records are synthetic and no payment is processed. An n8n automation workflow template by Elvis Sarvia.

N8nUpdated 16 hours ago
Free1 uses
No ratings
  • 3 nodes
  • 1 views
Workflows
  • Automation
  • AI
Takahiro Shimizu logo
Clean travel photos by removing people with Google Gemini and Google Drive
Live

By Takahiro Shimizu

Quick overview This workflow provides an upload form that analyzes travel photos with Google Gemini, removes all people or only unselected people, then uploads the cleaned images to Google Drive and returns a results page with preview thumbnails and download links, automatically deleting temporary files after 24 hours. How it works Receives photo uploads and mode/language choices from an n8n Form trigger. Splits the uploaded files into individual photo items and uses Google Gemini to detect and describe real people in each image. Skips image editing and keeps the original photo when no people are detected. If “Remove all people” is selected, uses Google Gemini image editing to remove every detected real person from each photo. If “Keep selected people” is selected, uploads preview images to Google Drive, shows a second form to choose which people to keep per photo, and then uses Google Gemini image editing to remove only the unselected people. Restores the original upload order, uploads the final images to Google Drive, shares them publicly, and displays a results gallery with download links. Waits 24 hours and then deletes the temporary Google Drive files created for delivery. Setup Add Google Gemini (Google PaLM) API credentials for both image analysis and image editing. Add a Google Drive OAuth2 connection and choose the Drive/folder to store the temporary preview and result files. Activate the workflow and open the production URL generated by the “Photo Upload Form” trigger. When “Keep selected people” is chosen, the workflow automatically presents a second form for selecting which detected people should remain. Requirements Google Gemini API credentials configured in n8n. Customization Change the Gemini models used for person detection and image editing to balance image quality, processing speed, and cost. Additional info AI image editing results may vary depending on image complexity, lighting, and how much people overlap with subjects that should remain. When a removed person significantly overlaps with another person, animal, or object, the AI may need to reconstruct hidden areas. Temporary Google Drive files are automatically deleted after 24 hours. An n8n automation workflow template by Takahiro Shimizu.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
  • AI
Ex
Extract website markdown and source chunks with Apify and HTTP Request
Live

By valdeir

Quick overview Prepare public website passages for account research or retrieval workflows. This manual template uses Mako’s Web Content Crawler on Apify, checks coverage, and returns Markdown chunks with source URLs, headings, content hashes and capture times. How it works Runs when you manually execute the workflow and defines 1–10 explicit start URLs plus crawl limits. Starts a bounded Apify Actor run (agency-shift/web-content-crawler) using the Apify REST API. Polls the same run until it finishes, reaches the polling deadline, or a status request fails. The stop path attempts to abort that run; a separate 180-second Actor timeout also applies. Fetches the RUN_SUMMARY report from Apify Key-Value Store and stops if the run failed, coverage is incomplete, or output is truncated/empty. Retrieves the run’s dataset items from Apify and validates each page’s Markdown and chunk schema. Builds and outputs one item per chunk containing the chunk content plus sourceUrl/sectionUrl, heading path, content hash, crawl time, and an oversized flag. Setup Create an Apify account and add an HTTP Header Auth credential in n8n with Authorization: Bearer , then select it in all Apify HTTP Request steps. Update the startUrls list (and any limits like max text length or chunk size) in the configuration step before running. Execute the workflow manually and review the coverage report and any oversized chunk flags before connecting downstream storage, retrieval, or AI steps. Requirements An n8n instance and an Apify account with available credit. The template is free; the author’s Apify Actor is paid. At the checked Free-tier price on 2 October 2026, 512 MB incurs one $0.05 startup event per run, including normal run platform usage. The workflow sets a $0.10 Actor charge ceiling and a 180-second timeout. Post-run data access, storage and n8n hosting can cost extra. No paid AI model or community node is required. Check current Actor pricing before running. Customization Replace the 1–10 public URLs in Configure crawl. Keep explicit page limits and review coverage before adding your own retrieval, storage or AI step. The crawler reads server-rendered HTML and does not render JavaScript, generate answers, create embeddings or write to a CRM. Oversized code and table chunks are retained and flagged. Treat extracted page content as untrusted reference material. Additional info Inspect real output without signing in: https://makorev.com/apis/website-research Detailed setup and support: https://github.com/valdeircs/scraper-fleet/tree/main/examples/website-research The canonical workflow passed a real local n8n 2.41.6 Docker execution: 2 Mako-owned pages, 33 source packets. This submission changes its title, notes and layout only; static comparison confirms the same 16 executable nodes, connections and settings. n8n Cloud UI and customer billing were not tested. The saved sample is dated evidence, not a promise of complete website coverage. An n8n automation workflow template by valdeir.

N8nUpdated 16 hours ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
youssef farhan logo
Score journalist requests and draft press pitches with Apify, OpenAI, Google Sheets and Telegram
Live

By youssef farhan

Quick overview This workflow runs every morning to pull open journalist requests via Apify, score each request with OpenAI against your expertise, log all scores to Google Sheets, and send high-scoring draft pitch replies to you in Telegram. How it works Runs every morning at 8am on a schedule. Uses Apify (Journalist Request Finder) to fetch open-deadline journalist requests from the configured sources and keywords. Skips requests that were already shown in previous workflow executions. Uses OpenAI to score each request (0–100) and generate a short reason and suggested angle based on your profile. Appends every scored request (including low scores) to Google Sheets for tracking and tuning. Filters requests below your minimum score threshold and limits the number of pitches drafted per run. Uses OpenAI to draft a concise reply in your voice using the suggested angle. Sends each draft to Telegram with the request details and a link to respond. Setup Add an Apify connection and ensure you can run the Journalist Request Finder actor in your Apify account. Add an OpenAI API credential and select the model to use for scoring and drafting. Create a Google Sheet for logging results, then paste its URL into the workflow and ensure the target sheet/tab is accessible. Create a Telegram bot, connect Telegram credentials in n8n, and paste your Telegram chat ID into the workflow. Fill in yourName, yourRole and yourCredentials. Both the scoring and the drafts are built entirely from these three fields, so be specific: numbers, years, what you have actually built or measured. A vague profile produces vague pitches. Then set minScore and maxPitches to control how selective the workflow is and what one day can cost. Requirements An Apify account (https://apify.com/?fpr=youssef): the free plan returns 25 requests per run and holds back the last 48 hours, while a paid plan returns every request as soon as it is posted. An OpenAI account for the scoring and drafting, or any other chat model node you prefer. A Google account for Google Sheets. A Telegram bot created with @BotFather, plus your chat id. Customization Raise minScore if you get too many weak matches, lower it if you get too few. The scorer is strict on purpose: on a real run of ten mixed requests against a well-written profile, the best match scored 60 and everything off-topic landed between 10 and 30, so 55 to 65 is the useful band and 70 or above will often return nothing. maxPitches caps what one day costs in tokens and in replies you have to read. Edit the system prompt in Draft the pitch to change the voice, the length or the sign-off. Swap the OpenAI model node for Anthropic, Gemini or any other chat model and nothing else changes. Additional info HARO closed in December 2024 and the source requests that replaced it are scattered, so this pulls SourceBottle call-outs together with the #journorequest hashtag on Bluesky and Mastodon. Three things worth knowing. Every request is written to the sheet with its score and reason, including the ones that fail, which is how you tune minScore rather than guessing at it. Remove Duplicates sits before the scoring step, so a repeat run costs no AI tokens at all. And the drafting prompt requires every number in a pitch to appear verbatim in your credentials and forbids estimating or rounding, because the draft may be sent to a journalist under your name; even so, read each draft before you send it, since no prompt makes that guaranteed. Need a custom version or another data source? See https://automationbyexperts.com. An n8n automation workflow template by youssef farhan.

N8nUpdated 16 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI
MADIAD logo
Reply to Facebook comments using RAG with Google Drive, Supabase, OpenAI and Postgres
Live

By MADIAD

Quick overview This workflow creates a Facebook Messenger chatbot that answers questions using a Supabase vector knowledge base built from PDFs in Google Drive, using OpenRouter for chat responses, OpenAI embeddings for search, and Postgres for conversation memory while keeping the index synced on file create, update, and delete events. How it works Receives Facebook Messenger webhook requests for verification challenges and echoes the hub_challenge back to Meta. Receives incoming Messenger messages, extracts the sender/page IDs and message text, and ignores messages sent by the page to itself. Uses a LangChain AI Agent with Postgres chat memory to embed the user query with OpenAI and retrieve relevant passages from a Supabase vector store. Generates a grounded answer with an OpenRouter chat model and sends the reply back to the user via the Facebook Graph API. Triggers when a new file is created in a specified Google Drive folder, downloads the PDF, extracts text, chunks it, generates OpenAI embeddings, and inserts the vectors into Supabase. Triggers when a file is updated in a specified Google Drive folder, deletes matching vectors in Supabase, then re-downloads, re-extracts, re-chunks, re-embeds, and re-indexes the updated document. Triggers when a file appears in a designated Drive “Trash” folder, deletes matching vectors from Supabase, and permanently deletes the file from Google Drive. Setup Create a Supabase project with a documents table suitable for vector search (pgvector enabled) and add Supabase credentials (project URL and service key) in n8n. Add OpenAI credentials for embeddings and ensure the embedding model matches your Supabase vector dimensions. Add an OpenRouter API credential (or swap in another n8n-supported chat model) and connect it to the agent. Add Postgres credentials and ensure the database is reachable for storing chat sessions keyed by the Messenger sender ID. Connect Google Drive OAuth credentials and update each Google Drive trigger to watch the correct folders for new, updated, and “Trash” files. Add Facebook Graph API credentials (Page access token), configure the webhook URL and verification token in your Meta Developer App, and confirm the workflow uses the correct Page ID and sender ID when sending replies. An n8n automation workflow template by MADIAD.

N8nUpdated 16 hours ago
Free
No ratings
  • 9 nodes
Workflows
  • Automation
  • AI
Au
Audit security questionnaire answers with Google Sheets and Google Drive evidence
Live

By Hasibul Islam

Quick overview This workflow runs manually or on a schedule to audit the freshness of security-questionnaire answers stored in Google Sheets by checking linked Google Drive evidence metadata, updating answer and evidence status fields, maintaining a review queue, and optionally sending a Slack digest of new or changed review items. How it works Runs either on a manual trigger or on a daily schedule. Loads configuration values, then validates that required settings are present before proceeding. Reads the Answers, Evidence, Dependencies, and Review Queue tabs from Google Sheets and validates required columns, IDs, and allowed status values. Deduplicates active, referenced evidence and fetches each linked file’s metadata from the Google Drive API in batches to detect missing, expired, or uncertain evidence. Evaluates each active answer’s freshness based on review intervals, ownership/review flags, and evidence change policies to assign a deterministic state and reason codes. Updates Google Sheets by writing evidence snapshots, refreshing or resolving existing review-queue items, appending new review items, and updating answer control fields. If enabled and there are new or changed items (or configured recoveries), formats and sends a summary digest to a Slack channel. Setup Create a Google Sheets workbook with the required tabs (Answers, Evidence, Dependencies, Review Queue) and exact header columns expected by the workflow. In Set Template Configuration, paste your Google Sheets spreadsheet ID and confirm the tab names and review/notification settings match your workbook. Add Google Sheets OAuth credentials with read/write access to the workbook. Add Google Drive OAuth credentials with access to the evidence files and populate the Evidence tab with each file’s Drive file ID. (Optional) Add Slack OAuth credentials, set your Slack channel ID, and enable SLACK_ALERTS_ENABLED to receive digest messages. Requirements Google Sheets and Google Drive OAuth credentials A Google Sheets workbook with Answers, Evidence, Dependencies, and Review Queue tabs using the required columns documented in the workflow Google Drive file IDs for registered evidence and answer-to-evidence mappings Slack OAuth credential and channel ID only if Slack alerts are enabled Customization Adjust the audit schedule and DEFAULT_REVIEW_INTERVAL_DAYS to match your review policy Adjust EVIDENCE_BATCH_SIZE and MAX_DIGEST_ITEMS for your workload Use SLACK_ALERTS_ENABLED, NOTIFY_ON_RECOVERY, and NOTIFY_ONLY_ON_NEW_OR_CHANGED to control notifications Use per-answer review intervals and dependency change policies to control when evidence changes require review Additional info This workflow identifies freshness risk but does not automatically approve or rewrite security claims. A human must review material evidence changes and reapprove an answer before updating last_approved_at. An n8n automation workflow template by Hasibul Islam.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Ciphernutz IT Services logo
Route critical lab results using Google Sheets, Slack, Gmail, Gemini, and Twilio
Live

By Ciphernutz IT Services

Quick overview A lab result routing workflow that notifies the ordering physician by severity, using thresholds you control. Critical results trigger an immediate Slack and SMS alert with acknowledgment tracking and automatic escalation to a backup physician if unanswered. Abnormal results are emailed, and every outcome is logged for audit. How it works Receives a lab result via an HTTP webhook (or fetches results from an LIS endpoint on a schedule). Loads test limits, doctor contact details, and prior notification history from Google Sheets. Parses incoming JSON or HL7 ORU text, normalizes units (including supported conversions), checks for missing fields, and suppresses duplicates based on the log. Classifies each result as critical, abnormal, normal, duplicate, or needs lab review using the Limits sheet thresholds. Uses Google Gemini to generate a short, non-diagnostic note that restates the severity, value, unit, and required action. For critical results, sends a Slack DM (and a Twilio SMS when a phone number exists) with an acknowledgment link, waits 15 minutes, and escalates to a backup Slack contact if not acknowledged. For abnormal results, sends an email via Gmail to the ordering doctor. Posts unroutable items or delivery failures to a lab Slack channel and appends all statuses and messages to a Google Sheets Log tab. Setup Create a Google Sheets document with three tabs named Limits, Doctors, and Log, then connect Google Sheets credentials and set the spreadsheet ID in all Google Sheets nodes. Add Slack credentials and set the lab notification channel in the lab alert node, and ensure Doctors sheet includes Slack user IDs (and optional backup Slack IDs) for direct messages. Add a Google Gemini (Google AI) credential for the note-generation step. Add Gmail credentials (service account) and ensure the Doctors sheet includes doctor email addresses for abnormal-result routing. Add Twilio credentials and replace the Twilio “from” number, and ensure the Doctors sheet includes a phone/mobile number if you want SMS for critical results. If using polling, update the LIS HTTP endpoint URL and enable the schedule trigger, or if using push, copy the webhook URL and configure your LIS to POST results to it. Requirements n8n (self-hosted or Cloud) Google Sheets account and credential Slack workspace and credential (able to send DMs and post to a channel) Gmail (or another email) credential Google Gemini API credential Twilio account and credential (optional, for SMS escalation) An LIS or EHR able to call a webhook, or an API endpoint it can poll Customization Add or remove test codes and thresholds any time by editing the Limits sheet — no workflow changes needed Swap Gemini for any other chat-model node; the validation step only checks the note's content, not which model produced it Adjust the 15-minute acknowledgment window in the "Wait for acknowledgment" node Swap Slack, Gmail, or Twilio for other channels (Teams, WhatsApp, etc.) — the routing and logging logic is channel-agnostic Add a second escalation tier by extending the branch after "Link opened?" Additional info This template handles LIS-to-physician routing and escalation only it is not a full EHR/FHIR integration, and alert messages intentionally never carry direct patient identifiers (only a result reference ID); physicians open their secure EHR to review patient details. For a deeper look at this pattern, see Ciphernutz's guide to medical lab automation with n8n.For more on this pattern, see Ciphernutz's guide to medical lab automation with n8n: https://ciphernutz.com/blog/n8n-for-medical-lab-automation. An n8n automation workflow template by Ciphernutz IT Services.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Mo
Monitor and log Indeed and LinkedIn job listings to Google Sheets with Apify
Live

By Mustapha

Quick overview This workflow runs manually or daily at 09:00 UTC to scrape up to 20 job listings from Indeed or LinkedIn via Apify, deduplicates them against an existing Google Sheets tab, and then appends or updates new job URLs with basic metadata. How it works Runs either on a manual trigger or on a daily cron schedule at 09:00 UTC. Loads the search term, location, target Google Sheet ID, and selected job boards to monitor. Reads existing rows from the Google Sheets “Jobs” tab to collect already-saved job URLs. Calls the Apify Multi Job Board Scraper actor via HTTP to fetch up to 20 job results for the configured search. Validates the Apify response, sanitizes text fields, and removes any jobs whose URLs already exist in the sheet. Appends new jobs (or updates by matching on jobUrl) in Google Sheets with title, company, location, job board, and a collected timestamp. Setup Create an Apify account and add an n8n HTTP Header Auth credential with Authorization: Bearer . Connect Google Sheets OAuth credentials for both the read and write steps. Create a Google Sheets tab named “Jobs” with headers jobUrl, title, company, location, jobBoard, and collectedAt, then paste your spreadsheet ID into the workflow’s sheetId setting. Update the search term, US location, and job boards (indeed, linkedin, or both). Run manually twice and verify saved rows and deduplication. Adjust the schedule/timezone and configure an n8n error workflow before activating. Requirements An n8n instance, a Google account with spreadsheet access, and an Apify account with available credits. No AI subscription required. Customization Edit the role, US location and jobBoards in Search settings. Indeed is the default; optionally add linkedin. Adjust the daily schedule and workflow timezone. Additional info Disclosure: Group Oject / HiringDataFlow develops the paid Apify Actor used here: https://apify.com/groupoject/indeed-jobs-scraper?utm_source=n8n&utm_medium=template&utm_campaign=jobs_to_sheets . The workflow template is free; Apify and n8n usage are separate. Each Actor request has a $0.10 maximum charge, a 20-result cap and a 120-second timeout. Repeated searches may incur charges even when Sheets deduplication suppresses all rows. Automatic paid-request retries are disabled; inspect Apify Runs after timeouts. Run one execution at a time; URL changes may create duplicates and coverage is not exhaustive. Email/Slack alerts are not included. Testing disclosure: 30 local configuration and transformation checks passed, but authenticated end-to-end execution in n8n with Google Sheets has not yet been completed. Please treat this as a starter workflow requiring integration verification before scheduling. An n8n automation workflow template by Mustapha.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Alexander Englund logo
Run budget-capped client AI agents with OpenAI and n8n data tables
Live

By Alexander Englund

Quick overview Stop an AI agent before it blows a client's budget: each client has a monthly cap, a pause switch and instructions in a Data table, and a run starts only if the client can afford it. Made by Keelstamp (keelstamp.com): hard cost caps for agencies running AI automations. How it works Your app POSTs client_id and prompt to the webhook. Unknown or paused clients get 403, and clients without budget left get 429. A worst-case reservation is written as the run's own ledger row. The ledger is read again, and the run backs off if parallel runs used the budget first. The AI Agent runs with Max Iterations and a token limit from Settings. The prompt and completion tokens that n8n recorded for each model call are read through the n8n API and booked. The answer is returned with a usage summary. You get an email at your alert threshold and when a client can't afford another run. Hourly, stuck reservations expire. Monthly, you get totals per client and old rows are deleted. A GET endpoint returns usage per client. If a Data table can't be read or written, the run is refused with 503. Setup Create the two Data tables listed in the sticky note: ai_clients and ai_usage_ledger. Add credentials: OpenAI on Chat model, n8n API on Read token usage, Header Auth on both webhooks and SMTP on the email nodes. Fill in the three Settings nodes and keep "Save execution progress" on. Add a client row to ai_clients. Publish the workflow and run the curl example in the "Try it" note. Requirements n8n with Data tables (tested on 2.41.6) An OpenAI API key, or another provider with an OpenAI-compatible Chat Completions endpoint An n8n API key (the n8n API isn't available during the free trial) SMTP credentials Customization Set the two cost rates to count in your currency instead of tokens. Swap the Calculator for your own tools, or the email nodes for Slack or Telegram. Additional info The reservation is an estimate, and Data tables have no atomic increment. The "Limits" note explains what that means for parallel runs and high volume. Without the n8n API credential, each run is charged its full reservation. We're building Keelstamp (https://keelstamp.com), which isn't released yet; the Founding Partner pre-order is open at https://keelstamp.com/founding. This template doesn't depend on it. Questions: contact@keelstamp.com Prepared with AI assistance. Editorial responsibility: PowerQuant ApS. An n8n automation workflow template by Alexander Englund.

N8nUpdated 16 hours ago
Free6 uses
No ratings
  • 5 nodes
  • 6 views
Workflows
  • Automation
  • AI
Tr
Triage and route Gmail leads with Groq, Notion CRM, and Twilio calls
Live

By Fahmi Fahreza

Quick Overview This workflow checks unread Gmail messages every hour, uses Groq-hosted LLM prompts to triage importance and route emails to the right manager, then updates a Notion CRM database, forwards an assignment email via Gmail, and triggers a Twilio confirmation call via HTTP. How it works Triggers every hour and pulls unread emails from Gmail. Uses Groq (via LangChain) to classify each email as important or not based on the sender, subject, and snippet. If the email is important, fetches member/manager records and existing company records from Notion. Combines the email, manager list, and company list, then uses Groq (via LangChain) to match the email to an existing company or assign a new company and select an active manager. If the status is "assigned," creates a new company record in the Notion Companies database with the selected manager and extracted company details. Sends an assignment notification email to the selected manager through Gmail and then triggers a confirmation call using the Twilio Calls API over HTTP. Setup Connect Gmail OAuth2 credentials for both the Gmail trigger (unread polling) and the Gmail send action. Add Groq API credentials for the two LangChain LLM steps and adjust the prompts if you want different importance/routing rules. Connect Notion API credentials and update the two Notion database IDs to point to your duplicated Members and Companies databases. Configure the Twilio HTTP request with your Twilio Account SID in the URL, HTTP Basic Auth (Account SID and Auth Token), and set the To/From phone numbers and webhook URL used for the call. An n8n automation workflow template by Fahmi Fahreza.

N8nUpdated 16 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Fi
Find competitor-citing publishers using HasData and Google Sheets
Live

By HasData

Quick overview Find pages cited by Google AI Mode that mention your competitors, then review them as potential publisher opportunities. The workflow reads shortlisted pages and saves matching passages, brand evidence and citing prompts to Google Sheets so SEO and PR teams can decide which sources deserve further research. How it works Read customer research questions from the Prompts tab. Validate your brand settings and input limits, rejecting duplicate prompts and oversized batches before making paid requests. Read the existing Results tab and check for duplicate saved keys. Every input prompt is searched again on each run; the saved rows are not a cache that skips previously processed queries. Use HasData to retrieve Google AI Mode citations for each prompt. Combine repeated source URLs and retain all the prompts that cited each page. Prioritize pages cited across several prompts. Exclude your own domain, configured competitor domains and selected social platforms before reading pages. Select up to max_pages for the whole run. Fetch a limited shortlist with HasData Web Scraping and extract page text, titles, headings and links. Keep the source URL attached to each response. Failed reads, excluded sources and sources beyond the page budget remain visible in the results. Look for named competitors and your brand aliases in the extracted text, retaining the actual matching passages. Check returned links for your domain too. Mark pages with competitor mentions and no observed brand match as review_publisher_fit; mark pages with existing brand evidence separately. Save both the prompt-level citation inventory and the page-level research queue to Google Sheets. Filter status to review_publisher_fit and inspect competitors_observed, citing_prompts and source_url before deciding whether a publisher is relevant. Matching saved keys are updated while optional review_status and editor_notes columns are left untouched. Setup Install the verified HasData community node. Connect HasData credentials to Fetch search evidence and Read source pages, and Google Sheets credentials to Read input, Read Results and Save review queue. No OpenAI or other model account is required. Create a Prompts tab with the header query and one question per row. Create a Results tab with these headers: result_key, checked_at, topic, status, summary, citing_prompts, competitors_observed, brand_evidence, source_url, evidence_json. You can add review_status and editor_notes for your own decisions. In Settings, enter spreadsheet_id and replace the example own_domain, brand_aliases, competitor_names and excluded_domains with your business and competitors. Use one entry per line for list settings. Add competitor-owned publications to excluded_domains when you identify them. Start with one prompt and max_pages set to 2. Run manually and inspect the resulting source pages and matching excerpts. If page text is missing, adjust content_selector or enable js_rendering for sites that need it. Run only one execution at a time. Requirements An n8n instance with the verified HasData community node installed. A HasData account with credits for Google AI Mode and Web Scraping requests. A Google account with read and write access to the selected spreadsheet. Customization Use commercial research questions for your own category, such as best web scraping APIs for small teams, and configure your brand and competitor names to match. Adjust max_items and max_pages within the supported 1-10 ranges. The default is five prompts and up to five source-page reads per run. Optional location and country settings can narrow the search context. Keep js_rendering disabled for readable HTML pages. Enable it only when needed; rendering can increase request costs. Export the results before refreshing if you need a historical archive. Additional info Designed for SEO and PR research, not automatic outreach. A citation does not prove endorsement, publisher independence or a brand mention. No match in extracted text does not prove absence from the full page. Inspect ownership, topical fit and complete page coverage before contacting anyone. The workflow does not find contacts, draft pitches or send messages. Each execution uses paid HasData requests, with no automatic retries. Results retains the latest values for matching keys; rows from older input scopes are not automatically removed, so check checked_at when reviewing a run. An n8n automation workflow template by HasData.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Sukhman logo
Send daily JLPT kanji-safe lessons to Microsoft Teams with Sheets and Claude
Live

By Sukhman

Quick overview This workflow runs daily, reads your learned kanji and JLPT grammar lists from Google Sheets, uses an AWS Bedrock chat model to generate and proofread a lesson constrained to known kanji, then posts it as a Microsoft Teams Adaptive Card and logs the taught grammar. How it works Runs every day at 8:00 using a schedule trigger. Reads learned kanji plus previously taught and available grammar points from Google Sheets, then selects the next unused grammar point for the configured JLPT level and rotates to the day’s topic. Uses an AWS Bedrock (Anthropic Claude) chat model to generate a structured JLPT lesson (examples, reading passage, questions, and vocabulary) with matching kana, romaji, and English fields. Sends the draft through a second AWS Bedrock pass to proofread readings, romaji, naturalness, and consistency while keeping the lesson structure intact. Validates the lesson by enforcing Grammar Bank facts (when available), converting any unlearned kanji to hiragana using the kana fields, and flagging any furigana lines that don’t align with their Japanese text. Builds a Microsoft Teams Adaptive Card with tap-to-reveal furigana/romaji/English/answers and posts it to a Teams Workflows webhook. Appends the taught grammar pattern and meaning to the Google Sheets “Grammar” tab so it isn’t repeated. Setup Create a Google Sheet with tabs named “Kanji”, “Grammar Bank”, and “Grammar” and add the required headers (including a TRUE/FALSE “learned” column in the Kanji tab). Add Google Sheets credentials in n8n and update the Sheet URL in the workflow configuration. Create a Microsoft Teams Workflows incoming webhook for a chat (for example using “Send webhook alerts to a chat”), copy its webhook URL, and paste it into the workflow configuration. Configure AWS Bedrock credentials and access to an Anthropic Claude chat model (or swap the model nodes for another supported provider). Adjust the JLPT level, topic list, passage length, schedule time, and workflow timezone to match your study plan. Requirements A Google account with Google Sheets Microsoft Teams with permission to create Workflows AWS Bedrock access to Claude Haiku 4.5, or any other chat model that is strong in Japanese On AWS Bedrock, the IAM permissions aws-marketplace:ViewSubscriptions and aws-marketplace:Subscribe for first-time model access Customization Set jlpt_level (N5 to N1) in the Set Configuration Values node and fill the Grammar Bank with points for that level Tick "learned" for new kanji in the Kanji tab; the next lesson uses them automatically Edit the topics list and passage length in the Set Configuration Values node Change the trigger time and the workflow timezone to fit your study schedule Replace the two model nodes with any provider (OpenAI, Anthropic, Google Gemini), keeping a low temperature of about 0.2 for proofreading Additional info If the Grammar Bank tab is empty, the AI chooses the grammar point itself. Words containing unlearned kanji are converted to hiragana by a Code node rather than by the AI, so the result is reliable. Any furigana line that doesn't match its Japanese text is flagged with a note on the card instead of failing silently. Grammar points are logged after each lesson and never repeated. An n8n automation workflow template by Sukhman.

N8nUpdated 16 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Ga
Gate and score AI outputs with Ollama, Wikipedia, and data tables
Live

By SPIRIDON TSAKONAS

Quick overview Send any AI output to this workflow and get PASS, FLAG or BLOCK for every factual claim, proven by quotes from your trusted facts or Wikipedia. Runs on local Ollama with no API key, fails closed when the model is down, and emails a weekly truth score. How it works Receives AI output through a POST webhook, or runs a built-in sample, and reads all settings from Read Request & Config. Loads your trusted facts from the Data Table truth_facts and asks a local Ollama model to extract only checkable factual claims: names, numbers, dates and events. Opinions are ignored. Gathers evidence for each claim: matching trusted facts first, then Wikipedia extracts (free, no key). The search subject is taken from the claim by code, not by the model. A judge model rates each claim VERIFIED, UNSUPPORTED or CONTRADICTED using only that evidence, and must cite a quote for its verdict. Plain code checks every quote: it must exist word for word in the evidence and prove this exact claim, numbers included. Unproven verdicts are downgraded to UNSUPPORTED. Any contradiction means BLOCK, too many unsupported claims mean FLAG, otherwise PASS. If the model fails, the answer is FLAG with a truth score of 0. Returns the verdict to the caller first, then logs the check to truth_checks and emails an alert on FLAG or BLOCK. Every Monday at 08:00, emails a truth score per AI source compared with the previous week, then deletes checks older than 90 days. Setup Install Ollama and run ollama pull qwen3:4b-instruct. In Read Request & Config, set LLM_URL. If n8n runs in Docker, use http://host.docker.internal:11434/v1/chat/completions (on Linux, start n8n with --add-host=host.docker.internal:host-gateway). Create two Data Tables. truth_facts: fact and topic (string); add your trusted facts as rows. truth_checks: checked_at, request_id, source, decision, text_excerpt, details (string) and truth_score, claims_total, verified, unsupported, contradicted (number). Both tables are found by name. Add an SMTP credential to Send Alert and Send Weekly Report and set your addresses. No email account? Deactivate both email nodes, otherwise alert runs end marked as error. Click Test With Sample, then publish the workflow and POST {"text": "AI output", "source": "my-bot"} to /webhook/truth-gate. Requirements n8n with Data Tables (tested on n8n 2.41.5); Ollama with qwen3:4b-instruct, or any OpenAI-compatible endpoint; optional SMTP account for alerts and weekly reports Customization Tune MAX_CLAIMS, FLAG_RATIO and BLOCK_ON_CONTRADICTED in Read Request & Config; set USE_WIKIPEDIA to false for fully offline checks against your trusted facts; set WIKI_LANG for another Wikipedia language; for a cloud model, point LLM_URL at any OpenAI-compatible API and add a Header Auth credential to both LLM nodes Additional info Tested end to end in a real n8n instance: a false height claim is blocked with the Wikipedia quote "330 metres", a claim with no evidence is flagged instead of blocked, and a model outage returns FLAG with a truth score of 0. An n8n automation workflow template by SPIRIDON TSAKONAS.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Huseyin Hobek logo
Monitor RAG answer quality daily with OpenAI, data tables and Telegram
Live

By Huseyin Hobek

Quick Overview This workflow runs daily to evaluate a RAG-style support bot using OpenAI for embeddings, answer generation, and judging, stores run metrics in n8n Data Tables, and sends a Telegram alert when retrieval accuracy or answer quality drops. How it works Runs on a daily schedule (or manually) and sets monitoring thresholds like top-K retrieval size, minimum quality scores, and allowed pass-rate drop. Loads sample help center articles, generates OpenAI embeddings, and indexes the documents into an in-memory vector store. Iterates through a golden test set of questions, retrieves relevant context from the vector store, and generates an answer with an OpenAI chat model that must stay grounded in the retrieved text. Uses a second OpenAI chat model as a judge to score groundedness, correctness, and whether the bot properly abstains on out-of-scope questions. Aggregates results into run-level metrics (pass rate, retrieval hit rate, average scores, abstention rate, and failing cases). Saves the run summary to an n8n Data Table, compares it to the previous run, and sends a Telegram message if the status is marked as degraded. Setup Add an OpenAI credential for the embeddings nodes and both OpenAI chat models used for answering and judging. Create or select a Telegram credential and set your Telegram chat ID in the monitor settings (or remove the Telegram alert step). Ensure n8n Data Tables are available in your instance and keep the table name rag_quality_runs or update it consistently across the workflow. (Optional) Replace the sample documents and golden test set with your own content, keeping expectedSource aligned with the document source metadata. An n8n automation workflow template by Huseyin Hobek.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Bhaskar Gorati logo
Track competitor website changes with Firecrawl, OpenAI, Google Sheets and Gmail
Live

By Bhaskar Gorati

Quick overview This workflow runs on a schedule, reads competitor URLs from Google Sheets, scrapes each site with Firecrawl, analyzes the content with OpenAI, logs results back to Google Sheets, generates an HTML report, converts it to a PDF via html2pdf.app, and emails the report using Gmail. How it works Runs on a schedule and reads a list of competitor URLs from Google Sheets. Loops through each competitor and scrapes the website content using the Firecrawl API. Sends the scraped content to OpenAI to generate a structured competitive intelligence report using a defined schema. Formats the AI output into report fields, appends a summary row to Google Sheets, and renders a styled HTML report. Converts the HTML report to a PDF using the html2pdf.app API. Emails the report via Gmail (with the PDF attached when available) and continues to the next competitor. Setup Add Google Sheets OAuth credentials and select the spreadsheet and sheet that contains a URL column for competitors, plus the sheet used to log results. Add a Firecrawl API credential (HTTP Bearer Auth) and ensure the competitor URL field matches what the scrape request expects (for example, a column named “Url”). Add OpenAI API credentials for the model used by the analysis step. Add an html2pdf.app API key (HTTP Header Auth) and confirm the request format required by your plan. Add Gmail OAuth credentials and replace the recipient address in the email step with your target email. Set the desired interval on the schedule trigger before activating the workflow. An n8n automation workflow template by Bhaskar Gorati.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Javed Iqbal logo
Monitor vendor compliance documents and expiries with Google Drive, OpenAI, Sheets, Gmail, and Slack
Live

By Javed Iqbal

Quick overview This workflow monitors a Google Drive folder for new vendor compliance PDFs, uses OpenAI to classify and extract key fields, logs and tracks them in Google Sheets, flags uncertain items in Slack, and runs a daily compliance check that emails vendor reminders and sends a digest via Gmail and Slack. How it works Triggers when a new file is created in a specific Google Drive “Vendor Compliance Inbox” folder. Checks whether the uploaded file is a PDF and posts a Slack message when a non-PDF file is skipped. Downloads the PDF, extracts its text, and uses an OpenAI chat model to classify the document and extract vendor name, issuer, issue/expiry dates, coverage amount, summary, and confidence. Matches the document to a vendor from the Google Sheets “Vendors” tab, validates the extraction (for example, missing expiry or low confidence), upserts the record into the Google Sheets “Documents” tab, and moves the file to a processed Drive folder. Posts a Slack alert when the document needs human review (for example, no vendor match, partial match, low confidence, missing expiry for expiring document types, or bank information). Runs daily at 8 AM to read vendors and documents from Google Sheets, evaluate each active vendor against tier-based requirements, and append the results to a “Compliance Log” tab. Emails vendors (via Gmail) when reminders are due and sends a daily compliance digest to the compliance owner by Gmail and a summary message to Slack. Setup Add credentials for Google Drive, Google Sheets, Gmail, Slack, and OpenAI (Chat) used by the workflow. Create a Google Sheet with tabs named “Vendors”, “Documents”, and “Compliance Log”, and select the correct spreadsheet in all Google Sheets steps. Create and select two Google Drive folders (the inbox to watch and the processed folder to move files into), then drop the trigger webhook-less polling folder selection into the Drive trigger. Choose the Slack channels for “Unsupported File”, “Review Needed”, and the daily summary messages. Update the values in the Configuration step (company name, compliance inbox, owner email, reminder windows, and testMode) and adjust tier requirements in the rules step if needed. An n8n automation workflow template by Javed Iqbal.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
PostWire logo
Create Instagram, TikTok and LinkedIn carousels with OpenAI and PostWire
Live

By PostWire

Quick Overview This workflow collects a carousel topic via an n8n form, uses OpenAI to plan slide copy and generate images, uploads the slides to PostWire, and publishes them as Instagram, TikTok, and LinkedIn multi-image posts, logging results to Google Sheets and emailing failures via Gmail. How it works Receives a submission from an n8n form with the topic, audience, number of slides, and target networks. Uses OpenAI (gpt-5-mini) to generate a JSON plan containing per-slide headlines, image prompts, alt text, and platform-specific captions. For each planned slide, requests an upload URL from PostWire, generates a square image with OpenAI GPT Image (gpt-image-1-mini), uploads the PNG to PostWire, and finalizes it to get a hosted media URL. Aggregates all slide media URLs, sorts them into the original slide order, and publishes a multi-image post to the selected platforms via PostWire using an idempotency key based on the form submission. If all platforms publish successfully, appends a “posted” record with slide headlines and post links to Google Sheets. If any platform fails, logs the error details to Google Sheets and sends a Gmail message with the platform-specific fixes and any successfully published links. Setup Create a PostWire account, connect Instagram/TikTok/LinkedIn, and add an HTTP Header Auth credential in n8n with Authorization: Bearer for the PostWire HTTP Request steps. Add an OpenAI credential with access to gpt-5-mini and gpt-image-1-mini. Connect Google Sheets OAuth credentials and select the target spreadsheet and sheet in both Google Sheets append steps. Connect Gmail credentials and replace you@example.com with your recipient address. Use the form URL from the form trigger to submit a test topic and confirm posting permissions for the selected networks. An n8n automation workflow template by PostWire.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
  • AI
PostWire logo
Create daily Google Trends image posts for Instagram, TikTok, and Facebook with OpenAI and PostWire
Live

By PostWire

Quick Overview This workflow runs every morning, reads Google Trends RSS for a chosen country, uses OpenAI to select an on-brand trend and generate captions and an image prompt, creates an image with GPT Image, publishes to Instagram, TikTok, and Facebook via PostWire, and logs results to Google Sheets with Gmail alerts on failures. How it works Runs every day at 8:00 on a schedule. Reads the Google Trends RSS feed for your selected country, removes trends already used in previous executions, and keeps the top 10. Sends the trend list plus your brand details to OpenAI to either reject all trends or return a JSON plan with the chosen trend, angle, image prompt, and per-network captions. If a relevant trend is found, requests an upload slot from PostWire, generates a 1024×1024 image with OpenAI GPT Image, uploads it to PostWire, and finalizes it to get a public media URL. Publishes the image post to Instagram, TikTok, and Facebook through PostWire with per-platform captions and an idempotency key based on date and trend. Appends a row to Google Sheets with the trend, angle, status, and post links, and sends a Gmail email with fixes when any platform fails. Setup Create a PostWire account, connect your social profiles, and add an HTTP Header Auth credential in n8n with Authorization: Bearer for the PostWire HTTP requests. Add OpenAI credentials for both the text model and the GPT Image model used to generate captions and images. Update the brand, niche, country code, and target networks in the brand settings step to match your business. Add a Google Sheets OAuth credential, select the target spreadsheet and sheet in both logging steps, and ensure it has columns for date, trend, angle, status, links, and note. Add a Gmail credential and replace the recipient address in the email step so you receive publishing failure details. An n8n automation workflow template by PostWire.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
  • AI
Hassan logo
Qualify and route real estate leads with Google Gemini, Gmail, Slack and Sheets
Live

By Hassan

Quick overview Automatically qualifies incoming leads with Gemini AI, routes each one to the best available agent by speciality and workload, notifies via Gmail and Slack, escalates to the broker if unacknowledged within 15 minutes, and delivers a weekly performance report, covering every lead from arrival to assignment to follow-up. How it works Section A — Lead Qualification and Routing: A lead arrives via webhook from any source — a website form, a CRM, or any previous QualMatic template passing a Hot lead automatically. Gemini AI qualifies the lead as Hot, Warm, or Cold based on intent, timeline, budget, and message content. Cold leads are logged to a cold queue and held for manual review — no agent is disturbed for low-quality leads. Hot and Warm leads route immediately. The workflow selects the best agent by matching the lead's intent to agent speciality (Buyer / Seller / Rental / Investment / General), then load-balancing within matching agents by active lead count — the least busy specialist gets the lead. Three notifications fire simultaneously — a detailed Gmail to the assigned agent with a click-to-acknowledge link, a Slack DM for instant mobile alert, and a broker copy email for full visibility. Optionally creates a Pipedrive contact and deal automatically. Section B — Acknowledgement: When the agent clicks the acknowledgement link, a webhook records the acknowledgement timestamp, calculates the response time in minutes, and sends a confirmation email. Section C — Escalation: If the agent has not acknowledged within the configured timeout (default 15 minutes), the broker receives an escalation alert via Gmail and Slack — flagging the unacknowledged lead for immediate action. Section D — Weekly Performance Digest: Every Monday at 8 am, a performance report is delivered to the broker — leads assigned per agent, acknowledgement rates, average response times, score breakdown, and escalation count. Setup Add credentials for Google Gemini (PaLM) API, Google Sheets OAuth2, Gmail OAuth2, and Slack OAuth2. Create or choose a Google Sheets spreadsheet with tabs for Lead Assignments, Agents, and Weekly Performance Log, and set the document ID and sheet tabs in all Google Sheets nodes. Update the brokerage configuration values (broker email/name, broker Slack channel, escalation minutes, N8N_WEBHOOK_BASE_URL, and AGENTS_JSON with real agent emails and Slack user IDs) and keep the separate weekly-digest broker configuration in sync. Copy the “New Lead Received” webhook URL into your lead source (website form/CRM) and ensure the public base URL is set so acknowledgement links resolve externally. If using Pipedrive, set USE_PIPEDRIVE to true and fill in PIPEDRIVE_DOMAIN and PIPEDRIVE_API_TOKEN in the configuration. Requirements Google Sheets setup: Create the Brokerage Lead Router sheet template and link its ID to all Sheets nodes. Three tabs required. Tab 1 — Lead Assignments — columns: Assignment ID, Timestamp, Lead Name, Email, Phone, Lead Source, Intent, Budget, Timeline, Message, AI Score, Score Reasoning, Assigned Agent ID, Assigned Agent Name, Assignment Method, Acknowledged, Acknowledged At, Response Time (mins), Escalated, Pipedrive Deal ID, Status, Notes. Tab 2 — Agents — columns: Agent ID, Agent Name, Email, Phone, Slack User ID, Speciality, Active Leads, Total Assigned, Avg Response Time (mins), Status. Tab 3 — Weekly Performance Log. Agent roster setup: Populate the Agents tab with your team before activating. Each agent needs an Agent ID, name, email, Slack User ID, speciality (Buyer / Seller / Rental / Investment / General), starting Active Leads count, and Status (Available). Update AGENTS_JSON in the Configuration node to match — this is the roster the routing logic reads at runtime. Slack User ID: Each agent's Slack User ID is required for direct message notifications. Find it in Slack → click the agent's profile → three-dot menu → Copy member ID. Format: U12345678. Public n8n URL (required): The click-to-acknowledge link in the agent email points to the Section B webhook. This requires a permanent public n8n URL — not localhost. Set N8N_WEBHOOK_BASE_URL in the Configuration node to your server's public URL before going live. For local testing paste the webhook test URL directly in your browser with the correct query parameters. Pipedrive setup (optional): Set USE_PIPEDRIVE = true in the Configuration node and add your PIPEDRIVE_API_TOKEN and PIPEDRIVE_DOMAIN. Get your API token from Pipedrive → Personal Preferences → API tab. Your domain is the subdomain in your Pipedrive URL. Pipedrive authenticates via api_token as a URL query parameter — not a Bearer header. Customization Add or remove agents by updating AGENTS_JSON in the Configuration node — no workflow changes needed. Set any agent's Status to Busy or Off in AGENTS_JSON to exclude them from routing temporarily — they re-enter the pool when Status returns to Available. Adjust ESCALATION_MINUTES to change the acknowledgement timeout — default is 15 minutes, increase for less urgent markets or decrease for high-volume teams. Change the weekly digest schedule in the Schedule trigger node — day and time fully configurable. Extend the routing logic in Parse AI Output & Select Agent to add custom routing rules — for example route by agent location, language, or property price range. Connect from any previous QualMatic template by adding an HTTP Request node pointing to this template's webhook URL — Templates #5, #6, and #10 can all pipe Hot leads directly into the router. Additional info Four independent sections. This template contains four execution sections. Section A fires on a webhook. Section B fires when an agent clicks the acknowledge link. Section C continues from Section A after the Wait node. Section D fires on a weekly schedule. Section A and Section D each have their own Configuration node — update both when changing broker details. AGENTS_JSON vs. Agents sheet. The routing logic reads from AGENTS_JSON in the Configuration node at runtime — not directly from the Agents sheet. The Agents sheet is used for logging and performance tracking only. Keep AGENTS_JSON and the Agents sheet in sync when adding or removing agents. Load balancing. The routing algorithm selects the agent with the fewest active leads within the matching speciality pool. Active Leads increments in the Agents sheet after every assignment — the next routing decision reflects the updated count. Decrease an agent's Active Leads manually in the sheet when they close or archive a lead. Escalation does not reassign. Section C notifies the broker when a lead is unacknowledged — it does not automatically reassign the lead. Manual reassignment by the broker is intentional — the broker may have context about agent availability that the workflow does not. Pipedrive authentication. Pipedrive v1 API uses api_token as a URL query parameter, not a Bearer header. The HTTP Request nodes are pre-configured for this. Do not add an Authorization header — it will be ignored and may cause unexpected behaviour. Cold lead handling. Cold leads are logged to the Lead Assignments sheet with Status = Cold — Pending Review but are not assigned to any agent. The broker can review cold leads periodically and manually assign them or add them to a drip sequence using Template #14. Previous QualMatic Templates. Template#5 https://n8n.io/workflows/17258-qualify-facebook-lead-ads-and-send-follow-ups-with-gemini-gmail-and-sheets/ Template#6 https://n8n.io/workflows/17409-qualify-inbound-real-estate-leads-from-gmail-with-gemini-and-hubspot/ Template#10 https://n8n.io/workflows/18329-match-new-property-listings-to-buyer-leads-with-gemini-gmail-and-sheets/ Template#14 https://n8n.io/workflows/19876-nurture-real-estate-leads-with-google-gemini-gmail-and-google-sheets/. An n8n automation workflow template by Hassan.

N8nUpdated 16 hours ago
Paid
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Se
Send monthly missing document reminders with Google Drive, Sheets, and Chatwork
Live

By 永島税理士事務所

Quick overview This workflow runs monthly to check each client’s previous-month folder in Google Drive for missing required documents, sends a Chatwork reminder listing missing categories, and updates a Google Sheets tracker to avoid duplicate reminders. How it works Runs on a schedule at 12:00 on the 10th day of every month. Calculates the previous month’s folder prefix (Reiwa format) and loads the client list from a Google Sheets “clients” sheet. Skips any client whose Google Sheets “last_reminder” equals today’s date to prevent duplicate reminders. For each remaining client, searches Google Drive for the previous-month folder under the client’s parent folder and lists its subfolders. Filters the subfolders to only those listed in the client’s comma-separated “required_folders” field and checks each one via the Google Drive API to confirm it contains at least one non-folder file. Compiles a list of required document subfolders that contain no files. If any are empty, sends a Chatwork reminder listing those categories and updates “last_reminder” in Google Sheets to today. Setup Create a Google Sheet with a sheet named “clients” and columns for client_name, folder_id (Google Drive parent folder ID), chatwork_room_id, required_folders (comma-separated), and last_reminder (YYYY-MM-DD). Set up Google Sheets OAuth2 credentials in n8n and replace YOUR_GOOGLE_SHEET_ID with your spreadsheet ID. Set up Google Drive OAuth2 credentials (also used by the HTTP Request node) and ensure your Drive folder structure includes a previous-month folder named like “R{year}.{month}月” under each client’s parent folder. Set up a Chatwork API credential and ensure each client row contains the correct Chatwork room ID for reminders. Requirements An n8n environment with the n8n-nodes-chatwork community node installed, Google Sheets and Google Drive OAuth2 credentials, and a Chatwork API credential. Additional info Set the workflow timezone to Asia/Tokyo. Monthly folder names must include the Reiwa year and month prefix, for example R8.9月 for September 2026. Required subfolder names must exactly match required_folders in Google Sheets. The workflow detects empty existing subfolders; it does not report missing monthly folders or required subfolders that have not been created. An n8n automation workflow template by 永島税理士事務所.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Amelqa logo
Triage Gmail with Gemini, label emails, log invoices to Sheets, and send Telegram alerts
Live

By Amelqa

Quick overview This workflow watches your Gmail inbox, uses Google Gemini to classify and summarize each email, applies category labels, optionally creates reply drafts, logs invoice details to Google Sheets, sends urgent alerts via Telegram, and stores a searchable processing log in an n8n Data Table. How it works Triggers every 5 minutes when a new Gmail inbox message arrives (excluding promotions, social, and your own emails). Fetches the full email content, formats it into a clean prompt, and sends it to Google Gemini to return a JSON classification, summary, urgency flag, optional reply text, and optional invoice fields. Ensures the corresponding Gmail label (for example, AI/Clients or AI/Invoices) exists and applies it to the email. If the email needs a reply and drafting is enabled, creates a Gmail draft reply in the same thread addressed to the sender. If the email is classified as an invoice and a Google Sheets document ID is provided, appends the extracted invoice fields plus an email link to your Google Sheets invoice tracker. If the email is marked urgent and a Telegram chat ID is provided, sends a Telegram message with the sender, subject, and one-line summary. Inserts a row into an n8n Data Table to log the received time, sender, subject, category, urgency, summary, and whether a draft or invoice entry was created. Setup Connect credentials for Gmail, Google Gemini (API key), and Telegram, and also connect Google Sheets if you want invoice logging. In Google Sheets, create a sheet with header columns: Date, Issuer, Number, Net, VAT, Total, Currency, Subject, Link to the email. In the workflow’s Settings values, fill in your name, business description, tone, your Google Sheets document ID (optional), and your Telegram chat ID (optional), and set create_drafts to false if you don’t want Gmail drafts created. An n8n automation workflow template by Amelqa.

N8nUpdated 16 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI
Timothy Vermeiren logo
Triage and stow Gmail messages with Google Gemini, Telegram, and Sheets
Live

By Timothy Vermeiren

Quick overview This workflow monitors Gmail for new messages, uses Google Gemini to classify and summarize them as emails or calendar invites, assesses urgency, and notifies you in Telegram. It stows non-urgent items in Google Sheets, supports replying/RSVPing from Telegram, and provides a daily stowed-items review. How it works Polls Gmail every minute for new messages and loops through each email. Uses Google Gemini to detect whether the message contains a real calendar invite and generates a short summary (and start/end times when applicable). Uses Google Gemini again to classify the item’s urgency (urgent, today, or later) with a reason, then normalizes the fields for downstream handling. For urgent items, sends an urgent Telegram notification and waits for you to choose whether to respond immediately or act later. If you respond immediately, it collects your reply text in Telegram and replies to the Gmail thread, or (for calendar invites) asks you to accept/decline and updates your Google Calendar attendee response via the Google Calendar API. For today/later items (and urgent items you defer), it marks the email read, removes it from the inbox, adds a “stowed” Gmail label, and appends/updates the item in a Google Sheets log. Every day at 08:45, it pulls all stowed items from Google Sheets, optionally walks you through them in Telegram (including availability checks for events via Google Calendar), and can mark reviewed items as done in the sheet. Setup Connect credentials for Gmail OAuth2, Google Sheets OAuth2, Google Calendar OAuth2, a Telegram bot, and a Google Gemini (PaLM) API key. Update the Telegram chat ID used for notifications and approvals to your own chat. Create (or select) a Gmail label for “stowed” messages and replace the label ID used for adding/removing labels. Set the target Google Sheets document and ensure it has columns matching the workflow fields (id, type, from, title, status, urgency, urgency_reason, additional_data, summary, body). Verify the schedule time (08:45) and adjust it to your timezone and preferred daily review time. An n8n automation workflow template by Timothy Vermeiren.

N8nUpdated 16 hours ago
Free
No ratings
  • 9 nodes
Workflows
  • Automation
  • AI
Ha
Handle voice receptionist bookings with Vapi, Google Calendar and Sheets
Live

By Ali Amin

Quick overview This workflow handles Vapi voice agent tool calls to check Google Calendar availability, book appointments into Google Calendar, and capture phone messages, then logs outcomes to Google Sheets and notifies the owner by email. How it works Receives a POST webhook request from Vapi containing a tool call (or a status/transcript event). Normalizes the Vapi payload to extract the tool name, tool call ID, and arguments, then routes the request by tool name. For checkAvailability, fetches upcoming events from Google Calendar and computes the next available appointment slots based on configurable business-hour rules. Sends the available slot options back to Vapi in a spoken-ready JSON response that includes ISO timestamps to book against. For bookAppointment, creates a new Google Calendar event at the requested start time, appends a booking record to Google Sheets, and emails the owner a booking alert. For takeMessage, appends the caller’s message to Google Sheets, emails the owner the message details, and returns a confirmation response to Vapi. For any non-tool-call events, returns an empty acknowledgement to Vapi without taking action. Setup In Vapi, create three server tools pointing to this workflow’s production webhook URL: checkAvailability (no args), bookAppointment (customerName, phoneNumber, service, startTime), and takeMessage (callerName, phoneNumber, message). Add a Google Calendar credential and ensure the workflow can access the calendar you want to book into (the template uses the primary calendar). Create/select a Google Sheets spreadsheet and sheet for the call log, with columns like Timestamp, Type, Caller Name, Phone, Details, and When, and set the document and sheet in both Google Sheets nodes. Add an SMTP email credential and update the From and To addresses in both email nodes. If needed, edit the availability rules in the open-slot calculation code (timezone, opening hours, working days, slot length, and minimum notice). Requirements A Vapi account with an assistant configured with three server tools (names and arguments are on the canvas) A Google Calendar credential — the primary calendar is used by default, no selection needed An SMTP credential for owner notifications A Google Sheet for the call log with the six headers listed on the canvas Customization Edit the CONFIGURE block in Compute Open Slots: timezone, opening hours, working days, slot length, notice period and how many slots to offer Change the appointment length (keep Create Event's duration in sync with SLOT_MINS) Reword the owner emails and the spoken confirmations the agent reads back Add more tools to the switch — cancellations, FAQs, transfer-to-human — using the same pattern Works for any business that books time: salons, clinics, trades, tutors, studios 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.

N8nUpdated 16 hours ago
Free13 uses
No ratings
  • 4 nodes
  • 13 views
Workflows
  • Automation
David logo
Parse files and URLs into structured JSON with Groq and Google Gemini
Live

By David

Quick overview This sub-workflow accepts files or a URL from a parent workflow, extracts readable text from many formats, optionally converts that text into structured JSON using Groq and Google Gemini models, and returns one normalized result per input. How it works Triggers when executed by another n8n workflow and receives binary attachments and an optional extraction object that can define required fields. Splits incoming attachments into one item per file (or converts a provided URL into a fetchable text source) and builds a JSON Schema from extraction.field_schemas. Routes each item by MIME type and extracts content using native n8n extractors (PDF, JSON, CSV, Excel, Google Sheets and text) or fetches web pages as text via an HTTP request. For image files, converts the image to a compatible format and uses a vision-capable LLM to extract visible information into JSON and add content_class and class_confidence. If a schema was provided, sends the extracted text to an LLM to produce structured JSON that matches the requested schema. Returns { status, error, data: { text, content_class, class_confidence } } for every input. File types it has no route for come back with a standardized unsupported status and an error payload, so the parent workflow keeps running. Setup Add a credential for a vision-capable LLM to the Vision LLM node, which extracts structured data from images. Add a credential for an LLM to the Text LLM node, which structures extracted text into schema-compliant JSON. A free tier is enough, and any chat model node works in either place. From the parent workflow, use an Execute Workflow node to call this workflow and pass either binary_files (attachments) or a url, plus optional extraction.field_schemas and instructions for the fields you want returned. Requirements One vision-capable LLM and one text LLM with structured output support. The template ships with Google Gemini and Groq nodes, which both have free tiers. A parent workflow that calls it through an Execute Workflow node Customization Add a file type with a new rule in Route by File Type Use class_confidence (0 to 1) in the parent to auto-accept, review or flag each result Additional info Node-by-node documentation · Used by smart-folder2table and inbox-attachment-organizer. An n8n automation workflow template by David.

N8nUpdated 16 hours ago
Free3 uses
No ratings
  • 8 nodes
  • 3 views
Workflows
  • Automation
  • AI
Thiago Cavalcanti logo
Draft and approve Gmail replies and follow-ups with OpenAI
Live

By Thiago Cavalcanti

Quick overview This workflow monitors your Gmail inbox for new unread messages, uses OpenAI to classify them and draft fact-based replies, and then emails the draft to an owner for approval before replying in the original Gmail thread. How it works Triggers every minute when a new unread email arrives in Gmail, excluding messages from yourself, no-reply senders, and promotional/social/update/forum categories. Sends the email content and your predefined business facts to OpenAI to categorize the message and generate a draft reply in the requested tone and language. Validates and safety-checks the AI output, flagging complaints, money-related topics, empty/overlong drafts, malformed responses, or amounts not present in your business facts. If the draft is safe, sends an approval email to the owner in Gmail and pauses up to 2 days for an approve/decline response. If approved, replies to the customer in the same Gmail thread using the suggested draft; if declined or timed out, no message is sent. If the draft is not safe, sends the owner a “needs your answer” email with the reason, the original message, and any suggested draft without replying to the customer. Setup Connect your Gmail OAuth2 credentials for the Gmail trigger and the Gmail send/reply steps. Add your OpenAI API credentials and confirm the chat model selection in the OpenAI step. Update “Your settings” with the owner email address, business facts allowed for drafting, desired tone, sign-off name, and maximum draft length. Review and adjust the Gmail search filter (query/labels/categories) to match which inbox messages should be included. Send a test email from another address and verify the approve/decline flow before activating the workflow. Requirements A Gmail account and an OpenAI API key. Customization To handle only some emails, add a label to the trigger filter (for example label:support), change the model in OpenAI model, and edit the rules in Classify and draft a reply and the checks in Check the draft. Additional info Nothing reaches a customer without the owner pressing Send this reply. Do not send, or no answer within 2 days, sends nothing. Money questions, complaints and drafts that fail the checks go to the owner to answer. An n8n automation workflow template by Thiago Cavalcanti.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
  • AI
Pr
Prevent duplicate payment transactions with webhook, Postgres, and HTTP API
Live

By Oneclick AI Squad

Quick overview This workflow exposes a payment webhook that uses Postgres as an idempotency store to prevent duplicate charges, calling an external payment provider API only once per Idempotency-Key and replaying the stored result for retries, mismatches, and in-progress requests. How it works Receives a POST request on a webhook endpoint with an Idempotency-Key header and a JSON payment payload. Ensures the required Postgres idempotency_keys table and indexes exist to track request status and stored responses. Validates the request, scopes the Idempotency-Key by client ID, and computes a SHA-256 fingerprint of a canonicalized payload. Atomically claims the idempotency key in Postgres (or reads the existing record) to decide whether to execute, replay a completed response, reject a key reused with different payload, or return an “in progress”/duplicate-order error. For newly claimed keys, calls the configured payment provider endpoint via HTTP and forwards the same Idempotency-Key header. Classifies the provider response as completed (replayable success/decline) or failed (retryable timeout/5xx/429), stores the outcome back to Postgres, and responds to the webhook with Idempotency-Key and Idempotent-Replayed headers. Setup Add Postgres credentials and ensure the database user has permissions to create tables/indexes and read/write the idempotency_keys table. Update the providerUrl (and any policy values like leaseSeconds, providerTimeoutMs, maxAmount, and allowedCurrencies) in the validation/fingerprinting code to match your payment provider. Activate the workflow, copy the production webhook URL, and configure your client or upstream service to send POST requests with an Idempotency-Key header (and optional X-Client-Id) plus the required fields in the JSON body. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Oneclick AI Squad logo
Run a distributed priority job queue with Redis and Anthropic
Live

By Oneclick AI Squad

Quick overview This workflow implements a distributed priority job queue in n8n using Redis for storage, lane-based scheduling, and worker wakeups, with optional Anthropic LLM execution and outbound HTTPS calls, plus webhook endpoints for enqueueing jobs, checking queue/job status, and cancelling queued or delayed jobs. How it works Receives a POST request on the /webhook/queue-enqueue webhook, validates the job (type, priority, payload size, delay, attempts), and generates a job record with a token for deduping and fencing. Checks Redis for an existing job:{jobId} record to make enqueueing idempotent, returning a duplicate response if the job already exists. Stores the job record in Redis with a TTL and either pushes it to queue:scheduled (delayed) or to the appropriate priority lane list (queue:critical, queue:high, queue:normal, queue:low) and publishes a Redis pub/sub notification to wake workers. Wakes workers via a Redis Trigger notification or a 10-second schedule, then polls Redis lanes in priority order (with an anti-starvation rotation every N polls) and atomically pops the next available message. Loads and validates the job record in Redis using the message token, claims the job by writing a lease and registering it in queue:processing, and then executes the handler (Anthropic Messages API for llm, an outbound HTTPS request for http, or a no-op echo for noop). Records the outcome back to Redis only if the worker still holds the lease, then either completes the job, schedules a retry with exponential backoff by pushing to queue:scheduled, or dead-letters it to queue:dead, repeating until the per-run job limit is reached. Runs a 20-second maintenance loop that promotes due scheduled jobs back into their priority lanes and requeues or dead-letters processing jobs whose leases have expired, publishing notifications so workers pick them up. Exposes /webhook/queue-status for queue depth stats or job lookup by jobId, and /webhook/queue-cancel to cancel jobs that are still queued or scheduled. Setup Add a Redis credential and select it on all Redis and Redis Trigger nodes so the workflow can store job records, manipulate lists, and publish/subscribe to notifications. Add an Anthropic API key as an HTTP Header Auth credential (using the x-api-key header) for the node that executes llm jobs against the Anthropic Messages API. Update the configuration values in the Producer, Worker, and Maintenance configuration steps (lane order, batch sizes, lease/backoff/retention, allowed HTTP hosts, Anthropic API URL, and model catalog/pricing if you use cost tracking). Run n8n in queue mode with one or more workers (for example, EXECUTIONS_MODE=queue and n8n worker --concurrency=...) so the Redis notification trigger runs on the main instance and job executions scale across workers. If you plan to run http jobs, set allowedHttpHosts to the exact hostnames you permit and ensure targets are reachable over HTTPS using only GET/POST as enforced by the workflow. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Shuo Yuan logo
Classify and route form leads with DeepSeek, Gmail, and Google Sheets
Live

By Shuo Yuan

Quick overview A webhook captures form leads, a Data Table blocks duplicates, and DeepSeek scores each lead from 1 to 100. A three-way switch routes high scores to an approval email, mid scores to a fast-track approval, and low scores to a polite decline. How it works Receives a lead submission via a POST webhook. Normalizes the submitted fields and generates a deterministic lead_unique_id, then checks an n8n Data Table to skip leads that were already processed. Upserts the lead into the Data Table as an audit record and sends the submission to the DeepSeek Chat Completions API to return structured fields and a 1–100 priority score. Routes the lead based on priority_score, sending high-priority and medium-priority leads to different Gmail approval emails and sending low-priority leads a polite decline email. Receives an approval click via a second webhook, validates the decision, appends the approved lead to a Google Sheets fulfillment spreadsheet, and returns an HTML confirmation page. If the DeepSeek request fails, sends a critical alert email via Gmail for troubleshooting. Setup Point your lead form at the lead-intake webhook URL and ensure it POSTs raw_client_input plus selected_service. Create a Data Table with a lead_unique_id text column, then select it in both Data Table nodes and paste the column id into the Mark Processed node. Create a Header Auth credential for the DeepSeek API with Authorization as the header name, then select it in the Classify and Score Lead node. Connect Gmail credentials for approval, fast-track, decline and alert emails, and replace YOUR_EMAIL@example.com in all four email nodes. Connect Google Sheets, replace YOUR_SPREADSHEET_ID, and replace YOUR_N8N_WEBHOOK_DOMAIN in the approval emails with your n8n instance base URL. Requirements Any form builder that can POST to a webhook (raw_client_input, selected_service, email, company_name) | A Data Table with a lead_unique_id text column | A DeepSeek API key (Header Auth credential) | Google Sheets with a fulfillment queue sheet | Gmail credential for approval, fast-track, decline and alert emails | n8n instance reachable from your inbox (for the approval button) Customization Adjust the priority thresholds in the Route by Lead Priority switch (default bands: 85+ high, 60-89 qualified, below 60 declined). | Edit the DeepSeek prompt to score on the criteria your fulfillment process actually cares about. | Swap Google Sheets for Airtable, a CRM node or a Data Table - the approval-gate pattern is identical. | Reuse the dedup + score + route pattern alone for any intake flow that needs priority triage. An n8n automation workflow template by Shuo Yuan.

N8nUpdated 16 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
WeblineIndia logo
Classify churn and send monthly SaaS reports with Notion, Sheets and Gemini
Live

By WeblineIndia

Quick overview This workflow monitors cancellation records in Notion, checks related payment-failure (dunning) history in Google Sheets to classify churn as involuntary or voluntary, logs each result to a churn log sheet, and then runs a monthly rollup that summarizes churn with Google Gemini and emails the report via Gmail. How it works Triggers every minute when a new cancellation event is detected in a Notion database. Normalizes the cancellation payload into a customer ID, cancellation date, and plan revenue, then looks up matching dunning history for that customer in Google Sheets. Calculates whether the dunning start date occurred before the cancellation and within a 60-day window. Classifies the cancellation as Involuntary when a valid dunning record exists, otherwise as Voluntary, and appends the churn event (including plan, dates, revenue, and notes) to a Google Sheets churn log. Runs on a monthly schedule, fetches all rows from the churn log in Google Sheets, and aggregates the prior month’s involuntary/voluntary counts and lost revenue. Sends the aggregated metrics to Google Gemini to generate a short JSON-formatted executive summary and emails the formatted HTML report through Gmail. Setup Connect your Notion credentials and select the cancellation database used by the Notion trigger. Connect your Google Sheets credentials and update the document/sheet IDs for both the dunning history lookup sheet and the churn classification log sheet. Ensure your dunning history sheet includes at least “Customer ID” and “Dunning Start Date” columns and your churn log sheet includes the output columns used for appending. Add a Google Gemini (PaLM) API credential for the LLM node and adjust the prompt/schema if you want different report fields. Connect your Gmail credentials and set the email recipients and subject/body content for the executive report. Additional info How To Customize Nodes Adjust Dunning Time Window:** Open the Validate Dunning Window code node and update diffDays <= 60 to your preferred window size (e.g., 30 or 45 days). Modify AI Prompt:** Select the Generate AI Narrative node to adjust the tone, language, or specific analytical questions answered in the summary. Change Schedule Interval:** Update the Trigger: Monthly Rollup schedule settings if you prefer weekly or quarterly summaries. Customize Email Design:** Edit the HTML block in Email Executive Report to match your company's branding, color palette, or logos. Add‑ons Stripe / Chargebee Integration:** Replace the Notion trigger with direct webhook listeners from payment providers to eliminate manual data entry. Slack / Microsoft Teams Alerts:** Add a messaging node after Log Churn Event to broadcast high-value cancellation alerts immediately. Automated Dunning Win-Back Workflows:** Route involuntary churn events into automated email sequences via Customer.io or HubSpot to retry failed cards. Use Case Examples Payment Failure Recovery Audit: Identify exact revenue amounts lost to expired or declined credit cards versus voluntary cancellations. SaaS Executive Board Reporting: Generate monthly automated AI summaries for leadership without manual spreadsheet consolidation. Product vs. Billing Issue Segmentation: Isolate churn caused by product dissatisfaction from churn caused by payment gateway issues. Customer Success Priority Routing: Trigger outreach tasks for high-MRR customers who experienced voluntary cancellations. Billing Gateway Performance Monitoring: Track trends in involuntary churn across different payment processors or regional currencies. (Note: There can be many more such use cases of this workflow depending on your specific business, payment stack, and retention strategies.) Troubleshooting Guide | Issue | Possible Cause | Solution | | --- | --- | --- | | Notion Trigger Not Firing | Invalid database ID or missing integration permissions in Notion. | Ensure the Notion integration is shared with your cancellation database and has active read permissions. | | Dunning Check Fails | Customer ID mismatch between Notion and Google Sheets. | Verify that the Customer ID format in Notion matches the Customer ID column in your dunning sheet. | | Code Node Date Errors (NaN) | Missing, invalid, or non-ISO date strings in the incoming payload. | Ensure Cancellation Date and Dunning Start Date are passed as standard ISO (YYYY-MM-DD) date strings. | | Gemini JSON Schema Validation Error | AI response failed to produce strict JSON matching the requested schema. | Confirm your Google Gemini API key is active and that the schema properties (report_title, summary) are unmodified. | | Gmail Report Not Delivered | Missing recipient email address or expired Gmail OAuth2 credentials. | Open the Email Executive Report node, specify a valid Send To email address, and re-authenticate your Gmail connection. | Need Help? Setting up automated financial metric pipelines and configuring LLM chains requires precise field mapping and robust error handling. If you need assistance configuring this workflow, customizing integrations or developing custom automation solutions for your business, contact WeblineIndia. Our expert team can help you build and scale tailored n8n workflows for your operations. An n8n automation workflow template by WeblineIndia.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Tr
Track expenses, budgets and card cycles with Telegram and Data Tables
Live

By Nam Trung Studio

Quick overview This workflow lets you track expenses by sending messages or receipt photos to a Telegram bot, stores records in an n8n Data Table, and provides budget status, credit-card statement cycle summaries, due-date reminders, and monthly CSV exports back to Telegram. How it works Triggers when a new Telegram message arrives or every morning at 08:00 on a schedule. Parses the Telegram text or photo caption to detect amount, note, category, month, optional card tag (for payment method), and optional receipt photo file ID. If the message is an expense entry, saves it to the n8n Data Table and replies in Telegram with a confirmation plus current-month category budget progress and the relevant card statement total/close/due dates (if a card is used). If the message is a command, reads the sender’s expenses from the Data Table and returns either a month-by-category report with month-over-month comparison, a budget overview, or credit-card cycle/statement/due-date details in Telegram. If the command is /export, formats the selected month’s expenses as a CSV file and sends the CSV document to the Telegram chat. If the command is /undo, deletes the most recently created expense for that chat and confirms the removal in Telegram. On the daily schedule, scans all stored expenses to find chats with card statements due soon and sends Telegram reminders when the due date is within the configured reminder window. Setup Create a Telegram bot with @BotFather, add a Telegram API credential in n8n, and select it in each Telegram Trigger/Send node. Create an n8n Data Table named expenses with columns chat_id, category, note, month, spent_at, payment, receipt_file_id (string) and amount (number). Update the Config values for currency/locale/timezone, category keywords, monthly budgets, and your cards (tag, name, closingDay, dueDay) plus reminderDaysBefore. Activate the workflow and ensure your n8n instance is reachable via a public HTTPS URL so Telegram can deliver webhook updates to the Telegram trigger. Requirements n8n with Data Tables (n8n Cloud or self-hosted, tested on n8n 2.30) A Telegram bot token from @BotFather (free) A public HTTPS URL for the Telegram webhook (n8n Cloud, or self-hosted behind a tunnel or reverse proxy) No OpenAI or other paid API key needed Customization Add your own categories and keywords in Config (categoryKeywords); messages can also use #category tags Set a monthly budget per category in Config (budgets) Add as many credit cards as you like, each with its own closingDay and dueDay, and change reminderDaysBefore Change currency, locale and timezone (e.g. USD / en-US); turn off smallNumbersAreThousands if "50" should mean 50, not 50,000 Change the reminder time in the "Every morning 08:00" Schedule node Additional info Amounts like 50k, 1.2tr, 120.000 or 12.50 are parsed in code, so there is no AI cost per message. Each Telegram chat keeps its own data, so one bot can serve a family or a small team. Statement math handles short months (closing day 31 = last day of the month) and back-dated expenses ("@25/09"). Tested end-to-end on a real n8n server with 16 scenarios: adding expenses, budgets at 80% and over 100%, /cards, /budget, /report, /export to CSV, /undo and the morning due-date reminder. Only need simple tracking without cards and budgets? Use the free template "Track Telegram expenses with Data Tables and monthly reports". An n8n automation workflow template by Nam Trung Studio.

N8nUpdated 16 hours ago
Paid
No ratings
  • 2 nodes
Workflows
  • Automation
Rahul Joshi logo
Detect Meta Ads spend anomalies and creative fatigue with OpenAI and Slack
Live

By Rahul Joshi

Quick overview This workflow runs daily and pulls Meta Ads account and ad insights from the Meta Graph API, detects spend/performance anomalies and creative fatigue, uses OpenAI (gpt-4o-mini) to propose fixes for flagged accounts, and posts either an alert or an all-clear message to Slack. How it works Runs every day at 9:00 AM (cron schedule). Loads your configured Meta ad accounts and generates the “yesterday” and 7-day lookback date window for each account. Queries the Meta Graph API for account-level daily metrics, active ad-level daily metrics, and 7-day ad totals for baseline comparison. Compares yesterday’s performance to the 7-day baseline to flag issues like spend spikes/drops, CPA spikes, CTR drops, CPM spikes, missing results, or missing data, and identifies ads with creative fatigue based on frequency and CTR trend. If issues are found, sends the findings to OpenAI (gpt-4o-mini) to generate a short diagnosis and prioritized fix recommendations (plus creative ideas when fatigue is present). Formats the results into a Slack message (including an Ads Manager link) and posts either the alert or an optional all-clear message to the configured Slack channel. If the workflow fails, triggers an error handler that posts a workflow error alert to Slack. Setup Add a Meta access token as an HTTP Header Auth credential and connect it to the three Meta Graph API HTTP Request nodes. Add an OpenAI API credential for the OpenAI node using the gpt-4o-mini model. Add a Slack OAuth2 credential and update the Slack channel IDs used for posting alerts and workflow error notifications. Update the account list and defaults in the configuration step (ad account IDs, client name, goal, target CPA, default Slack channel, currency symbol, and action types). Adjust the detection thresholds and limits in the configuration (lookback days, minimum spend, spend/CPA/CTR/CPM thresholds, frequency threshold, and max fatigued ads) to match your reporting needs. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
UnoPim logo
Query and edit UnoPim product catalogs with OpenAI GPT-4o and Slack
Live

By UnoPim

Quick overview A chat window for your UnoPim catalog. An OpenAI GPT-4o agent answers questions about your products and writes catalog data back through six UnoPim tools. Every reply is then routed by the workflow itself: a write is read back from UnoPim to confirm it landed, logged to a Google Sheet and announced in Slack, while anything the agent could not resolve opens a Linear issue. How it works The Chat Trigger opens a chat window that anyone on your team can use, with no n8n knowledge needed. A Settings node holds the locale, the channel and a read-only switch, so the rules live in one place rather than buried in the prompt. An OpenAI GPT-4o model drives a tool-calling agent whose system message teaches it how UnoPim stores data. Six UnoPim tools are attached to the agent. List products browses the catalog, Look up a product reads one SKU in full, and Update a product writes back with PATCH. List attributes and List families are what stop the agent inventing an attribute code or missing a field the family requires. It checks both before any write. Look up a configurable product covers products with variants, which UnoPim keeps on a separate endpoint keyed by code rather than SKU. A window buffer memory keeps the last fifteen messages, so a follow-up such as "now do the same for the other three" still makes sense. The agent ends every reply with a STATUS block naming the SKU, the field, the old value, the new value and the reason. A Code node parses that block into real fields, so the rest of the workflow is deterministic rather than trusting the model to call the right tool. A Switch routes on that status. On changed, the SKU is fetched back from UnoPim, because a write is only believed once it reads back. The before and after values are appended to a Google Sheet with a confirmed flag, and the change is posted to Slack. On unresolved, the gap becomes a Linear issue instead of an invented value. On answered, the reply goes straight back to the chat. Setup Install the community node n8n-nodes-unopim from Settings, Community nodes. This template is self-hosted only, because n8n Cloud cannot install community nodes. In UnoPim open Configuration, Integrations, API Keys and create a key. All four values the credential needs come from the same row. Add the UnoPim API credential. The URL is the application root, for example https://demo.unopim.com, not the admin address. Add an OpenAI credential and confirm it can reach gpt-4o. Pick the Google Sheet and worksheet for the change log, choose your Linear team, and select the Slack channel for announcements. Read the system message before you share the chat. It is what keeps the agent from writing something you did not approve. Requirements Self-hosted n8n. Community nodes cannot be installed on n8n Cloud. UnoPim 3.0 or newer with the n8n connector package installed. An OpenAI API key with access to gpt-4o. Google Sheets, Linear and Slack accounts for the change log, the issues and the notifications. Customization Swap gpt-4o for any chat model n8n supports. Remove Update a product and the agent becomes read only, and the changed branch simply never fires. Edit the system message to change the safety rules, or the locale and channel the agent reads values from. Change the memory window from fifteen messages to suit shorter or longer sessions. Add a tool for any other catalog resource the node supports, such as categories, channels or currencies. Replace Slack, Google Sheets or Linear on the branches with whatever your team already uses. They are ordinary nodes, not agent tools, so swapping one does not change how the agent behaves. Additional info Point the agent at a staging UnoPim first, because the credential it uses can reach a live catalog. The system message requires the agent to confirm before writing, and the workflow re-reads every SKU it wrote, so a claimed change that did not actually land shows up in the change log as not found. Update a product sends PATCH rather than PUT, so it can never replace a whole record. A video walkthrough is embedded as a sticky note on the canvas. An n8n automation workflow template by UnoPim.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Cr
Create daily workout-of-the-day videos from Google Sheets with Zvid
Live

By Zvid

Quick overview For gyms and coaches: turn today’s workout from Google Sheets into a branded vertical video using Zvid. Validate the design, render the MP4, then download completed media for review and sharing. How it works Triggers every day at 6am or runs on demand via a manual trigger. Loads branding and render settings (colors, fonts, hero video, music, timezone, and dry-run options) and reads workout rows from a Google Sheets tab. Selects today’s row using the configured timezone. Date, WorkoutName and Ex1 are required. If fallbackToLatest=true, use the latest past row, preserve its original workout date and never select a future row. Parse Ex1–Ex5 into exercise and reps fields. Builds a Zvid project JSON for a three-scene vertical video (hook footage, workout board, and coach’s note) and generates a ready-to-post caption. Validates the Zvid project payload using Zvid’s validation endpoint and stops with a detailed error if the payload is invalid. Optional dryRun=true saves an editor draft only with Zvid Project → Create support; published npm v0.1.8 does not expose this operation. Keep dryRun=false with that version. dryRun=false is the default: submit a Zvid render job, poll until completion or timeout and output a summary. The gated Watch video step downloads completed media for review in Binary → data → View. Setup Use self-hosted n8n. Install @zvid/n8n-nodes-zvid from Settings → Community nodes before configuring credentials; a workspace owner/admin may need to install it. Create a Zvid API credential with a key from https://app.zvid.io/api-keys and Base URL https://api.zvid.io, then select it on every Zvid node. Add Google Sheets credentials and set the spreadsheet document ID and sheet name in the Google Sheets read step. Use headers Date, WorkoutName, Focus, Ex1, Ex2, Ex3, Ex4, Ex5, CoachNote. Date must use YYYY-MM-DD; WorkoutName and Ex1 must be filled. Format exercises as “Exercise x Reps”; the last separator is used. Add a row for today, or optionally set fallbackToLatest=true to reuse the latest past workout. Update gymName, handle, branding, heroVideo, musicUrl, timezone and polling settings in Config. Align the workflow and Config timezones. dryRun defaults to false and spends Zvid credits after successful validation. Test manually and review the result before activating daily runs. Editor drafts require Project → Create support, unavailable in published v0.1.8. An n8n automation workflow template by Zvid.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Cr
Create weekly restaurant specials videos with Google Sheets and Zvid
Live

By Zvid

Quick overview This workflow runs weekly and reads menu items from Google Sheets, then builds and validates a Zvid video project to render a branded vertical “weekly specials” reel, returning a shareable video URL and suggested caption. How it works Runs every Monday at 9am (or on-demand with a manual test trigger). Loads configuration values (restaurant details, branding, timing, media, and dry-run settings) and reads rows from a Google Sheets menu tab. Filters the sheet to rows marked ThisWeek = TRUE and normalizes up to five dishes (name, description, price, and photo URL). Builds a Zvid project with a sizzle hook, one scene per dish and a booking end card. Supported photo sources are bounded to 1920×1920 without distortion; supply custom image URLs already within those limits. Sends the project to Zvid’s validate endpoint to check schema and estimate credits, and stops with a detailed error if validation fails. dryRun=false is the default: submit a Zvid render job and poll until completion or timeout. Optional dryRun=true saves an editor draft only with Zvid Project → Create support; published npm v0.1.8 does not expose this operation. Keep false with that version. Outputs the completed video URL and a suggested caption. The gated Watch video step downloads completed media for review in Binary → data → View. Review the reel and share it manually. Setup Use self-hosted n8n. Install @zvid/n8n-nodes-zvid from Settings → Community nodes before configuring credentials; a workspace owner/admin may need to install it. Create a Zvid API credential with a key from https://app.zvid.io/api-keys and Base URL https://api.zvid.io, then select it on every Zvid node. Add a Google Sheets credential and select the target spreadsheet and sheet in the Google Sheets read step. Ensure your sheet has headers Dish, Description, Price, PhotoUrl, and ThisWeek, and mark 1–5 rows with ThisWeek = TRUE each week. Update restaurantName, handle, address, branding, timings, musicUrl and sizzleVideo in Config. dryRun defaults to false and spends Zvid credits after successful validation. Test manually, review the result and check the workflow timezone before activating the schedule. The editor-draft branch requires Project → Create support, unavailable in published v0.1.8. An n8n automation workflow template by Zvid.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Bu
Build recruiter-requested hiring campaign videos with Google Sheets and Zvid
Live

By Zvid

Quick overview This workflow runs daily (or manually) to read job openings from Google Sheets, generate a branded vertical “we’re hiring” video project for each opening, render it with Zvid, and write the resulting VideoUrl back to the matching spreadsheet row. How it works Runs every day at 9am (or starts manually) and loads your company branding and rendering settings. Checks the optional soundtrack once per run. An unreachable or oversized track is omitted so the hiring video can render without music. Reads job openings from Google Sheets and selects rows where Role and ApplyUrl are filled and VideoUrl is empty, capped by maxPerRun. For each selected row, builds a Zvid project JSON (role, perks, salary, branding, and media) and validates it with Zvid to get warnings and a credit estimate. The default dryRun=false branch renders. Optional dryRun=true saves an editor draft only with a Zvid node exposing Project → Create; published npm v0.1.8 does not expose this operation. Keep false with that version. If dryRun is disabled, submits a Zvid render job, polls until it completes (or fails/timeouts), and gets the final video URL. Updates the source Google Sheets row with the rendered VideoUrl and outputs a run summary (and optionally downloads the finished video file for review). Setup Use self-hosted n8n. Install @zvid/n8n-nodes-zvid from Settings → Community nodes before configuring credentials; a workspace owner/admin may need to install it. Create a Zvid API credential with a key from https://app.zvid.io/api-keys and Base URL https://api.zvid.io, then select it on every Zvid node. Add a Google Sheets OAuth credential and set the spreadsheet document ID and sheet/tab name in both the read and update steps. Create a sheet with headers Role, Team, Location, SalaryRange, Perk1, Perk2, Perk3, ApplyUrl, VideoUrl, and leave VideoUrl empty for rows that should be rendered. Update companyName, companyLogoUrl, heroVideoUrl, optional musicUrl, colors, maxPerRun and polling settings in Company Config. dryRun defaults to false and spends Zvid credits after successful validation. The optional editor-draft branch requires Project → Create support, unavailable in published v0.1.8. If using the schedule trigger, confirm the workflow timezone and the 9am schedule settings match your preferred run time. An n8n automation workflow template by Zvid.

N8nUpdated 16 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Ali Amin logo
Reply to property enquiries with Gmail, Google Sheets and GPT-4o
Live

By Ali Amin

Quick overview This workflow polls a Gmail inbox for new property enquiries, uses OpenAI (GPT-4o) to extract applicant details and draft a personalised reply, matches the enquiry to a property list in Google Sheets, logs each enquiry, and either creates a Gmail draft for approval or auto-sends a safe reply. How it works Runs every minute (or manually with a test message) and lists unread messages in Gmail. Deduplicates message IDs, fetches each full email via the Gmail API, and parses headers and body text. Classifies the enquiry source (Rightmove, Zoopla, OnTheMarket, SpareRoom, or website) and drops non-enquiry portal/admin emails. Uses OpenAI to extract structured contact, property, and qualification details, then normalises the data and detects which qualification fields are missing. Reads the Properties tab in Google Sheets to match the enquiry to a property by reference or address, determines availability, and builds a pre-qualification form link or similar-property suggestions. Uses OpenAI to generate a reply body that acknowledges any details already provided and follows the correct call-to-action, then wraps it in a branded HTML email. Appends the enquiry and outcome to the Enquiry Log tab in Google Sheets and either creates a threaded Gmail draft for staff approval or auto-sends the reply and marks the original email as read. Setup Add a Gmail OAuth2 credential with access to the mailbox you want to monitor and use it for the Gmail API request nodes (list, fetch, create draft, send, and modify/mark read). Add an OpenAI API credential and ensure the workflow can use the GPT-4o and gpt-4o-mini models. Connect a Google Sheets credential and select your spreadsheet and sheet names for both the Properties reader and Enquiry Log appender. Create a Google Sheet with a Properties tab (including at least ref, address, rent, bedrooms, available_from, status, area, notes) and an Enquiry Log tab with columns for the logged fields used by this workflow. Update the configuration values in the code steps for agency name, application/pre-qualification form base URL, branding/signature details, and whether auto-send is enabled. Optional: Configure Meta WhatsApp Cloud API (phone number ID, approved template, and header auth credentials) if you want the WhatsApp follow-up, or remove the WhatsApp steps. Requirements A Gmail account (OAuth2) that receives your Rightmove, Zoopla, OnTheMarket, SpareRoom or website enquiry emails An OpenAI API key — gpt-4o-mini handles extraction, gpt-4o writes the replies A Google Sheet with two tabs: Properties (ref, address, rent, bedrooms, available_from, status, area, notes) and Enquiry Log A pre-qualification or application form URL to send applicants to (Google Form, Typeform or your own) Optional: Meta WhatsApp Cloud API access with an approved message template for the WhatsApp follow-up Customization Set your agency name, form URL and the auto-send switch in the Link Properties to Enquiries node Edit brand colour, sign-off, contact details and legal footer in the Construct Branded Email node Tune the reply tone, structure and house rules in the draft system prompt — it already enforces "never re-ask what the applicant told you" Add or adjust enquiry sources in Identify Enquiry Source to match whatever lands in your inbox Extend the extraction schema with any extra qualification fields your referencing process needs Keep auto-send off for full staff approval via Gmail drafts, or enable it for instant replies to safe, fresh enquiries Delete the WhatsApp branch if you're email-only Additional info About the creator: Built and maintained by Ali Amin, founder of IhsanOps (https://ihsanops.ai) — a UK-based AI automation consultancy helping letting agents and property businesses respond to enquiries in seconds instead of hours. This template is based on a production system running for a UK letting agency managing 800+ properties. Ali is an AWS-certified DevOps Engineer building n8n automations and AI systems for UK SMEs — see https://linkedin.com/in/ali-tm-amin. Want it adapted to your agency — CRM integration, voice/phone enquiries, auto-send rules, or your own application form? Email ali@ihsanops.ai or visit https://ihsanops.ai. An n8n automation workflow template by Ali Amin.

N8nUpdated 16 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Tangma Craftsman logo
Score automotive editorial prospects with WooCommerce, Google Sheets, and OpenAI
Live

By Tangma Craftsman

Quick Overview This manual workflow reads pending editorial prospects from Google Sheets, matches each one to a published WooCommerce product from an EU or NA store, fetches the prospect page metadata, scores editorial relevance with OpenAI, and upserts a prioritized review record back into Google Sheets. How it works Runs when started manually. Fetches all published products from two WooCommerce stores (EU and NA) and reads pending prospects from a Google Sheets tab. Validates each prospect (region, permission status, and safe public URL) and text-matches it to the best-fit regional WooCommerce product. For valid prospects, requests the target URL and extracts the page title and meta description from the HTML response. Sends the page metadata and matched product context to the OpenAI Chat Completions API to get a JSON relevance score, rationale, pitch angle, and suggested anchors. Combines the OpenAI relevance score with sheet-provided domain rating and traffic inputs to set a review status and append-or-update the opportunity in the Google Sheets Opportunities tab. For invalid, unapproved, or unsafe prospects (or fetch/metadata failures), skips the AI step and writes a flagged record to the Opportunities tab for manual follow-up. Setup Add WooCommerce credentials for both regional stores and ensure product permalinks use the expected EU/NA hostnames. Add a Google Sheets OAuth credential, replace REPLACE_WITH_SPREADSHEET_ID, and ensure the Pending_Leads and Opportunities sheet tabs exist. Add an OpenAI API key as an HTTP Bearer Auth credential for the OpenAI Chat Completions request and change the model name if your account requires it. Ensure Pending_Leads includes the required columns (prospect_id, target_url, target_region, brand, model, part_category, permission_status) and Opportunities has opportunity_key set as the match column for upserts. An n8n automation workflow template by Tangma Craftsman.

N8nUpdated last month
Free
No ratings
  • 3 nodes
Workflows
  • Automation
De
Detect contract compliance violations with Notion, Google Sheets and Groq
Live

By WeblineIndia

Quick overview This workflow runs daily to compare procurement transactions in Google Sheets against active contract terms stored in Notion, flags pricing/SLA/volume violations with calculated leakage, and uses Groq LLM analysis to generate corrective recommendations that are logged back to Google Sheets. How it works Runs every day at 6:00 AM on a schedule. Retrieves all active contract records from a Notion database. Pulls recent procurement transactions from Google Sheets and compares each transaction to the matching contract SKU to detect pricing overcharges, SLA breaches, volume threshold issues, or missing contracts, calculating per-transaction leakage. Appends compliant transactions to a dedicated Google Sheets tab for audit tracking. For violations, loads historical violation logs from Google Sheets and calculates vendor/SKU recurrence counts and cumulative leakage to estimate total impact. Processes each current violation through Groq Chat to produce a structured impact assessment, urgency, and corrective recommendation. Appends the violation details, calculated leakage, and AI recommendation to the Google Sheets “Violation Logs” audit sheet. Setup Add Notion credentials and select the Notion database that contains your contract records, including fields for SKU, agreed price, SLA days, volume threshold, contract ID, and an “Active” status. Add Google Sheets credentials and set the spreadsheet and sheet tabs used for input transactions, compliant transaction logging, and violation logging. Add a Groq API credential for the LangChain Groq Chat model used to generate structured recommendations. Ensure your Google Sheets transaction columns match the workflow’s expected headers (for example: Transaction ID, Date, Vendor, Item SKU, Quantity Purchased, Unit Price Paid, and Actual Delivery Days). Additional info How To Customize Nodes Adjusting Violation Thresholds:** Open the Compare Terms vs Actuals node. You can modify the JavaScript to include a tolerance buffer (e.g., only flagging price overcharges if they exceed the contracted rate by more than 2%). Customizing AI Output:** The Enforce JSON Schema node strictly structures the AI's response (Impact Analysis, Action Category, Urgency, Recommendation). You can add new schema fields here, such as a drafted email response to the vendor. Visual Canvas Organization:** You can improve workspace readability for your team by styling the sticky notes with low-saturation, sensory-friendly color palettes and utilizing dark charcoal text to clearly map out compliance routing paths without overwhelming the reader. Add‑ons To expand the functionality of this workflow, consider adding: Vendor Email Automation:** Add a Gmail or Outlook node after the AI Analysis to automatically email the vendor a "Notice of Contract Violation" based on the AI's recommendation. ERP Integration:** Replace Google Sheets with HTTP Request nodes to pull daily transactions and log compliance statuses directly into ERP systems like NetSuite or SAP Ariba. Ticketing System Sync:** Connect Jira or ServiceNow to automatically open a resolution ticket for any violation flagged with a "High" urgency by the AI. Use Case Examples This workflow handles multiple procurement scenarios simultaneously. Primary use cases include: Price Overcharge Detection:** A supplier invoices $12 per unit instead of the contracted $10. The workflow catches the discrepancy, calculates total leakage based on volume, and alerts the buyer to request a credit memo. SLA/Late Delivery Breach:** A critical shipment arrives in 14 days, but the contract mandates a maximum of 10 days. The workflow flags the SLA breach so procurement can enforce late-delivery penalties. Volume Threshold Exceeded:** A buyer accidentally orders 5,000 units on a contract capped at 2,000 units per month. The workflow detects the overage and advises management to renegotiate terms or hold the excess inventory. Repeat Offender Identification:** A vendor continually overcharges by small amounts over several months. The AI analyzes the historical logs, identifies the recurring pattern, calculates cumulative impact, and recommends a systemic supplier review. (There can be many more variations of this workflow by simply adjusting the JavaScript variance rules or adding additional AI evaluation criteria!) Troubleshooting Guide | Issue | Possible Cause | Solution | | --- | --- | --- | | Workflow misses contract matches | Naming discrepancies between Notion and Google Sheets. | Check for trailing spaces or case-sensitivity issues. The Compare Terms vs Actuals node requires an exact text match on the SKU fields. | | Code node returns NaN for leakage | Quantity or Price fields in Google Sheets are formatted as text. | Ensure numeric columns in Google Sheets are strictly formatted as numbers, or update the JS code to parse strings into floats. | | AI Node times out or throws schema errors | Groq API rate limits reached or unexpected LLM output. | Verify your Groq API credentials. If the model fails to parse JSON, consider switching to a different supported model like Llama 3 within the Groq node. | | Slack alerts are not sending | Incorrect Channel ID or missing app permissions. | Re-authenticate the Slack node and ensure the n8n bot is invited to the target channel. | Need Help? Building reliable, automated compliance engines requires a deep understanding of data validation, API integration and custom business logic. If you need assistance configuring your Notion databases, customizing the JavaScript leakage formulas, integrating this workflow into your native ERP system or building similar supply chain automations, please contact WeblineIndia. Our team of technical integration experts can help you design, scale and maintain tailored automation workflows for your entire business. An n8n automation workflow template by WeblineIndia.

N8nUpdated 16 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Buğra Şıkel logo
Create human-approved Instagram posts with Gemini, Telegram, and Instagram
Live

By Buğra Şıkel

Quick Overview This workflow collects an Instagram post request via an authenticated n8n form, uses Google Gemini to draft a caption from a submitted image and verified facts, sends the draft to Telegram for human approval, and publishes to Instagram via the Facebook Graph API only after approval. How it works Receives a post request through an authenticated n8n form with a public HTTPS image URL, product name, verified facts, and an optional call to action. Validates the submission and downloads the image file from the provided URL. Sends the image and a guarded prompt to Google Gemini to generate a JSON draft containing a caption, five hashtags, a confidence score, and any risks. Applies deterministic checks (caption length, product-name inclusion, minimum confidence, banned phrases, risk flags, and exactly five unique hashtags) to decide whether the draft is eligible for review. If the draft passes, sends it to Telegram with a private approval link and pauses until a reviewer approves or rejects it. If approved, creates an Instagram media container and polls the Instagram Graph API until processing finishes. Publishes the post to Instagram, fetches the permalink, and confirms publication in Telegram, or reports rejection/processing delays back to Telegram without publishing. Setup Configure Basic Auth for the request form and publish the workflow so requesters can access the production form URL. Add credentials for Google Gemini, Telegram, and Facebook Graph API (Meta) to the corresponding nodes. Update the brand settings, Telegram chat ID, Instagram user ID, Graph API version, model name, and moderation rules in the "Configure Brand and Channels" step. Use an Instagram professional account connected to a Facebook Page and ensure the submitted image URL is a publicly reachable HTTPS JPG/PNG/WebP that stays accessible while Meta processes the media container. An n8n automation workflow template by Buğra Şıkel.

N8nUpdated 16 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI