Workflows
Browse 14,312 Workflows
Workflows are deterministic, multi-step pipelines that chain models, tools and agents in a fixed order — the predictable counterpart to an autonomous agent. Each entry records its platform and complexity, so the setup cost is visible before you import it.
1201–1248 of 14,312
By Sebastian Rothbucher
Quick Overview This workflow copies a Google Forms template for a specific customer, updates and publishes the new form, sets up a Google Forms watch for responses, and processes incoming watch notifications via an n8n webhook to fetch and extract the selected answer. How it works Starts manually and sets the Google Form template ID, customer name, and destination Google Drive folder ID. Calls the Google Drive API to copy the template form into the target folder and stores the new form ID alongside the workflow’s resume webhook URL in an n8n Data Table. Fetches the new form details from the Google Forms API, updates the form title/description and choice options, and publishes the form so it accepts responses. Creates a Google Forms watch that publishes response events to a Google Cloud Pub/Sub topic. Receives the Pub/Sub push notification via an n8n webhook, looks up the matching resume URL in the n8n Data Table by form ID, and calls that URL to continue the original execution. After the execution resumes, fetches the latest responses from the Google Forms API, extracts the selected choice value, and passes it to a placeholder step for custom processing. Setup Create Google OAuth2 credentials and add an n8n OAuth2 credential with scopes for Google Drive and Google Forms (including forms.body and forms.responses.readonly). Create a Google Form template, then set its form ID, your target Google Drive parent folder ID, and the customer name in the workflow parameters. Update the Google Forms API request bodies to match the questions/items you want to modify and the response fields you want to extract. Set up a Google Cloud Pub/Sub topic for form responses and a push subscription pointing to the n8n webhook URL used for incoming watch notifications. Create an n8n Data Table with at least form_id and hook_url columns and select it in the workflow so copied forms can be mapped back to their execution resume URLs. An n8n automation workflow template by Sebastian Rothbucher.
- 1 nodes
- Automation
By Felix M
Quick overview Help your newsroom be first to credible eyewitness footage. During a breaking event, this automation keeps watch on YouTube and sends editors only the clips worth checking, earliest upload first, so they can contact the original creator and verify faster. How it works Receives an editor’s form submission to open an event window with one or more YouTube search queries and a monitoring duration. Appends the event window to the Google Sheets “Events” tab and posts an “event opened” message to Telegram. Runs every 15 minutes, reads the “Events” and “Footage Log” tabs from Google Sheets, and plans searches for each active event while respecting credit and paging limits. Queries YouTube through the RecentReborn search API (optionally paging), stops early when daily quota is low, and collects new video results not already logged. Scores and categorizes new videos using keyword rules and (optionally) an OpenAI chat model to label titles as eyewitness, news reupload, commentary, or unrelated and to flag likely copies. Appends all new videos to the Google Sheets “Footage Log” tab, updates counters and closes expired or deactivated events in the “Events” tab. Sends a Telegram digest with new eyewitness candidates and problems for the run, and posts a wrap-up summary when an event window closes. Setup Create a Google Sheet with tabs named “Events” and “Footage Log” and matching column headers expected by the workflow. Add credentials for Google Sheets OAuth2, Telegram (bot token), and HTTP Header Auth for the RecentReborn API (Authorization: Bearer …). Add an OpenAI API credential if you keep AI labeling enabled (set useAi to false in the config to run rules-only). In the configuration values, set sheetUrl to your Google Sheet URL and telegramChatId to the chat that should receive digests and alerts. Activate the workflow and use the form URL (path: /eyewitness-event-window) to start an event window and begin monitoring. Requirements A RecentReborn API account (app.recentreborn.com) with an API key Additional info Visit https://recentreborn.com/developers for more tutorials and templates. An n8n automation workflow template by Felix M.
- 6 nodes
- Automation
- AI
By LanceAPI
Quick overview This workflow runs daily to fetch competitors’ latest Instagram Reels via Apify, transcribe each Reel, generate structured content-strategy insights with an OpenAI-compatible model (DeepSeek), and save the results to Google Sheets while deduplicating and retrying failures using an n8n Data Table. How it works Runs every day at 09:00 on a schedule. Loads the competitor list from Google Sheets and keeps only rows marked as active. For each competitor, uses Apify to fetch a limited set of their most recent Instagram Reels and normalizes them into a consistent Reel URL/key format. Checks an n8n Data Table registry to skip Reels that were already processed successfully and to allow retrying previously failed Reels up to three attempts. For each Reel to process, runs an Apify transcript actor to extract the Reel’s text transcript and validates whether the transcript is usable. Sends the Reel metadata, caption, and transcript to a DeepSeek (OpenAI-compatible) chat model to generate a structured JSON analysis, then validates required fields. Appends or updates the Reel’s analysis in a Google Sheets “Reel Intelligence” tab and records success or failure back to the registry (optionally compiling a Telegram digest). Setup Create and connect Google Sheets OAuth credentials, then select your spreadsheet in the Google Sheets nodes and ensure you have “Competitors” and “Reel Intelligence” tabs with a “reel_key” column in the output tab. Add Apify credentials and ensure the @apify/n8n-nodes-apify community node is installed, then verify the two Apify Actor IDs used for Reels discovery and transcript extraction. Add an OpenAI API credential configured with DeepSeek’s base URL (or another OpenAI-compatible provider) and keep the model set to deepseek-flash. Populate the “Competitors” sheet with instagram_username, an active flag, and optionally max_reels_per_check to control how many recent Reels are analyzed per run. (Optional) Enable Telegram by adding Telegram credentials, setting the chat ID, and updating the workflow condition to turn the digest on. Requirements An Apify account — the two Actors used here are paid per event (a typical run of 10 short Reels costs roughly $0.05, or about $0.005 per Reel). A Google account with Google Sheets access An OpenAI-compatible API key for the analysis step (DeepSeek is used by default) Customization Point the model node at any OpenAI-compatible endpoint. If you switch away from DeepSeek, also delete the extraBody option in the model node — it turns off DeepSeek's reasoning mode, which other providers may reject. Swap the Actor IDs in the two Apify nodes to run any other Apify Actor Enable the Telegram digest node (disabled by default) for a morning summary. An n8n automation workflow template by LanceAPI.
- 5 nodes
- Automation
- AI
By STL Automate
Quick overview For sales operations builders and n8n learners, this credential-free educational workflow demonstrates how to diagnose malformed or incomplete lead payloads before designing a CRM handoff. It runs nine fictional examples and produces explainable review decisions. How it works Runs when you manually execute the workflow. Generates nine synthetic lead examples with different edge cases (missing contact details, invalid email, duplicate IDs, malformed fields, and bad UTM values). Uses JavaScript to normalize text fields, validate event IDs, emails, and phone numbers, and detect duplicate event IDs or emails within the current run. Assigns each lead a status plus reason codes and normalized fields for explainable triage. Routes each item by status into one of several review/hold paths using a Switch, with a fallback route for unexpected statuses. Labels each routed item with a route decision so you can inspect the final outcome per lead in the respective branch. Setup Import the workflow JSON into an isolated n8n instance and keep it inactive. Click Execute workflow to run the Manual Trigger. Optionally edit Generate Synthetic Examples to add fictional cases covering the lead fields and edge cases you want to test. Inspect Evaluate Lead Preflight for nine rows, then open the corresponding Decision: nodes and compare their statuses and reason codes. The default run produces two ready-for-review rows and one row in each of the seven other named branches. The fallback receives no default rows. Requirements Use the built-in Manual Trigger, Code, Switch, Edit Fields (Set), and Sticky Note nodes. Native import and execution were verified on n8n 2.42.7. No credentials, external accounts, or paid services are required. Customization Edit Generate Synthetic Examples to add fictional cases. Additional info Duplicate checks reset each run. Email and phone checks validate format, not deliverability or ownership. The workflow makes no CRM writes or network requests and is not a production lead-handling integration. Native validation used CLI directory import on n8n 2.42.7; GUI import was not independently exercised. An n8n automation workflow template by STL Automate.
- 1 nodes
- Automation
By Vlotstroom
Quick overview This workflow fills cancelled slots automatically: the top three waitlist matches get an offer at once, the first reply wins atomically, and a 30-minute sweeper re-offers expired or declined slots to the next people until the list runs out. How it works When a booking is cancelled, your calendar system POSTs the freed slot to a webhook. The payload is checked and invalid payloads get a clean 422 back. Your waitlist is ranked for that exact slot: treatment match counts most, flexibility next, then your own priority score. The top three people get an offer message at the same time. Every offer round is recorded in an offer book: who was offered, who declined, and when the round expires. Replies arrive on a second webhook. The claim guard decides atomically: the first TAKE wins the slot, later takers get a polite answer, and STOP marks the sender as declined and releases the slot at once. A sweeper runs every 30 minutes: it picks up expired or declined slots, excludes everyone already offered or declined, and re-offers to the next people. When the waitlist runs out, the slot closes as exhausted. Runs every 30 minutes on a schedule to find expired, unclaimed offers and re-ranks the remaining waitlist to send re-offers to the next candidates, logging a summary of how many were re-offered or marked exhausted. Setup Point your booking system cancellation event at the first webhook URL and your messaging webhook at the claim reply URL. Replace the demo waitlist node with your waitlist sheet. Required columns are listed in the node. Replace the two send placeholders with your WhatsApp Business Cloud or SMS node. Activate the workflow. Requirements A waitlist with customer name, phone, wanted treatment, a flexible flag, and a priority score. Demo data included. Customization Ranking weights, offers per round (currently 3), the 30-minute reply window and sweep interval, and all message copy. An n8n automation workflow template by Vlotstroom.
- 1 nodes
- 4 views
- Automation
By Mayank Bhadrasen
Quick overview This workflow runs every three days to collect job postings from Greenhouse, Ashby, Lever, Remotive, RemoteOK, and Jobicy, then de-duplicates and filters them before appending new matches to a Google Sheets Applications tab and logging each run to a Run Log tab. How it works Runs every three days on a schedule. Reads the existing rows in the Google Sheets Applications tab to build a list of already-saved job links and determine the next serial number. Fetches open roles from configured company job boards on Greenhouse, Ashby, and Lever, plus aggregate feeds from Remotive, RemoteOK, and Jobicy. Normalizes all postings into a single schema by cleaning HTML, decoding entities, and converting different date formats into a consistent YYYY-MM-DD date. Filters postings by required fields, description length, posting age, role keywords, and location rules, then de-duplicates within the run and against the existing Google Sheets links. Ranks results with company boards first and newest first, applies per-company and per-run caps, and appends any new jobs to the Google Sheets Applications tab. Writes a summary row to the Google Sheets Run Log tab on every execution, including source health and how many rows were appended. Setup Create a Google Sheet with two tabs named Applications and Run Log and add the exact headers expected by the workflow. Add a Google Sheets OAuth2 credential and select your spreadsheet in the Read Applications, Append to Applications, and Append to Run Log steps. Update the Configure Job Search settings with your target companies (Greenhouse token, Ashby board, Lever slug), role keyword filters, location allow/block lists, and caps before activating the workflow. An n8n automation workflow template by Mayank Bhadrasen.
- 3 nodes
- Automation
By dfsav
Quick overview This workflow runs the Apify Greenhouse Job Edit Feed Actor for a configured Greenhouse board and stores the latest change event per job in an n8n Data Table, after verifying the Actor run status, SUMMARY manifest, and dataset readback. How it works Runs manually when you execute the workflow. Starts an Apify Actor run (Greenhouse Job Edit Feed) for the configured Greenhouse board slug and namespace. Fetches the Actor run’s SUMMARY record from the Apify key-value store and validates that the run succeeded and the board manifest is complete. Creates the “Greenhouse Job Watchlist” n8n Data Table if it does not already exist. Downloads the completed Actor dataset from Apify and verifies the dataset row count and source run IDs match the validated SUMMARY. Deduplicates and maps events to a stable job key (board + post_id), deriving visibility and capturing fields like title, location, URL, description text/hash, and changed fields. Upserts one row per job into the n8n Data Table so re-runs update the existing job record with the latest event details. Setup Create an Apify account and add an Apify API token as an HTTP Bearer credential in n8n, then select it on all three Apify HTTP Request steps. Update the Actor input JSON to set your Greenhouse board slug(s) and the namespace used by the Actor. Ensure your n8n instance has access to n8n Data Tables and keep (or rename) the target table name “Greenhouse Job Watchlist” as needed. An n8n automation workflow template by dfsav.
- 2 nodes
- Automation
By Milos Mrsovic
Quick Overview This workflow runs daily to pull recently lost opportunities from GoHighLevel, evaluates timing/engagement/objection signals, and uses OpenAI to choose a recovery action. It then sends a winback email via Gmail, logs outcomes to Google Sheets, or escalates uncertain cases to a manager. How it works Runs every morning on a schedule. Queries the GoHighLevel (LeadConnector) Opportunities Search API for lost opportunities in a specific location and pipeline, then keeps only those whose status changed within the last 24 hours. Calculates three signals per deal: how long the deal was open (timing), whether the contact shows engagement or opt-out tags (engagement), and whether a lost reason is present (objection). Sends the deal details and signals to an OpenAI chat model to select one recovery action and, when appropriate, generate a short winback email. Sends the winback email to the contact via Gmail when the selected action is SEND_WINBACK_OFFER. Appends the deal, chosen action, reasoning, and an optional follow-up date to a Google Sheets recovery log for follow-ups and do-not-contact outcomes. Emails a manager via Gmail with the deal context and AI reasoning when the selected action is ESCALATE_TO_MANAGER. Setup Create a GoHighLevel Private Integration token and configure the HTTP header auth as Authorization: Bearer , then set your location_id and pipeline_id query values. Add OpenAI credentials for the Chat Model used by the AI agent. Connect a Gmail account for sending the winback and manager escalation emails, and update the sender name and manager email address in the email steps. Connect Google Sheets credentials, select the target spreadsheet and sheet, and ensure the sheet has columns for Date, Deal ID, Deal Name, Contact, Email, Action, Follow Up Date, and Reasoning. Update the engagement tag values (for “still warm” and “opted out”) to match the tags used in your GoHighLevel account. An n8n automation workflow template by Milos Mrsovic.
- 7 nodes
- Automation
- AI
By Jan Goergen-Makinson
Quick Overview This workflow runs daily to check WeatherAPI.com for rain or strong-wind forecasts at a Hospitable property, then messages the current or arriving guest through Hospitable when needed, using an n8n Data Table to prevent repeat sends and email notifications when it cannot send safely. How it works Runs every day at 17:00 on a schedule trigger. Fetches a 2-day hourly forecast from WeatherAPI.com for your property location and evaluates whether rain and/or wind thresholds are met within the next 24 hours. If severe weather is expected, queries the Hospitable Public API for upcoming and in-progress reservations and selects the single eligible in-house or arriving-today guest (or flags the situation as ambiguous/unsendable). Checks an n8n Data Table for recent messages to enforce a 48-hour no-repeat rule and renders a guest-ready message with a natural time phrase (for example, “tonight” or “tomorrow morning”). In LIVE mode, claims a log row in the Data Table and posts the message to the reservation conversation via the Hospitable API, then records whether the send is confirmed, failed, or unknown. Emails the host via SMTP in DRY_RUN mode and whenever the workflow cannot send (for example, no conversation available, overlapping stays, table claim failure, or an unconfirmed send). Setup Create and select credentials for WeatherAPI.com (HTTP Query Auth with parameter key), Hospitable (HTTP Bearer token), and SMTP for the email steps. Update the Config values for your Hospitable property ID, property latitude/longitude, property time zone, host notification email addresses, and message templates/thresholds. Ensure your n8n instance supports Data Tables and allow the workflow to create the weather_messages table (or create it ahead of time with the same columns). Set the workflow time zone to match the property so the 17:00 schedule runs at the correct local time. Start with MODE set to DRY_RUN and switch to LIVE after reviewing the emailed outputs and confirming the guest selection and message text. An n8n automation workflow template by Jan Goergen-Makinson.
- 3 nodes
- Automation
By Wayan Phantom Megaditha
Quick overview This workflow listens for Fireflies.ai transcript-ready webhooks, fetches the meeting transcript, uses Google Gemini to extract structured action items, creates each item as a task in Monday.com, and posts a consolidated meeting recap to a Slack channel. How it works Receives a POST webhook from Fireflies.ai when a meeting transcript finishes processing and immediately returns an OK response. Queries the Fireflies.ai GraphQL API to fetch the transcript title, date, summary action items, and detected action items. Sends the transcript content to Google Gemini to extract a JSON array of action items with task title, assignee, deadline, priority, and notes. Parses the Gemini JSON output and splits it into individual task items while attaching the meeting title and date. Creates one item per action in Monday.com via its GraphQL API, mapping deadlines and notes into board columns. Builds a formatted recap message listing all created tasks and sends it to the selected Slack channel. Setup Add Fireflies.ai API access and configure Fireflies to call this workflow’s webhook URL when transcripts are ready. Create an HTTP Header Auth credential for Fireflies (Authorization: Bearer ) and assign it to the Fireflies transcript request. Add a Google Gemini (PaLM) API credential for the Gemini model used to extract action items. Create an HTTP Header Auth credential for Monday.com (Authorization: ), set your Monday board ID, and ensure the referenced column IDs (for example, status, date4, and text) match your board. Add Slack OAuth2 credentials and replace the target Slack channel ID with the channel where you want the recap posted. Requirements Fireflies.ai account with API access Monday.com account with an API token Google AI Studio (Gemini) API key Slack workspace Customization Edit the Gemini prompt to match your task naming or add output fields Add a Switch node to route tasks to different Monday boards by keyword Replace Slack with Telegram or email Additional info Column IDs differ per Monday.com board. Check yours via the Monday API or the board's column settings before activating. The status label "Not Started" must exist on your board or be created automatically. An n8n automation workflow template by Wayan Phantom Megaditha.
- 5 nodes
- 2 views
- Automation
- AI
By Wolfgang Renner
Quick Overview This webhook-based workflow takes a website URL, finds and fetches the site’s Impressum/imprint page, extracts structured company details with OpenAI, verifies each value against the page text, and returns a JSON response with the verified company data. How it works Receives a POST webhook request containing a website URL (and optionally organization and reference_id). Validates and normalizes the URL, blocks private/local addresses, and returns a 400 response if the input is invalid. Fetches the website homepage and locates an Impressum/imprint URL from links or embedded content, falling back to /impressum when needed. Fetches the Impressum page, converts the HTML into cleaned plain text, and stops extraction when the page has no usable content. Sends the cleaned Impressum text to OpenAI Chat Completions to extract company fields as strict JSON. Verifies the extracted fields by checking they literally appear in the Impressum text, drops unverified values, and returns the verified data plus dropped_fields and the detected impressum_url in the webhook response. Setup Add an OpenAI API credential in n8n and attach it to the HTTP request that calls https://api.openai.com/v1/chat/completions. Copy the production webhook URL and configure your source system to POST JSON like {"website":"https://example.com","organization":"Example GmbH","reference_id":"123"} to it. If you plan to expose the webhook publicly, add authentication (for example, header-based auth) to protect the endpoint. Update the OpenAI model/endpoint settings if you want to use a different model or an OpenAI-compatible provider. An n8n automation workflow template by Wolfgang Renner.
- 2 nodes
- Automation
By Wolfgang Renner
Quick Overview This workflow receives a webhook request and publishes a LinkedIn post as text-only, with up to 20 images, or with a native video by downloading media from provided URLs and posting via the LinkedIn REST/UGC APIs, then returning the created post URL. How it works Receives a POST request on a webhook containing post text plus either an array of image URLs or a single video URL. Validates and normalizes the input (required text, LinkedIn author ID/person URN, and mutual exclusivity of images vs video). If a video URL is provided, it registers a LinkedIn video upload, downloads the video file, uploads it to LinkedIn, and creates a public video post via the LinkedIn UGC API. If one or more image URLs are provided, it registers image uploads with LinkedIn, downloads each image, uploads them to LinkedIn, and builds a single-image or multi-image post payload for the LinkedIn Posts API. If no media is provided, it builds a text-only payload for the LinkedIn Posts API. Creates the LinkedIn post, extracts the post URN from the response headers, and responds to the webhook with the public LinkedIn post URL or returns an error message if LinkedIn rejects the request. Setup Create a LinkedIn app with the Share on LinkedIn product, then add a LinkedIn OAuth2 credential in n8n with the required permissions (for example, w_member_social) and apply it to the LinkedIn HTTP requests. Set your LinkedIn person ID in the workflow’s settings step (or provide author_id in the webhook body) so the workflow can build the correct urn:li:person:* author URN. Expose the webhook URL from n8n and configure your caller to POST JSON such as {"text":"Hello","image_urls":["https://.../a.png"]} or {"text":"Hello","video_url":"https://.../v.mp4"}. Ensure your image/video URLs are publicly reachable by n8n so the workflow can download the files before uploading them to LinkedIn. Review and update the configured LinkedIn API version header as needed to match LinkedIn’s supported monthly version. An n8n automation workflow template by Wolfgang Renner.
- 2 nodes
- Automation
By Rahul Joshi
Quick overview This workflow runs daily to detect AWS and optional GCP cost spikes, enriches AWS anomalies with CloudTrail context and an OpenAI explanation, posts actionable alerts and a run summary to Slack, and logs anomalies plus approve/ignore decisions to Google Sheets via one-time webhook links. How it works Runs every day on a schedule (9 AM IST) and loads threshold/config values plus the existing anomaly log from Google Sheets. Pulls recent daily AWS spend by service and region from AWS Cost Explorer (and optionally queries GCP costs from a BigQuery billing export) and normalizes both into a common structure. Detects day-over-day cost anomalies using dollar, percent, and z-score thresholds while skipping already-seen anomalies and those muted by prior “ignore” decisions. Posts a one-message run summary to Slack listing the anomalies alerted in this run. For each anomaly, fetches recent AWS CloudTrail write events for the affected region when available and sends the anomaly context to OpenAI (gpt-4o-mini) to generate a probable root cause and suggested actions. Posts a Slack alert with key metrics, AI explanation, and buttons to approve as expected or ignore for 7 days, then records the anomaly in Google Sheets. When a button link is clicked, a webhook validates the one-time token, updates the anomaly status (Approved or Ignored with a suppression date) in Google Sheets, returns a confirmation/error page, and posts the decision back to Slack. Setup Create a Google Sheet with an “Anomaly Log” tab and paste its spreadsheet ID into all Google Sheets steps. Add AWS credentials that allow Cost Explorer (GetCostAndUsage) and CloudTrail (LookupEvents), and enable AWS in the config values. If using GCP, add Google OAuth2 credentials with BigQuery access, enable GCP in the config values, and set the GCP project ID and billing export table name. Add OpenAI credentials (for gpt-4o-mini) and Slack credentials, then set the target Slack channel ID for both the run summary and anomaly alerts. Set the webhook base URL in the config values and ensure the “cost-anomaly-action” webhook URL is reachable from Slack button clicks. An n8n automation workflow template by Rahul Joshi.
- 5 nodes
- Automation
- AI
By Rahul Joshi
Quick overview This workflow monitors your n8n instance hourly and weekly by querying the n8n API for active workflows and recent executions, estimating error rates, performance, and OpenAI token spend, then auto-disabling runaway workflows and sending incident alerts and a weekly health digest via Slack, Gmail, and Google Sheets. How it works Runs every hour for an incident “guard” window and every Monday at 9 AM for a 7‑day “digest” window. Calls the n8n REST API to list active workflows (excluding this monitor) and fetches recent execution history for each workflow. Computes per-workflow health metrics (runs, failures, error rate, p95 duration) and estimates LLM cost by scanning execution data for token usage. In guard mode, checks Google Sheets (Guard_Log) to suppress repeat warnings during a cooldown, classifies workflows as warning/critical, and pulls the latest failed execution details from the n8n API to extract the failing node and error message. Automatically deactivates critical workflows via the n8n API unless they are tagged as protected (for example, no-auto-disable or critical), then posts a detailed incident alert to Slack and appends the incident to Google Sheets. In digest mode, reads Google Sheets (Metrics_History) to compare against prior snapshots, detects week-over-week anomalies, clusters similar error messages from sampled failures, and uses OpenAI (gpt-4o-mini) to generate an ops summary. Emails the weekly HTML digest via Gmail, posts a TL;DR to Slack, and appends the current metrics snapshot to Google Sheets for next week’s baseline. Setup Create an n8n API key and configure an HTTP Header Auth credential that sends it as X-N8N-API-KEY for all n8n API requests. Create a Google Sheets spreadsheet with two tabs named Guard_Log and Metrics_History, then set the spreadsheet ID in the Google Sheets nodes. Add credentials for Google Sheets, Slack, Gmail, and OpenAI (used for the weekly digest summary). Update the monitor configuration values (your n8n base URL, thresholds, alert cooldown, OpenAI model, and digest email address) in the configuration step. Set the target Slack channel ID in both Slack posting steps, run the workflow once manually to validate access, then activate it. An n8n automation workflow template by Rahul Joshi.
- 6 nodes
- Automation
- AI
By Rahul Joshi
Quick overview This workflow runs a daily compliance scan from Google Sheets, checks each vehicle’s document expiries and pending e-challans via an HTTP API, then uses OpenAI to message drivers on Telegram, create renewal tasks in ClickUp, notify ops in Slack, and email Gmail digests to fleet managers. How it works Runs every day at 7 AM on a schedule trigger. Reads the Fleet_Register and Alert_Log tabs in Google Sheets to evaluate RC/insurance/PUC/fitness/permit expiries and dedupe alert stages per vehicle. Calls your e-challan provider over HTTP to fetch pending challans, calculates a 0–100 risk score, and sets the vehicle dispatch status to BLOCKED if any document is expired. When dispatch status changes, updates the vehicle’s status in Google Sheets and posts a dispatch gate alert to an ops Slack channel. For vehicles needing action, uses OpenAI (gpt-4o-mini) to generate a driver Telegram message plus manager summary, creates a ClickUp renewal task when needed, sends the driver alert on Telegram, and appends the alert keys/task keys to the Alert_Log sheet. Groups all vehicles needing action by manager email, builds an HTML digest, and sends each fleet manager a daily summary email via Gmail. When a driver sends a document photo to the Telegram bot, the workflow downloads the image, uses OpenAI (gpt-4o) to extract document type/vehicle number/valid-until, validates it against the register, updates Google Sheets if valid, notifies ops in Slack to spot-check, and confirms (or rejects) the upload to the driver on Telegram. Setup Create a Google Sheet with Fleet_Register (vehicle_no, document expiry columns, dispatch_status, blocked_reason, driver_telegram_chat_id, manager_email, chassis_last5) and Alert_Log (logged_at, alert_keys, task_keys, etc.) tabs, and put its ID into all Google Sheets nodes. Add credentials for Google Sheets, OpenAI, Telegram Bot, Slack, ClickUp, and Gmail. Configure the e-challan provider HTTP request with your API URL and HTTP Header Auth credential, and ensure chassis_last5/vehicle_no values match what the provider expects. Set your Slack channel ID, and your ClickUp team/space/list IDs used for renewal task creation. Enable the Telegram trigger by setting the bot webhook (copy the n8n Telegram trigger URL into BotFather/webhook setup as required) and ensure each driver’s Telegram chat ID is present in Fleet_Register so unknown senders are ignored. An n8n automation workflow template by Rahul Joshi.
- 8 nodes
- Automation
- AI
By WeblineIndia
Quick Overview This workflow monitors Gmail for receipt/invoice email attachments, uses Google Gemini to extract expense details, validates and logs them to Google Sheets, alerts Finance in Slack when expenses exceed a limit, and emails confirmations; it also compiles a monthly Google Sheets summary and emails it to Finance. How it works Triggers every minute when a Gmail message matching the receipt/invoice/expense query arrives with an attachment and downloads the attachment. Sends the attachment image to Google Gemini to extract receipt fields (vendor, date, amount, tax, currency, category, payment method, and more) as JSON. Parses and validates the AI JSON, enriches it with the Gmail sender as the employee fallback, assigns an expense ID, and flags whether the amount exceeds the configured expense limit. Appends or updates the expense record in Google Sheets using the Expense ID as the matching key. If the logged expense is above the limit, posts an approval-required alert to a Slack finance channel and then emails the employee a processed receipt notification. If the logged expense is within the limit, emails the employee a processed receipt notification. Runs monthly on a schedule, reads all rows from Google Sheets, calculates totals (amount, tax, averages, category and employee breakdowns, and highest expense), and emails the monthly report via Gmail. Setup Connect credentials for Gmail (trigger + send), Google Sheets, Slack, and Google Gemini (PaLM/Gemini API) in n8n. Create or select a Google Sheet with the columns used in the workflow (for example Expense ID, Employee, Vendor, Receipt Date, Amount, Tax, Currency, Category, Payment Method, Over Limit, Approval Status, Validation Status, and Processed At) and update the spreadsheet and sheet references. Set the target Slack channel for finance approvals and replace the monthly report recipient email address (currently set to user@example.com). Update the expense limit value in the validation step (currently 500) and ensure the Gmail search query matches how your organization receives receipts. Ensure receipt emails include a readable first attachment (the workflow analyzes attachment_0) or adjust the binary property name if your emails contain multiple attachments. An n8n automation workflow template by WeblineIndia.
- 5 nodes
- Automation
- AI
By WeblineIndia
Quick overview This workflow collects employee leave requests via an n8n Form, checks leave balances stored in Google Sheets, emails managers for approval through Gmail (with a Google Gemini-generated message), and updates request status and balances in Google Sheets based on the manager’s email reply. How it works Receives a leave request submission from an n8n Form with employee, manager, date range, leave type, and reason. Looks up the employee in a Google Sheets “Employee Data” spreadsheet and calculates requested days and whether sufficient leave balance exists. If the balance is insufficient, sends a rejection email to the employee via Gmail. If the balance is sufficient, uses Google Gemini to draft a manager approval email and sends it to the manager via Gmail. Stores or updates the leave request in a Google Sheets “Leave Requests” spreadsheet with a generated request ID, status “Pending”, and the Gmail thread ID. Polls Gmail for the manager’s reply, extracts APPROVED/REJECTED, and finds the matching request in Google Sheets using the Gmail thread ID. Updates the request status in the “Leave Requests” sheet and, when approved, deducts the requested days from the corresponding leave balance in the “Employee Data” sheet based on leave type. Setup Connect Gmail credentials for sending the employee/manager emails and for the Gmail Trigger that reads manager replies. Connect Google Sheets credentials and replace the document IDs/sheet tabs for both the “Employee Data” spreadsheet and the “Leave Requests” spreadsheet. Ensure the “Employee Data” sheet includes columns for Employee ID and leave balances (Casual/Causal Leave, Sick Leave, Earned Leave) plus Manager Name and Manager Email. Ensure the “Leave Requests” sheet includes columns matching the workflow mapping (Request ID, Employee ID, dates, Requested Days, Reason, Status, Gmail Thread ID, Manager Reply, Approval Date). Add a Google Gemini (PaLM) API credential and select the desired Gemini model in the AI message step. Publish the n8n Form and share it with employees so submissions reach this workflow. Additional info Troubleshooting Guide | Issue | Possible Cause | Solution | | ------------------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------------- | | Leave balance is not deducted | Wrong leave column mapping | Check Casual Leave, Sick Leave, and Earned Leave mappings | | 7-2 appears instead of 5 | Values are treated as text | Use Number() in the n8n expression | | Manager reply is empty | Gmail output uses different field names | Use the Gmail snippet field when required | | Manager email is empty | Gmail field is From instead of from | Use email.From | | Subject is empty | Gmail field is Subject instead of subject | Use email.Subject | | Leave request cannot be found | Thread ID was not saved | Save the Gmail Thread ID in Leave Requests | | Wrong leave request is updated | Incorrect Employee ID or Thread ID mapping | Verify the lookup field and value | | Employee notification not sent | Invalid email address | Check Employee Email in Employee Data | | Manager approval not detected | Reply does not start with APPROVED/REJECTED | Ask manager to reply exactly with APPROVED or REJECTED | | Balance becomes negative | Incorrect balance check | Ensure approval is allowed only when available balance is greater than or equal to requested days | Need Help? If you need help customizing or extending this workflow, adding multi-level approvals, reminders, escalation, leave reports, dashboards, holiday calculations or additional leave types, then WeblineIndia's n8n team can assist you with advanced automation. An n8n automation workflow template by WeblineIndia.
- 4 nodes
- Automation
- AI
By WeblineIndia
Quick overview This workflow captures employee exit details via an n8n form, looks up the employee in Google Sheets, creates IT and HR offboarding tasks in ClickUp, and posts notifications to Slack, then runs on a schedule to check ClickUp task completion and escalates any pending tasks to management. How it works Receives an employee offboarding request from an n8n form submission. Validates that the submitted Last Working Date is today or later before continuing. Looks up the employee record in Google Sheets using the submitted Employee ID and builds IT and HR task checklists from the employee details. Creates the IT and HR offboarding tasks in ClickUp from the generated checklists. Posts offboarding kickoff notifications to dedicated Slack channels for IT and HR. Runs weekly to fetch all related tasks from ClickUp, calculates completed vs. pending tasks, and sends a Slack escalation to the management channel when pending work remains. Setup Connect Google Sheets credentials and update the spreadsheet document ID, sheet tab, and Employee ID lookup column/value to match your employee master sheet. Connect ClickUp credentials and set the correct team, space, and list IDs where offboarding tasks should be created and tracked. Connect Slack credentials and select the IT, HR, and management channel IDs for the three Slack notifications. Review and customize the predefined IT/HR task checklists and any department-based task rules in the workflow’s JavaScript logic. Adjust the weekly schedule interval and ensure the ClickUp task statuses used in the completion check match your ClickUp workspace status names. Additional info Add-Ons (Optional Enhancements) You can extend this workflow to: Send email notifications in addition to Slack Automatically disable user accounts through company APIs Integrate with Microsoft 365 or Google Workspace Automatically revoke GitHub or GitLab access Create an employee asset return checklist Add manager approval before creating offboarding tasks Send reminders before the Last Working Date Escalate tasks based on how long they remain pending Store completed offboarding records in Google Sheets Generate monthly offboarding reports Create dashboards showing completed and pending exits Add an AI-generated summary of pending offboarding risks Use Case Examples 1. Employee Resignation An employee submits their resignation and HR starts the workflow. The system automatically creates IT and HR tasks, including account access removal, asset collection, exit interviews, and final settlement activities. 2. Engineering Employee Exit An Engineering employee leaves the company. In addition to common IT tasks, the workflow can create tasks to remove GitLab, development environment, server, and VPN access. 3. Pending Asset Return The employee's laptop has not been returned. The scheduled workflow identifies the task as pending and includes it in one management escalation message. 4. Incomplete HR Activities The exit interview and final settlement are still incomplete. The workflow identifies these tasks and sends them together in a single Slack message instead of sending separate alerts. 5. Daily Offboarding Monitoring The Schedule Trigger runs every morning and checks active offboarding tasks. Management receives an escalation only when pending tasks exist. Troubleshooting Guide | Issue | Possible Cause | Solution | |---|---|---| | Invalid exit date | Date format or comparison is incorrect | Ensure both dates use a compatible format, such as YYYY-MM-DD | | Employee not found | Employee ID does not exist in Google Sheets | Check the Employee ID and Google Sheets lookup column | | ClickUp tasks not created | Incorrect ClickUp credentials or List ID | Reconnect ClickUp and verify the selected list | | Only one task created | Task array was not split | Use the Split Out node before ClickUp Create Task | | Slack notification sent multiple times | Slack receives multiple task items | Send the notification before Split Out or aggregate items into one item | | IT tasks routed incorrectly | Switch condition checks the wrong field | Route using the task department/type, such as IT or HR | | Pending task count is incorrect | ClickUp status format is different | Normalize the status value in the Code node | | Code node error: toLowerCase is not a function | Status is returned as an object | Convert the status safely to a string before calling toLowerCase() | | Escalation sent multiple times | Multiple items reach the Slack node | Aggregate all pending tasks into one item before Slack | | No management alert | Pending task count is 0 or IF condition is incorrect | Check that the IF condition uses pending_tasks > 0 | | Scheduled workflow not running | Schedule Trigger is inactive | Activate the second workflow | Need Help? If you need help customizing or extending this workflow, adding department-specific checklists, automatic account removal, employee asset tracking, email notifications, approval processes, dashboards or more advanced escalation rules, then WeblineIndia team can assist you with advanced automation and production-ready workflow improvements. An n8n automation workflow template by WeblineIndia.
- 4 nodes
- 3 views
- Automation
By WeblineIndia
Quick overview This workflow fetches mobile app reviews from an HTTP endpoint, analyzes each review with Google Gemini for sentiment and support category, logs negative reviews to Google Sheets, and alerts your team via Slack and Gmail with an AI-suggested reply. How it works Runs manually when you click Execute workflow in n8n. Calls an HTTP endpoint to retrieve a batch of app reviews and normalizes them into one item per review with metadata like rating, platform, and device details. Sends each review to Google Gemini to generate a sentiment label, sentiment score, and confidence, then parses the JSON response. Sends the same review to Google Gemini again to classify it into a single support category (for example Bug, Payment, or Crash) and parses the JSON response. If the review sentiment is Negative, appends or updates a row in Google Sheets with the review details, sentiment, and category. If the negative review meets the workflow’s critical conditions, posts an alert to a Slack channel, generates a short suggested reply with Google Gemini, and emails the review details and suggested response via Gmail. Setup Provide Google Gemini (PaLM) credentials for the three Google Gemini nodes used for sentiment analysis, categorization, and reply generation. Update the HTTP Request node URL to your reviews API endpoint (and add any required authentication options). Connect Google Sheets credentials and update the spreadsheet/document ID and sheet tab so the columns (for example Review ID, Rating, Review, Category, and Sentimate) match your sheet. Connect Slack credentials and choose the target channel for critical review alerts. Connect Gmail credentials and update the recipient email address (sendTo) used for the review alert message. Additional info Use Case Examples 1. Customer Feedback Monitoring Automatically collect and analyze customer reviews instead of manually checking the stores. 2. Crash Detection Identify reviews mentioning application crashes and notify the development team. 3. Payment Issue Detection Detect payment-related complaints and send them to the appropriate team. 4. Login Issue Tracking Automatically identify users reporting login or authentication problems. 5. Feature Request Collection Identify customer requests and store them for future product planning. 6. Customer Response Assistance Generate a professional suggested response that the support team can review before replying to the customer. Troubleshooting Guide | Issue | Possible Cause | Solution | |---|---|---| | No reviews returned | FastAPI is not running | Start the FastAPI server and test /reviews | | HTTP Request fails | Wrong API URL | Check the FastAPI URL and port | | Only one item appears | Reviews array was not normalized | Check the Normalize Reviews Code node | | Gemini returns invalid JSON | Prompt/output format issue | Ask Gemini to return only valid JSON | | Sentiment is incorrect | Review context is unclear | Improve the Gemini sentiment prompt | | Wrong category | Category rules are unclear | Update the Gemini classification prompt | | Google Sheets error | Column names do not match | Check the Google Sheets column mapping | | Slack alert not sent | Invalid credentials/channel | Reconnect Slack and check the selected channel | | Gmail not sent | Gmail credentials issue | Reconnect Gmail and verify permissions | | Critical reviews not detected | IF condition is incorrect | Check rating/category/sentiment conditions | | FastAPI works in browser but not n8n | n8n cannot access localhost | Use the FastAPI machine's network IP instead of localhost | Need Help? If you need help customizing or extending this workflow, connecting real Google Play/App Store APIs, monitoring multiple apps, creating review dashboards, automatically creating development tasks or improving AI-based review analysis, then our n8n development team at WeblineIndia can assist you with advanced automation. An n8n automation workflow template by WeblineIndia.
- 6 nodes
- Automation
- AI
By Stallkit Studio
Quick overview Turn your Etsy monthly statement and Order Items CSVs plus a simple cost sheet into a monthly P&L, profit-by-listing flags, and a plain-language summary — without the Etsy API. Optional Gemini rewrite for the summary; otherwise a rule-based summary works with no API key. How it works Reads your Etsy Monthly statement CSV, your Order Items CSV, and your own cost sheet. No Etsy API is used. Builds a monthly P&L: sales, refunds, every fee line Etsy shows, COGS, net profit, and margin. Breaks profit down by listing and flags LOSS, LOW_MARGIN, MISSING_COGS, and REFUNDED. Writes a short plain-language summary. The default is a rule-based summary that works with no API key. Optional: if you add your own Gemini key, the summary can be rewritten by Gemini. Otherwise the rule-based summary is used. Demo mode includes built-in sample CSVs so you can test the install before connecting anything. Setup You need n8n, either self-hosted Community or n8n Cloud, plus your own Etsy CSV exports. There is no Etsy API connection. A Gemini API key is optional and is used only for the AI summary. Without a key, the rule-based summary still works. So far this has been tested with sample data in Etsy’s export format, not with a real shop’s files. Google Sheets read and write has not been tested by us on a live sheet yet. Always check the numbers before you rely on them for tax or bookkeeping. Requirements n8n (self-hosted Community or n8n Cloud) Your own Etsy CSV exports (no Etsy API) Optional: Gemini API key for the AI summary only Additional info By Stallkit Studio — free download: https://stallkitstudio.gumroad.com/l/profit-tracker Store: https://stallkitstudio.gumroad.com Etsy, Shopify and n8n are trademarks of their respective owners. Stallkit Studio is not affiliated with or endorsed by them. An n8n automation workflow template by Stallkit Studio.
- 3 nodes
- Automation
By Bhaskar Gorati
Quick overview This workflow runs every three hours to dedupe and log new customer reviews in Supabase, uses Anthropic to analyze sentiment and draft public replies, requests Slack approval for risky cases, publishes approved responses via an HTTP endpoint, and stores structured feedback insights. How it works Runs every 3 hours on a schedule to fetch the latest reviews (demo data that you can replace with the Google Business Profile Reviews API). Checks Supabase for existing review IDs and filters out already-processed or duplicate reviews. Processes each new review one at a time, using Anthropic to classify sentiment/topics/urgency and draft a concise public reply. Routes the review by sentiment (positive/neutral/negative), then runs an additional AI escalation check and rule-based safeguards to decide if human approval is required. Saves the full review record (analysis, drafted reply, priority, and statuses) to the Supabase reviews table. If approval is required, posts the review and proposed response to Slack and waits for an approve/reject decision via a resume link (with a timeout). Publishes approved replies to a configured HTTP endpoint (replace with the Google Business Profile Reply API), updates the review status in Supabase, notifies the owner in Slack for important cases, and saves a per-review insight to Supabase feedback_insights. Setup Add Supabase credentials and create the reviews and feedback_insights tables with fields matching the workflow’s inserts/updates. Add Slack OAuth2 credentials and set the channel ID used for approval requests and owner notifications. Add an Anthropic credential (or n8n AI Gateway-managed Anthropic access) for the analysis, reply drafting, escalation check, and insight extraction steps. Replace the demo “Get New Reviews” step with a real integration (for example, Google Business Profile Reviews API) and map the response to review_id, customer_name, rating, review_text, review_date, business_id, and business_name. Replace the mock publish URL with your real review-reply endpoint (for example, Google Business Profile Reply API) and ensure it uses the workflow’s final_response text. Requirements Google Business Profile access: the client adds you as a manager on their listing, and you set up OAuth2 with the Business Profile API. This is needed to read reviews and post replies. Accounts and credentials: an OpenAI API key, a Supabase project with the reviews and feedback_insights tables, and a Slack workspace with the app invited to the channel. Business details: the business name, a business ID, the Slack channel ID, and the person who approves risky replies. Brand voice: the tone they want (formal, friendly, local language), the sign-off name, and a private contact (phone or email) to put in negative-review replies. Escalation rules: what counts as serious for them (refund, legal, safety, staff complaints), and who gets the Slack alert. Customization Reply tone: edit the system prompt in Generate AI Response (language, length, emoji or none, sign-off). Approval level: the default is human approval for ratings of 2 or below, risky keywords, or high urgency. Strict clients can require approval for every reply, and relaxed ones only for ratings of 1. Check frequency: change the Schedule Trigger from every 3 hours to hourly or daily. Alerts: change which reviews notify the owner (all 5-star and negative by default), or send to email or WhatsApp instead of Slack. Keywords and topics: adjust the risk keyword list in Build Review Record and the allowed topics (for example room_service or food for a hotel or restaurant). An n8n automation workflow template by Bhaskar Gorati.
- 6 nodes
- 2 views
- Automation
- AI
By PewterDesk
Quick overview Every Monday this workflow audits your list of pages with Google PageSpeed Insights (via the Bulk PageSpeed Insights & Core Web Vitals Checker Apify Actor), logs one row per page to Google Sheets, and posts to Slack only when a page drops below your threshold or fails Core Web Vitals. How it works Schedule Trigger runs weekly (Monday 7am; change it to any interval). Set node holds your URL list and minimum performance score. Apify node runs the pewterdesk Bulk PageSpeed Insights & Core Web Vitals Checker Actor and waits for the results (cost cap: $1 per run). Code node flattens results into clean rows with performance and SEO score, lab LCP and CLS, real-user (CrUX) LCP and INP, Core Web Vitals pass/fail and the biggest fix Lighthouse suggests, and flags pages that need attention. Google Sheets appends every row to a tab named PageSpeed log. A second Code node builds one Slack message only if something is slow, and the Slack node posts it. Setup Create a free Apify account and add your API token as an Apify credential. Optional but recommended: add a free Google PageSpeed Insights API key to the Actor input. Create a Google Sheet with a tab named PageSpeed log and connect your Google Sheets credential. Pick a Slack channel and connect Slack (or delete the Slack node if you only want the sheet log). Edit your URL list and minimum performance score in the Set node. Requirements Apify account (free) and API token Customization Audit desktop too: add 'desktop' to strategies in the Apify node. Track accessibility or best practices: add them to categories. Swap Slack for email, Discord or Teams. Additional info Who is this for? Site owners, SEO folks, agencies and developers who want to know when a page gets slow, without checking PageSpeed Insights by hand. Actor used: Bulk PageSpeed Insights & Core Web Vitals Checker - https://apify.com/pewterdesk/bulk-pagespeed-core-web-vitals. An n8n automation workflow template by PewterDesk.
- 3 nodes
- Automation
By Felix M
Quick overview This workflow collects recent Instagram posts for a user-provided hashtag using RecentReborn, calculates and ranks co-used hashtags across distinct accounts, and returns an interactive results page (table, pairs, graph, CSV) via an n8n Form completion screen. How it works Receives a submission from an n8n Form (or runs manually with default values from a configuration step). Cleans and validates the hashtag, sample size, and optional exclude list and returns a form error screen if the input is invalid. Uses RecentReborn to search Instagram posts for the hashtag up to the requested limit, retrying temporary failures with exponential backoff and turning API errors into user-readable messages. Deduplicates and filters the returned posts (including repost and hashtag-stuffing checks), then counts and ranks co-used hashtags by distinct accounts, posts, and like-based metrics and also calculates frequently co-occurring hashtag pairs. Builds an HTML results page that includes summary cards, warnings, a sortable/filterable ranking table, a hashtag set to copy, a pairs list, a network graph, a post list, and a CSV export. If the run was started from the form, displays the generated HTML as the form completion screen; otherwise it leaves the results available in the execution data. Setup Install the community node n8n-nodes-recentreborn on a self-hosted n8n instance and restart n8n if required. Create and select a RecentReborn API credential (API key from app.recentreborn.com with API access) for the Instagram hashtag search step. Open the n8n Form trigger, copy its production URL, and share it with users who should run analyses (optionally enable form authentication to control credit usage). Review and adjust defaults and limits in the Config step (for example max sample size, retry settings, exclude list, minimum accounts per hashtag, and output sizes). Requirements A RecentReborn API account (app.recentreborn.com) with an API key Customization Visit https://recentreborn.com/developers for more tutorials and templates. An n8n automation workflow template by Felix M.
- 1 nodes
- Automation
By Datasmithlab
Quick overview This workflow runs daily (or manually) to snapshot Google Ads Transparency results for a single competitor domain via the Apify Google Ads Transparency Scraper, validates the run output, and upserts ad records into a Google Sheets “Ads” tab to maintain a growing log of observed ads. How it works Runs on a daily 09:00 UTC schedule (or via manual run) and loads the Google Sheets ID, Apify Actor input, and safety limits. Validates that the configuration uses a single lowercase domain, “ads” snapshot mode, and a maximum charge cap before continuing. Reads existing ad records from the “Ads” sheet in Google Sheets to preserve previously saved keys and delivery status. Starts the Apify datasmithlab/google-ads-transparency-scraper Actor and polls Apify until the run succeeds or fails. Fetches HEALTH and TARGETS records plus the ads dataset from Apify and stops if the results look incomplete or unreliable. Builds a scope-specific key for each ad, merges the latest snapshot with saved rows (keeping older rows even if they disappear), and marks new keys as baseline/logged depending on whether this scope is empty. Upserts the assembled rows back into the Google Sheets “Ads” tab and outputs a run summary with counts and coverage notes. Setup Create a Google Sheet with a tab named “Ads” and add the required header columns (from the provided CSV in the template notes/repo). Add Google Sheets OAuth credentials in n8n and select them for the Google Sheets read and write steps. Add an Apify API token as HTTP Header Auth (Authorization: Bearer YOUR_APIFY_TOKEN) and select it for all Apify HTTP requests. In the Configuration step, replace REPLACE_WITH_SPREADSHEET_ID with your Sheet ID and set the Apify Actor input (one domain, region, and maxItems) plus a maxTotalChargeUsd limit. Run the workflow manually at least twice to confirm baseline vs. update behavior, then activate the daily schedule once the sheet keys look stable. Requirements An Apify account with access to the Google Ads Transparency Scraper, an Apify API token stored in n8n Header Auth, Google Sheets OAuth2 credentials, and a dedicated Ads tab with the supplied CSV headers. Actor usage may incur charges; review current pricing before running. Customization Change the competitor domain and region in Configuration. Keep the initial 20-ad snapshot cap and review the per-run charge limit before expanding coverage. Adjust the daily schedule after two successful manual runs. First-seen records indicate discovery by this workflow, not the ad publication date. Additional info Setup guide: https://datasmith-lab.github.io/datasmithlab-google-ads-n8n/track-google-ads-google-sheets-n8n.html Source and starter: https://github.com/Datasmith-lab/datasmithlab-google-ads-n8n Actor: https://apify.com/datasmithlab/google-ads-transparency-scraper The downloadable workflow is inactive and contains no credentials or private spreadsheet identifiers. A bounded snapshot does not guarantee complete ad history. Native import and offline engine validation passed; simulated services are distinguished from the previously verified live Google Sheets integration. An n8n automation workflow template by Datasmithlab.
- 3 nodes
- Automation
By Quirino Scaramastra
Quick overview This workflow runs every 5 minutes to detect blocking PostgreSQL sessions, retrieves a severity criterion from a pgvector knowledge base, uses Ollama to propose an action, and sends the recommendation to Telegram for approval before optionally terminating the blocking session. How it works Runs every 5 minutes on a schedule. Queries PostgreSQL to find blocking/blocked sessions, skipping blockers that already have a recent proposal in the audit log. Groups results by blocking session (PID) to create one triage item per blocker and summarizes wait time and affected sessions. Generates an embedding with Ollama and searches a PostgreSQL pgvector knowledge base to select the applicable severity criterion and supporting context. Sends the situation and retrieved criterion to Ollama to return a JSON proposal (severity, action, and motivation) and formats a Telegram-ready message. Logs the proposal to PostgreSQL and sends a Telegram approval message that waits for an approve/reject response. If approved, calls a PostgreSQL function to terminate the blocking session and posts the outcome to Telegram; if rejected, logs the rejection to PostgreSQL. Setup Create and configure two PostgreSQL credentials: one with read/log permissions (for pg_stat_activity, kb.documenti, and ops.log_event) and one with permission to execute ops.terminate_session. Set up the PostgreSQL schema objects used by the workflow (ops.audit_log and ops.log_event, ops.terminate_session, and kb.documenti with pgvector embeddings and the expected metadata fields). Provide access to an Ollama instance and update the Ollama base URL plus the generation and embedding model names in the configuration values. Create a Telegram bot credential, set the target Telegram chat ID, and enter the approver name used for audit logging. An n8n automation workflow template by Quirino Scaramastra.
- 4 nodes
- Automation
By PostWire
Quick Overview This workflow runs every weekday and pulls the next “ready” topic from Google Sheets, uses PostWire to generate draft posts for LinkedIn, Facebook, and Bluesky, then emails the drafts via Gmail for approval before publishing the approved text and writing posting results back to the sheet. How it works Runs every weekday at 9:00 and reads Google Sheets rows where the status is set to “ready.” Takes the first available topic, then updates the same row in Google Sheets to mark it as “drafting” to prevent duplicate drafting. Uses PostWire to generate platform-specific drafts (LinkedIn, Facebook, and Bluesky) using the topic, optional notes, and your configured brand voice. Sends the drafts to you in Gmail and waits for an approve-or-skip response. If approved, publishes the drafts to the selected networks with PostWire and aggregates the per-network publish results. Updates the Google Sheets row with post links and a “posted” status if everything succeeds, or writes error details and emails you fix instructions if one or more networks fail, while a skip marks the row as “skipped.” Setup Install and configure PostWire (postwire.io), connect your social accounts, and add a PostWire API credential in n8n. Add Google Sheets OAuth credentials, select your spreadsheet and sheet in each Google Sheets step, and ensure the sheet includes columns like topic, notes, status, posted_at, links, note, and row_number. Add Gmail credentials and set the approval email recipient address and your writing voice text in the workflow’s configuration values. Queue topics by setting status to “ready,” and optionally adjust the schedule time and the target PostWire platforms to match your posting plan. An n8n automation workflow template by PostWire.
- 2 nodes
- Automation
By PostWire
Quick Overview This workflow runs every weekday, pulls your country’s Google Trends RSS items, uses Perplexity to choose and research one brand-relevant trend, then uses PostWire to write and publish tailored posts to LinkedIn, Facebook, and Bluesky while logging results to Google Sheets and emailing failures via Gmail. How it works Runs every weekday at 8:00 using a schedule trigger. Reads the Google Trends RSS feed for the configured country, skips trends seen in previous executions, and keeps the top 10 items. Sends the trend list and your brand/niche context to Perplexity to pick one suitable trend (or return no match) and provide a short explanation, facts, and source citations. Stops if Perplexity marks the trend as not relevant, so no social posts are created. Uses PostWire to generate and publish a native post for LinkedIn, Facebook, and Bluesky based on the selected trend and research. Appends a “published” row per network to Google Sheets with the post URL and sources, and if any publish fails, logs the error details and emails a consolidated fix request via Gmail. Setup Create a Perplexity API credential in n8n. Install and configure the PostWire node, add a PostWire API credential, and connect your LinkedIn, Facebook, and Bluesky accounts in PostWire. Create a Google Sheets spreadsheet with columns date, trend, network, status, link, sources, and note, then select the document and sheet in both Google Sheets nodes. Connect a Gmail account in n8n and set your recipient email plus your brand, niche, and country code in the “Set your brand and niche” step. An n8n automation workflow template by PostWire.
- 3 nodes
- Automation
- AI
By Fluxo Pronto
Quick overview This workflow runs manually to validate Portuguese NIF tax IDs, verify configured VAT taxes in InvoiceXpress, and then create a draft invoice-receipt (fatura-recibo) via the InvoiceXpress API, returning the new document ID and totals. How it works Runs when you execute the workflow manually with the provided sample payment data. Normalizes the payment fields (customer, NIF, items, amount, and VAT rate) into a consistent structure. Validates the payment totals and VAT rates, checks the Portuguese NIF check digit, and falls back to “Consumidor final” when the NIF is missing/invalid based on your settings. Calls the InvoiceXpress API to list available taxes and verifies that each configured tax name exists with the expected percentage. Builds the InvoiceXpress payload with net unit prices, selected taxes, and optional series and tax-exemption reason. Creates a draft invoice-receipt in InvoiceXpress and outputs the created document ID, total, and any validation warnings. Setup Create an InvoiceXpress API key and add an n8n HTTP Custom Auth credential that sends it as a query string (for example: { "qs": { "api_key": "YOUR_API_KEY" } }) and select it on both InvoiceXpress HTTP Request steps. Update invoicexpress_base_url in the Configuration data to your account URL (for example: https://YOUR-ACCOUNT.app.invoicexpress.com). Ensure your InvoiceXpress account has taxes set up to match your taxas_iva mapping (tax name per VAT rate) and fill motivo_isencao if you use any 0% VAT items. Adjust the sample payment fields (customer details, NIF, description, amount, and taxa_iva) and then execute the workflow to generate a draft document. Requirements An InvoiceXpress account with API access. Customization Replace the manual trigger with a Webhook or Form trigger. Field names are Portuguese: nome (name), valor (amount with VAT), taxa_iva (VAT rate). Additional info Tested on n8n 2.41.6 (self-hosted) with a simulated InvoiceXpress API built from the official docs; not yet tested on a real InvoiceXpress account. Full version: the full version on Gumroad creates and finalises the invoice right after a Stripe or webhook payment, sends it to the customer, never duplicates invoices and alerts you by email when something fails. Em português: valida o NIF e cria um rascunho de fatura-recibo no InvoiceXpress. An n8n automation workflow template by Fluxo Pronto.
- 2 nodes
- Automation
By Mayron Kersbaum
Quick overview This workflow receives a webhook request and duplicates related task templates in Notion into new tasks, rebuilding subtask and dependency relations between the copies and optionally updating the task owner based on required “Função” taxonomies. How it works Receives a webhook request containing the source Notion task page and the Notion data sources to use. Queries the Notion “Taxonomias” data source to identify the taxonomy entry that marks pages as “Modelos de tarefa”. Calls a helper workflow to load the task’s related templates (including nested subitems) and flattens them into a deduplicated list to avoid repeated or circular references. Creates a new Notion task page for each template in the “Tarefas” data source, copying allowed properties while removing model-only taxonomy tags and clearing reverse-reference relations. Uses the saved template→copy mapping to rebuild relations (Subitem, Bloqueando, and ✅ Tarefas Relacionadas) so the newly created tasks link to each other correctly, and updates the new pages in Notion. For each created task, loads its taxonomies and current assignee taxonomies and, when the task requires a “Função”, iterates through assignee candidates (and their nested group members) to assign the first participant whose function taxonomy matches. Setup Create a Notion integration, share access to your “Tarefas” and “Taxonomias” databases, and add the integration token as an HTTP Bearer Auth credential in n8n. Ensure the Notion properties referenced by the workflow exist and match these names: 🏷️ Taxonomia, 👥 Responsável, Integrantes, Subitem, Bloqueando, and ✅ Tarefas Relacionadas. Import and publish the sub-workflow “Enriquecer Página do Notion”, then select its workflow ID in each Execute Workflow step. Copy the webhook URL from the Webhook trigger and configure the source system to POST the expected payload, including a tarefa (page object) and data_sources entries titled “Tarefas” and “Taxonomias”. An n8n automation workflow template by Mayron Kersbaum.
- 2 nodes
- 2 views
- Automation
By Michael Matthews
Quick overview Customers text photos of a pile to your Twilio number. OpenAI describes it and matches it to your price list in Google Sheets; the total is added up in code. Big or odd jobs wait for your YES by text. YES plus a day books a Google Calendar hold. How it works Receives an inbound SMS/MMS webhook from Twilio (or runs on a 30-minute schedule for follow-ups, or runs manually once to create the spreadsheet). Checks whether the text came from the owner's mobile (set in Your settings), which means an approval reply, or from a customer (photos, a booking reply, or another text), and reads that customer's quotes from Google Sheets. For owner replies, interprets YES/NO/custom price instructions, updates the matching quote row in Google Sheets, and sends SMS updates to the customer and the owner via Twilio. For customer photos, downloads the images from Twilio, optionally saves them to a Google Drive folder, and sends the full photo set to OpenAI Vision to identify items, load size, and any restricted materials. Reads the “Price list” tab from Google Sheets, has OpenAI map the observed items to your load sizes and extra charges, then calculates the final total in code and appends a new quote record to the “Quotes” sheet. Texts the quote to the customer automatically when it meets your rules, or texts the owner for approval when the quote is high, unclear, heavy, or includes not-accepted items. When a customer replies YES with a preferred day/time, creates a hold event in Google Calendar, marks the quote as booked in Google Sheets, and sends confirmation SMS messages to both the customer and the owner. Every 30 minutes, scans Google Sheets to remind the owner about pending approvals, nudge customers once after a configurable delay, and expire quotes past the validity window. Setup Create and connect credentials for Twilio, OpenAI, Google Sheets, Google Drive (optional), and Google Calendar. Run the manual “Create my spreadsheet” path once, then edit the “Price list” tab in the new Google Sheets file and copy its spreadsheet ID into the workflow settings. Fill in the workflow settings for your Twilio number (E.164), owner mobile number (E.164), Google Calendar ID, time zone, approval threshold, quote validity, and optional Google Drive folder ID for photo storage. In Twilio, set your phone number’s “A message comes in” webhook to the workflow’s “Text comes in” webhook URL and use HTTP POST. Ensure your Google Calendar is accessible by the connected Google account and matches the configured calendar ID (often your Google account email or a group.calendar.google.com address). An n8n automation workflow template by Michael Matthews.
- 10 nodes
- Automation
- AI
By Guillaume Goisset
Quick overview This workflow exports a selected date range from QuickBooks Online into a single ZIP archive containing bank ledger data, bank transactions, invoices (with PDFs), client payments, expenses, and any attached files, making it easier to share a complete accounting package with an accountant. How it works Starts manually and sets the QuickBooks Online company ID, API base URL, and the export date range (last month by default). Pulls the Transaction List report for Bank accounts from QuickBooks Online and converts it into a bank_ledger.csv file. Queries QuickBooks Online for multiple bank-related transaction entity types in the date range, normalizes the results, and prepares transaction IDs for attachment matching. Retrieves all QuickBooks Online Attachable records, expands them to one row per linked transaction, filters for real downloadable files, and downloads the attachments. Fetches invoices in the date range, keeps invoices that are sent or not open, exports invoices.csv, and downloads each matching invoice as a PDF. Fetches payments received and expenses (purchases) in the date range and exports them to payments_received.csv and expenses.csv. Creates attachments_index.csv mapping attachments to their linked transactions, then bundles all CSVs, PDFs, and attachment files into one ZIP file for download. Setup Create and select a QuickBooks Online OAuth2 credential (Intuit developer app) for the QuickBooks nodes and the two HTTP Request query steps. Update the company ID (realmId) in the Config step with your QuickBooks Online Company ID. Adjust startDate/endDate (and apiBase if you use a QuickBooks sandbox) in Config, then execute the workflow and download the ZIP output from the final compression step. Requirements A QuickBooks Online company and an Intuit developer app for the OAuth2 credential. An n8n automation workflow template by Guillaume Goisset.
- 3 nodes
- Automation
By Bincy Bhanu. S
Quick overview This workflow receives inbound leads via a webhook, scores and categorizes them with OpenAI, logs every lead to Google Sheets, and sends a Slack alert for leads that meet or exceed a configurable score threshold. How it works Receives a lead submission via an HTTP POST webhook. Normalizes the incoming payload to the expected lead fields (name, email, company, message) and applies workflow configuration values like the score threshold and target destinations. Sends the lead details to the OpenAI Chat Completions API to generate a JSON score (0–100), tier (hot/warm/cold), and a short reason, continuing even if the API call fails. Parses and validates the OpenAI response (or falls back to an unscored default), adds a timestamp, and prepares the final lead record. Appends the lead record to a Google Sheets spreadsheet. If the score meets the configured threshold, posts a hot-lead alert message to a Slack channel; otherwise, it ends without sending an alert. Setup Create a Google Sheet with a tab (for example, “Leads”) that includes columns for name, email, company, message, score, tier, reason, and receivedAt. Add credentials for OpenAI, Google Sheets (OAuth2), and Slack. In the workflow configuration values, set your Google Sheet ID, sheet/tab name, Slack channel, OpenAI model, and the hot lead score threshold. Copy the webhook URL from n8n and configure your form/tool to POST lead submissions to that endpoint. An n8n automation workflow template by Bincy Bhanu. S.
- 4 nodes
- Automation
By AI Automation Playbook
Quick overview This workflow receives uploaded invoice files via a webhook, uses OpenAI to extract structured invoice fields, checks and logs invoices in Google Sheets, and emails status updates via Gmail, optionally posting clean invoices to your accounting system through a configurable HTTP request. How it works Receives an invoice file upload via a webhook endpoint. Validates the uploaded file type and extracts text from the PDF content. Uses OpenAI to extract invoice fields (vendor, invoice number/dates, totals, currency, and line items) from the extracted text. Reads the existing “Invoices” tab in Google Sheets to detect duplicates by vendor name and invoice number, and emails you via Gmail if a duplicate is found. Validates line-item totals against the extracted invoice total and flags low-confidence extractions, sending a Gmail review email when manual review is needed. Posts non-flagged invoices to your accounting software via an HTTP request, appends the invoice record with status to Google Sheets, and responds to the webhook with a JSON “received” message. Runs daily at 8:00 AM to read the Google Sheets log, filter invoices still marked “review,” and emails you a reminder list via Gmail. Setup Add credentials for OpenAI, Google Sheets OAuth2, and Gmail OAuth2. Update both CONFIG nodes with your owner email address and the Google Sheets document ID, and create a sheet tab named “Invoices” with columns for at least date, status, vendor_name, invoice_number, total_amount, and currency. Configure the “Post to Accounting - HTTP” request with your QuickBooks/Xero (or other accounting system) endpoint and authentication method. Copy the production webhook URL for the invoice upload webhook and configure your upload form or upstream system to POST the invoice file to it. Requirements An OpenAI API key, a Google account (Sheets + Gmail), and a QuickBooks or Xero account (or any accounting API you can reach over HTTP). Customization Extend the extractor schema with extra fields (PO number, tax rate, cost center), tighten or loosen the duplicate/totals rules in the Code nodes, swap the Sheets log for your ERP, or add a Slack notification alongside the Gmail alerts. Additional info Who's it for: Bookkeepers, accountants, and small businesses drowning in supplier invoices — anyone who still types invoice data into accounting software by hand — plus agencies that want an AP automation service to sell. An n8n automation workflow template by AI Automation Playbook.
- 6 nodes
- Automation
- AI
By Marc-André Lanciault
Quick overview This workflow monitors a shared support inbox over IMAP and turns new emails into tickets in Notion, creating or reusing a requester record in a Contacts database, uploading attachments to Notion, and adding same-thread replies as comments on the original ticket. How it works Triggers when a new email arrives in the configured IMAP inbox. Cleans and normalizes the email subject, body, sender details, and extracts thread headers to support deduplication and follow-up detection. Queries the Notion Tickets database to skip emails whose Message-ID is already stored on an existing ticket. If the email is a reply, searches Notion for a ticket matching the email’s In-Reply-To/References and prepares to add the message as a comment on that ticket. Uploads any email attachments to Notion using the File Upload API, keeping successful uploads and recording failures. For follow-ups, posts one or more Notion comments (including uploaded attachments) and appends the new Message-ID to the ticket’s stored Message-IDs. For new requests, finds or creates the requester in the Notion Contacts database, creates a ticket (using the database default template when available), inserts the cleaned email content at the top, and then stores the Message-ID on the ticket. Setup Create a Notion integration, share your Tickets and Contacts databases with it, and grant it permission to create pages, upload files, and insert comments. Add a Notion API credential in n8n and select it for all Notion HTTP requests. Add an IMAP credential for your support mailbox (for Gmail, use an app password) and select it in the IMAP email trigger. Replace PASTE_TICKETS_DATABASE_ID and PASTE_CONTACTS_DATABASE_ID in the Settings step with your Notion database IDs. Ensure your Tickets database includes properties named Title, Requester (relation), Message-IDs (rich text), and Attachments (files), and your Contacts database includes Email and Name (plus optional First name/Last name) to match the workflow queries. Requirements A Notion account. An n8n automation workflow template by Marc-André Lanciault.
- 2 nodes
- Automation
By Arianna Coradeschi
Quick overview Spent hours finding where to promote your event and who to contact? Fill in one form and this workflow finds relevant directories, communities and local media, works out how to get listed on each, and drafts a personalized message for every one, all collected in a Google Sheet. How it works Receives event details from an n8n Form submission (name, description, dates, location, and optional website link). If a valid event website URL is provided, fetches the page, converts it to Markdown, and uses OpenAI to extract structured summaries for event context, target audience, and location. Uses three OpenAI research agents with Tavily Search to find up to five relevant promotion platforms each for the event theme, the target audience, and the event location. Merges all discovered outreach candidates, deduplicates them by URL while preserving combined tags, and routes social platforms to a simple “post to the group/page” path. For non-social platforms, loops through candidates one by one and uses an OpenAI contact-finder agent that scrapes the target site (and optionally crawls contact-like subpages) and falls back to Tavily web search to determine the best submission method and contact details. Uses OpenAI to write a platform-specific outreach draft (email, form text, community post, or DM) using the event details, relevance notes, and submission instructions. Appends or updates each candidate as a row in a Google Sheets tab, keyed by the Link, including tags, contact method, and the message draft for manual review and sending. Setup Add an OpenAI credential and select your preferred chat model in all OpenAI nodes used for summarization, research, contact finding, and message writing. Install and configure the Tavily community node and add a Tavily API credential (or replace the Tavily nodes with another search tool and reconnect them to the agents’ tool inputs). Create a Google Sheet with a tab named “Outreach Candidates” and the required header columns, then connect Google Sheets OAuth credentials and set the document URL in the Google Sheets node. Activate/publish the workflow so the internal “Scrape Pages” and “Crawl Contact Pages” tool calls (which execute this same workflow) can run successfully. If you customize the form fields, update the field mappings in the workflow so the event details are captured correctly. An n8n automation workflow template by Arianna Coradeschi.
- 8 nodes
- Automation
- AI
By Sam
Quick overview Type a software product's name; this workflow reads the pages DuckDuckGo finds for its alternatives and shows a table: each tool, how many separate sites list it, and a sentence copied from one of them. Self-hosted n8n only. How it works A form takes the product name and, if you like, what kind of product it is. One DuckDuckGo search reads the top twelve result pages. Code keeps pages that list alternatives, leaves out the product's own site (found by its domain name), and uses one page per site. The model lists the tools each page offers as alternatives, with a sentence from that page. Code keeps a name only if the sentence the model quoted is on the page, then counts the separate sites per tool. A site's vote for its own tool is not counted. The table shows that passage from the page, finished to the end of its sentence. The form shows the table, the sites that were read, and the pages that were left out and why. Setup Self-hosted n8n: install n8n-nodes-duckduckgo-search under Settings → Community nodes. Searching and reading pages need no API key or account. Add a credential to the chat-model node, OpenRouter model (Gemini 3.8 Flash by default). Any other chat-model node can replace it; choose a model that returns JSON reliably. Activate the workflow, open the form's production URL and enter a product name. Keep the form behind n8n login, as it is set here: it makes the node fetch whatever pages a search returns. Requirements Self-hosted n8n only: community nodes cannot be installed on n8n Cloud The community node n8n-nodes-duckduckgo-search An API key for the AI model: OpenRouter by default, or any provider with an n8n chat-model node No API key or account is needed for DuckDuckGo Customization Change how many pages are read: Max Results and Max Results for Page Content on the search node (the Code nodes use at most eight sources and show at most fifteen tools) Swap the model node for any other chat-model node Change the region on the search node (it is set to us-en) to favour another country's sites Send the table by email or Slack instead of showing it on the form page Run the search twice with different wording, for example competitors, and join the results before Choose the sources Additional info Suggested title: "Find alternatives to a software product with DuckDuckGo". The AI model is a swappable part (any chat-model node works), so the title names only the search node. The canvas preview does not render community nodes, so the full canvas is in the screenshot at the top of the description. The table says how many separate sites list a tool; it is not a quality ranking, and the page says so. Source and notes: https://github.com/samnodehi/n8n-nodes-duckduckgo/tree/main/docs/examples. An n8n automation workflow template by Sam.
- 4 nodes
- Automation
- AI
By iamvaar
Quick overview Youtube Video: https://youtu.be/gkmJcqw7Yrg This workflow pulls leads from Google Sheets, enriches and scores them using rules plus the Jev (beatapi) API, then routes qualified leads via WhatsApp, Gmail, and Slack while logging every decision back to Google Sheets. How it works Runs manually to start a test execution. Reads lead rows from a Google Sheets “Leads_Inbox” sheet and normalizes each lead into a consistent structure (name, email, title, company, domain, phone). Looks up company enrichment data and ICP scoring rules from separate Google Sheets tabs, then calculates a deterministic rule-based fit score. Sends the enriched lead profile to the Jev Judge (beatapi) HTTP API to get an AI score, tier classification, and confidence. Combines the rule score and AI output to assign a final tier (Tier 1, Tier 2, Unqualified, or Needs Review) and determines the next action. Routes Tier 1 leads to WhatsApp with a Calendly link and posts an AE alert to Slack, routes Tier 2 leads to a soft-touch Gmail email, and routes review cases to Slack for human follow-up. Appends each processed lead and its scores, tier, and reasoning to a Google Sheets “Lead_Log” sheet and generates a run summary. Setup Create a Google Sheets Service Account credential in n8n, share the spreadsheet with the service account email, and confirm the document ID and tab names (Leads_Inbox, Company_Enrichment, ICP_Rules, Lead_Log). Add an HTTP Header Auth credential for beatapi and ensure the Jev endpoint URL and model settings match your account. Add a WhatsApp Business Cloud credential and set your Phone Number ID, then ensure leads include E.164-formatted phone numbers to receive Tier 1 messages. Add a Gmail OAuth2 credential for sending Tier 2 emails and update the email copy and Calendly links in the ICP rules sheet if needed. Add a Slack credential and set the target channel(s) for Tier 1 and review alerts. An n8n automation workflow template by iamvaar.
- 6 nodes
- Automation
By dilshi
Quick Overview This workflow collects a Reddit or Quora post request via an n8n form, researches the topic with Serper Google Search, drafts platform-specific content with Anthropic Claude, saves it to Google Sheets for review, and posts approved Reddit drafts automatically while flagging Quora drafts for manual posting. How it works Receives a topic, optional source link, target platform (Reddit or Quora), and content goal from an n8n form. Queries the Serper Google Search API twice to gather common questions and recent discussions on the selected platform. Sends the combined research brief and posting rules to Anthropic Claude to generate a title, post body, and suggested subreddit/Quora topic. Appends the draft to Google Sheets with a unique Row ID and a Pending (or Generation failed) status. Polls the Google Sheets row on an interval until the Status is set to Approved or Rejected, or until the review timeout is reached. If approved, posts the draft to Reddit via the Reddit API (or marks the row as “Approved, post on Quora manually” for Quora) and writes the result and post URL back to Google Sheets. If rejected or a Reddit post fails, uses the Feedback from Google Sheets to have Claude rewrite the draft, updates the row as Revised, and returns it to the review loop. Setup Create a Serper API key and configure an HTTP Header Auth credential (header name X-API-KEY) for the two Serper HTTP requests. Add credentials for Anthropic (Claude), Google Sheets, and Reddit (for automated Reddit posting). Create a Google Sheet with columns Row ID | Date | Platform | Topic | Source Link | Content Goal | Title | Content | Community | Status | Feedback | Post URL, then select the target spreadsheet and sheet tab in the Google Sheets nodes. Update the author context and (optionally) the platform rules, review check interval, and review timeout values in the workflow settings node. Review drafts in Google Sheets by setting Status to Approved or Rejected and adding Feedback for rewrites, and ensure the suggested subreddit allows your type of post before approving. An n8n automation workflow template by dilshi.
- 5 nodes
- Automation
- AI
By MD Faizan Uzzaman
Quick overview This workflow turns a Telegram message into an approved AI-generated image post by using Google Gemini for captions and prompts, Cloudflare Workers AI for image generation, Google Drive for hosting, and the Facebook Graph API to publish to a Facebook Page and Instagram. How it works Triggers when a new Telegram message arrives, ignores empty messages and commands, and loads your brand context and Meta account IDs. Sends the request to Google Gemini to generate a JSON response containing an image prompt and a ready-to-post caption. Sends the caption to Telegram for approval and, if rejected, regenerates once before flagging the request for manual review. When approved, generates a square image with Cloudflare Workers AI (Flux), converts it to a 1440×1440 JPEG, uploads it to Google Drive, and makes the file publicly accessible. Sends an image preview to Telegram for approval and, if rejected, regenerates once before stopping and requesting manual review. If approved, posts the image and caption to your Facebook Page and creates and publishes an Instagram media container via the Facebook Graph API, polling until the container is ready. Appends a published log entry (timestamp, prompt, image URL, status) to a Google Sheets tab. Setup Create and connect a Telegram bot credential, then start a chat with the bot so it can receive messages. Add a Google Gemini API key as an HTTP Header Auth credential (x-goog-api-key) for the Gemini request. Add a Cloudflare Workers AI API token as an HTTP Header Auth credential, and replace YOUR_CLOUDFLARE_ACCOUNT_ID in the image-generation request URL. Connect Google Drive OAuth and choose the target folder for uploads, noting the workflow makes images public so Meta can fetch them by URL. Connect Google Sheets OAuth, set YOUR_GOOGLE_SHEET_ID, and create a tab named “Log” with columns timestamp, prompt, image_url, and status. Connect a Facebook Graph API credential with permissions to post to your Facebook Page and Instagram Business account, and fill in your Facebook Page ID and Instagram user ID in the brand context settings. An n8n automation workflow template by MD Faizan Uzzaman.
- 7 nodes
- 113 views
- Automation
By 久保田 卓磨
Quick overview This workflow polls selected Chatwork rooms every 5 minutes, logs new messages to Google Sheets, uses Anthropic Claude to extract expense and sales records from keyword-tagged notes, validates the results with custom code, writes structured rows to a records sheet, and optionally replies in Chatwork with a confirmation. How it works Runs every 5 minutes (or manually) and loads configuration such as Chatwork room IDs, the note keyword, categories, and timezone. Fetches the room list and then pulls the latest messages from each configured Chatwork room via the Chatwork API. Cleans Chatwork message markup into plain text, filters out old/system/self-reply messages, and keeps only messages not seen in previous executions. Appends or updates each new message into a Google Sheets “log” tab for traceability. For messages containing the configured keyword, checks Google Sheets “records” to skip notes already recorded and sends the remaining notes to Anthropic Claude to extract one or more accounting records as JSON. Validates Claude’s extracted records against the original note (amount/quote/date/category rules), converts relative date text into an actual date, and writes rows to the Google Sheets “records” tab with an OK or 要確認 status. If enabled, posts a single reply back to Chatwork summarizing what was recorded (or why it needs review) and marks the reply so it is never processed as a note. Setup Create a Google Sheets spreadsheet, run the “Run once: set up the sheet” branch with your Spreadsheet ID to create the log and records tabs with headers, and then select that spreadsheet in all Google Sheets nodes. Add credentials for Chatwork API access via HTTP Header Auth (x-chatworktoken), Google Sheets OAuth2, and Anthropic (Claude). Update the Config values for room IDs, the trigger keyword (default #記録), categories/category hints, max message age, and whether to reply in Chatwork. Requirements Chatwork account with an API token (the free plan was enough for the API in my test) Google account (Google Sheets OAuth2 credential) Anthropic API key A blank Google Sheet, created by you n8n running continuously (the workflow polls every 5 minutes) Customization Change the keyword, the room IDs and the reply text in Config Edit the category list and its examples in Config (the examples matter) Turn off the replies in Config Change the polling interval in the Schedule Trigger Replace the two Google Sheets nodes with Excel 365 or Convert to File (not tested) Additional info Claude reads each note, but code checks the result against the note: the amount must be written in the message, the quote must be in it, the currency must be yen, the category must be in your list, and the date words (昨日, 10/3, 先週金曜) are turned into a date by code, not by the AI. Anything doubtful is saved as 要確認 with the reason in Japanese, and an amount with no record is flagged instead of being lost. Test: 30 short notes I wrote myself (26 ordinary, 4 designed to fail), one run each with Claude Haiku 4.5. After adding category examples to the prompt, 25 of the 26 ordinary notes were right and the one miss was flagged by code; 3 of the 4 traps were stopped. The trap that was not stopped: "ホテル代 12,000円 x 2泊" is recorded as 12,000, because code checks what is written and does not do arithmetic. A wrong choice between two written amounts also passes. This is a small test: try your own notes first. The workflow polls every 5 minutes (about 8,640 executions a month on n8n Cloud even when idle; a calculation, not a measurement). The replies are posted with your API token, so they appear as written by that account; use a dedicated account if you can. Notes are sent to Anthropic. An n8n automation workflow template by 久保田 卓磨.
- 4 nodes
- Automation
- AI
By Anna Cole
Quick overview This workflow runs an AI WhatsApp support bot that answers using Google Drive documents indexed into n8n Data Tables with OpenAI embeddings, and hands conversations to your team via Telegram when needed while logging handoffs to Google Sheets. How it works Runs once manually to create n8n Data Tables for chats, messages, and the knowledge base, then indexes documents from a Google Drive folder. Runs every hour to list supported files in the Google Drive folder, detect new/changed/deleted documents, and keep the knowledge base table in sync. Triggers on incoming WhatsApp messages, skips duplicates and old messages, transcribes voice notes with OpenAI when present, and saves the customer message to the messages table. Checks whether the chat is currently assigned to a human and either forwards the message to a Telegram group or proceeds with the AI response. Retrieves recent conversation history, embeds the customer question with OpenAI, ranks the most relevant document passages from the knowledge base, and asks an OpenAI chat model to answer only from those passages. If the AI can answer, it saves the reply and sends it back to the customer on WhatsApp. If the AI cannot answer or a human is requested, it pauses the bot for that chat, alerts your Telegram group with context, logs the handoff to a Google Sheets tab, and sends a handoff message to the customer on WhatsApp. Triggers on team replies in Telegram and, when within WhatsApp’s 24-hour reply window, sends the staff response to WhatsApp, keeps the chat in human mode, and allows “#bot on” to hand the conversation back to the AI. Setup Set up WhatsApp Cloud API credentials in n8n, configure the WhatsApp webhook for this workflow, and ensure you have a permanent access token. Add OpenAI API credentials for embeddings, chat responses, and audio transcription. Add Google Drive credentials and update the Configuration values for the target Drive folder ID. Add Google Sheets credentials, set the handoff spreadsheet URL, and create a sheet tab named “Handoffs” with headers Date, Phone, Name, Question, Reason, Status. Create a Telegram group, add your Telegram bot, add Telegram credentials in n8n, and set the group chat ID in the Configuration node. Requirements Meta WhatsApp Cloud API app with a phone number (WhatsApp Trigger credential and a permanent System User token) OpenAI API key (gpt-5.4-mini for answers, text-embedding-3-small for search, Whisper for voice notes) Google Drive folder with your support documents (Google Docs, Sheets, Slides, PDF or text files) Google Sheet with a tab named Handoffs (columns: Date, Phone, Name, Question, Reason, Status) Telegram bot added to your team group n8n version with Data Tables Customization Change humanTimeoutMinutes to keep chats with your team for longer or shorter Change topPassages and minRelevance to control how much of your documents the AI sees Edit the system message to change the tone, or the rules for when to hand over Swap the Telegram nodes for Slack, and OpenAI for any other chat model Change the schedule to re-index your documents more or less often Point driveFolderId at a different folder per brand or language Additional info The knowledge base is stored in an n8n Data Table, so it needs no vector database and survives restarts. Every hour only new or edited Drive files are re-indexed and deleted files are removed. If the folder listing comes back empty, nothing is deleted. The AI must answer from the retrieved passages or hand over. A handoff pauses the AI for that customer, sends your Telegram group the full transcript, and logs the question in a Google Sheet that becomes your list of missing documentation. Your team answers by replying to the Telegram message; the reply is sent on WhatsApp only inside the 24-hour customer service window, otherwise the team is told why it was blocked. Duplicate webhooks and delivery receipts never trigger a reply, and an AI failure is treated as a handoff, so no customer is left without an answer. An n8n automation workflow template by Anna Cole.
- 10 nodes
- Automation
- AI
By Peter Hallander
Quick overview This workflow polls Gmail for invoice or order request emails, uses Anthropic Claude to extract structured billing details, validates totals, assigns a sequential invoice number from Google Sheets, generates a PDF with MintPDF, replies to the customer via Gmail, archives the PDF in Google Drive, and logs the invoice. How it works Polls Gmail every minute for unread emails with subjects matching invoice or order requests. Uses Anthropic Claude to extract the customer, billing details, and line items from the email into structured data. Validates required fields, currency, and calculates subtotal, tax, and total in integer cents, sending invalid or over-limit requests to a Google Sheets review tab and emailing the owner. Reads the existing invoice log in Google Sheets to skip already-invoiced emails, assign the next yearly invoice number, and generate escaped HTML for the invoice. Converts the HTML into an A4 PDF using MintPDF and emails the owner if rendering fails. Archives the PDF to Google Drive, replies to the original Gmail thread with the PDF attached, and appends the invoice details and Drive link to the Google Sheets invoice log. Setup Install the community node n8n-nodes-mintpdf and add a MintPDF API credential. Add credentials for Gmail, Google Sheets, Google Drive, and Anthropic (Claude) in n8n. Create a Google Sheets spreadsheet with Invoices and Review tabs and columns matching the fields appended by the workflow. In the Invoice settings, set your seller details, owner email, currency, tax rate, approval limit, payment terms, and update the Google Sheet ID and Google Drive folder ID. Requirements A MintPDF API key (free plan: 100 PDFs a month) Gmail, Google Sheets and Google Drive accounts An Anthropic API key (or swap in another chat model) Customization Change the invoice design in the "Number invoice and build HTML" node Set your tax rate, currency and approval limit in "Invoice settings" Replace Claude with OpenAI or Gemini. An n8n automation workflow template by Peter Hallander.
- 6 nodes
- Automation
- AI
By 永島税理士事務所
Quick overview This workflow pulls journal entries from Money Forward Accounting for a selected office and calendar year, classifies them into five Japanese tax-prep report types, and generates or updates five XLSX files in Google Drive using a Google Sheets template. How it works Starts manually and exchanges your Money Forward API credentials for an access token, then verifies the tenant and lists accessible offices. Calculates the accounting periods that overlap the configured calendar year and fetches all Money Forward journal entries across those periods (with pagination). Fetches the Money Forward account master, selects fixed-asset accounts, and merges this with the retrieved journals. Classifies journal entry lines into five categories (withholding tax, rent, fees ≥ JPY 3,000, consumables ≥ JPY 50,000, and fixed assets), then formats rows for each report. Groups the formatted rows into five report datasets and determines a client folder name based on the Money Forward office. Finds or creates the client folder and year subfolder in Google Drive, then prepares five export jobs pointing to that destination. For each report, copies the Google Sheets template, appends the report rows, exports the sheet as XLSX, uploads or overwrites the matching XLSX file in Google Drive, and deletes the temporary spreadsheet copy. Setup Add Money Forward API credentials for HTTP Header Auth and ensure the account has access to the target Money Forward Accounting office. Add Google Drive OAuth2 and Google Sheets OAuth2 credentials with permission to create folders, copy files, upload/update XLSX files, and edit spreadsheets. Create a Google Drive root folder and a Google Sheets template whose first sheet (ID 0) has headers A:J: クライアント名, 帳票種類, 日付, 摘要, 勘定科目, 補助科目, 借方, 貸方, 支払先, 仕訳ID (and format columns G:H as numbers). In “Configure Report Settings”, replace the placeholders with your Money Forward office code, target year, Google Drive root folder ID, and Google Sheets template spreadsheet ID. An n8n automation workflow template by 永島税理士事務所.
- 4 nodes
- Automation
By Anna Cole
Quick overview This workflow creates Data Tables for message logging and FAQ, then runs a WhatsApp Cloud API assistant that can read text, voice notes, images, and PDFs, uses OpenAI to respond with conversation memory, and alerts via Telegram when failures occur. How it works Runs when a new WhatsApp Cloud API message is received, ignoring delivery/read status updates. Normalizes the webhook payload into one item per customer message, skips old or unsupported message types, deduplicates by message ID using n8n Data Tables, and logs the raw message. If the message contains audio, an image, or a document, it fetches the WhatsApp media URL, downloads the file, and uses OpenAI and PDF text extraction to convert it into readable text (or records an explanation if the file is unsupported or too large). Saves the cleaned message content to the messages Data Table and waits briefly to buffer multiple rapid-fire messages from the same customer. Loads the customer’s recent conversation history from the messages Data Table, marks the latest messages as answered, and builds a prompt that includes both history and the new combined customer input. Uses an OpenAI chat model agent with a Data Tables “Business FAQ” tool to generate a WhatsApp-style reply grounded in your FAQ and business info. Formats and splits the reply to fit WhatsApp limits, sends it back via the WhatsApp Cloud API, stores the assistant response in the messages Data Table, and on errors sends a fallback WhatsApp reply and a Telegram alert. Setup Configure WhatsApp Cloud API credentials in n8n (permanent Meta system user token recommended) and activate the WhatsApp Trigger webhook in your Meta app. Add an OpenAI API key credential for both the chat model and media handling (transcription and image analysis). Run the manual setup trigger once to create the whatsapp_agent_messages and whatsapp_agent_faq n8n Data Tables, then populate the FAQ table with your question/answer rows. Add a Telegram bot credential (optional) and set your telegramChatId, then update the Configuration values (business name/info, buffer time, memory length, and file limits) to match your environment. Requirements Meta WhatsApp Cloud API app with a phone number (WhatsApp Trigger credential: app ID and app secret) WhatsApp API credential with a permanent System User access token OpenAI API key (gpt-5.4-mini for replies, gpt-4.1-mini for images, Whisper for voice notes) n8n version with Data Tables (the setup trigger creates both tables) Optional: Telegram bot and chat ID for error alerts Customization Write your business details in Configuration and add your questions and answers to the whatsapp_agent_faq Data Table Change bufferSeconds to wait longer or shorter for follow-up messages before replying Change memoryMessages to give the agent more or less conversation history Change maxFileSizeMB and maxDocumentCharacters to control which files are read Swap the OpenAI chat model for Gemini, Claude or any other chat model Add tools to the agent, such as calendar booking, order lookup or a CRM Replace the Telegram alert with Slack, Gmail or Microsoft Teams Additional info This workflow runs entirely on the WhatsApp Cloud API, OpenAI and n8n Data Tables, with no Redis, Postgres or vector database. Delivery and read receipts are filtered out in the trigger, so they never start an execution. Repeated webhooks are skipped by message ID, and messages older than 15 minutes after downtime are ignored. A burst of messages gets one combined reply, because only the run with the newest message answers. Media is downloaded right away, before WhatsApp links expire. Files that are too large or not supported are explained to the customer instead of causing an error. Conversation memory is stored per phone number, so it survives restarts and works in queue mode. The phone number ID is read from each incoming message, so nothing is hardcoded. If the AI or the WhatsApp send fails, the customer gets a fallback message and the owner gets a Telegram alert. An n8n automation workflow template by Anna Cole.
- 7 nodes
- Automation
- AI
By 久保田 卓磨
Quick overview This workflow routes LINE customer messages into Slack for Japanese-speaking staff, using Anthropic Claude to detect language and translate messages to Japanese, then translating staff replies back to the customer’s language with number/URL guards and a blind back-translation before sending via the LINE Messaging API. How it works Receives LINE webhook events, verifies the LINE signature, deduplicates redelivered events, and keeps only text messages. Uses Anthropic Claude to detect the customer’s language, translate the message into Japanese, and generate an acknowledgment in the customer’s language. Sends the acknowledgment reply via the LINE Messaging API and posts the original text plus Japanese translation into an existing Slack thread or creates a new Slack thread for the customer, then stores/updates the thread and language in an n8n Data Table. Triggers on Slack messages and only processes human staff replies posted inside an existing customer thread (excluding bot posts and messages prefixed with //). Looks up the matching customer record by Slack thread timestamp, prepares the Japanese reply text, and if needed uses Anthropic Claude to translate it to the customer’s language. Validates that numbers, URLs, and emails from the Japanese reply appear in the translation, posts a Slack warning and stops if validation fails, otherwise blind back-translates the sent text to Japanese for review. Sends the final text to the customer via the LINE Messaging API push endpoint, adds a ✅ reaction to the Slack reply, updates the Data Table status to replied, and posts the translation plus back-translation (or any send failure) back into the Slack thread. Setup Create an n8n Data Table (for example line_slack_threads) with string columns line_user_id, slack_ts, status, last_inquiry, language, and language_name, and select it in all Data Table nodes. Add credentials for Slack (to use the Slack Trigger and post messages/reactions), Anthropic (Claude), LINE Messaging API header auth (Authorization: Bearer ), and the LINE channel secret for the signature HMAC step. Select the target Slack channel in every Slack node (including the Slack Trigger) and set your preferred tone/glossary terms in the translation settings. Publish the workflow, then configure the LINE webhook URL to point to the webhook trigger path and enable Slack Events so Slack can call the Slack Trigger for new thread replies. Requirements LINE Official Account with the Messaging API (channel access token and channel secret) Slack workspace and a Slack app with the bot scopes chat:write, channels:read, channels:history and reactions:write Anthropic API key n8n reachable over HTTPS, for the LINE and Slack webhooks One Data Table: line_slack_threads (columns are listed in the sticky note) Customization Put your shop terms in the glossary of Translation settings (Japanese term = translation per language code) Edit the acknowledgment texts and low_confidence in Config Change the tone in Translation settings, or the rules in the two translation prompts Use another staff language by changing the translation prompts and the number guard's wording Add a step that holds the translation for approval before it is sent Additional info Translation can still be wrong. The number guard checks digits, URLs and emails only: it does not read kanji numerals such as 三千円, and a translation that rewrites 15:00 as 3 PM is stopped on purpose. The back-check is read by a person, not by the workflow. I could read English and Japanese only, so Chinese and Korean were checked through the back-translation, not by a native reader. The back-translation is a separate Claude call that never sees the Japanese. In my test of 84 translations (21 Japanese sentences into four languages), the back-translation written in the same call equalled the Japanese original in 36 cases (43%), but only 3 (4%) when done blind. The number guard stopped none of the good translations, and stopped the one I broke on purpose. That is a small test; try your own wording. If the customer's language is unknown, staff replies are sent as written (Japanese), and the acknowledgment goes out in Japanese and English. Customer messages are sent to Anthropic for translation. Text messages only; images and stickers are ignored. Costs to know: push messages count against your monthly LINE quota (200 on the free plan); Slack also triggers the workflow for the bot's own posts, so one customer message used several executions in testing. An n8n automation workflow template by 久保田 卓磨.
- 5 nodes
- Automation
- AI
By 久保田 卓磨
Quick overview This workflow routes LINE customer inquiries into Slack threads, uses Anthropic Claude plus an in-memory vector store (Google Gemini embeddings) to suggest or send replies, and learns from staff replies tagged #learn after masking personal data, with Data Tables tracking threads, learning logs, and reminders. How it works Receives incoming LINE Messaging API webhook events, validates the x-line-signature, deduplicates redelivered events, and keeps only text messages. Masks personal data in the inquiry with regex, searches a learned Q&A knowledge base in an in-memory vector store using Google Gemini embeddings, and builds reference snippets above a similarity threshold. Uses Anthropic Claude to draft a reply using only the retrieved reference Q&A and marks whether the draft is safe to use. If auto-reply is enabled and the draft is answerable, replies to the customer on LINE; otherwise it sends an acknowledgment on LINE and posts the inquiry plus an AI suggestion (or “staff reply needed”) into the customer’s Slack thread. When staff post a human reply in the Slack thread, sends the reply to the customer on LINE, reacts with a ✅ on success (or reports the failure in the thread), and marks the thread as replied. If the staff reply includes #learn, masks remaining personal data with regex and Anthropic Claude, validates the masking, and then stores the masked Q&A in the vector store and logs the result in a Data Table with a note back in Slack. On workflow start/activation/update, reloads learned Q&A from the Data Table into the in-memory vector store, and every 15 minutes during business hours posts Slack thread reminders for customers still waiting for a staff reply. Setup Create and select three n8n Data Tables for thread tracking, learned Q&A logging, and reminder tracking, and ensure the thread table includes line_user_id, slack_ts, status, last_inquiry, customer_name, and pending_inquiries columns. Add credentials for Slack, Anthropic (Claude), Google Gemini embeddings, and LINE Messaging API (HTTP Header Auth bearer token), and set the LINE channel secret used to validate the webhook signature. Configure the LINE webhook URL in the LINE Developers console to point to the workflow webhook path, and enable Slack Events to trigger on messages for the selected Slack channel. Select your target Slack channel in all Slack nodes and set the Data Table IDs used by the workflow. Review and adjust the Config values (auto_reply, similarity_threshold, acknowledgment) and the reminder business hours settings, and update “keep_contacts” with any shop-owned phone numbers/emails you don’t want masked. Requirements LINE Official Account with the Messaging API (channel access token and channel secret) Slack workspace and a Slack app with the bot scopes chat:write, channels:read, channels:history and reactions:write Anthropic API key Google AI Studio (Gemini) API key for the embeddings n8n reachable over HTTPS, for the LINE and Slack webhooks Three Data Tables: line_slack_threads, learned_qa, followup_reminders (columns are listed in the sticky note) Customization Turn auto_reply on and tune similarity_threshold in the Config node List your shop's own phone numbers and emails in Learning settings so they are not masked Edit the draft rules in the AI: Draft the reply node, and the acknowledgment text in Config Change the waiting times in Reminder settings, or remove the reminder section Replace the in-memory vector store with Qdrant, Pinecone or Supabase (three nodes) Move the masking function, which is copied into several Code nodes, into a sub-workflow Additional info Learning is opt-in: only staff replies that contain #learn are learned, and auto-reply is off by default. Masking is best-effort. The final check looks for patterns (email, phone, card, postal code, IDs after words like "order number") and cannot tell whether the AI missed a name. Test with your own data before using real customer data. On the Gemini free tier, Google may use your content to improve its products. Check the current terms and use a paid key for real customer data. Costs to know: push messages count against your monthly LINE quota (200 on the free plan). Slack also triggers the workflow for the bot's own posts, so one customer message used several executions in testing. The reminder runs every 15 minutes even when nobody is waiting (about 2,900 executions a month); lower the frequency or remove it if you pay per execution. Text messages only; images and stickers are ignored. In my small tests, related questions scored about 0.80 to 0.85 and an unrelated one 0.51 with the Gemini embedding model, so tune the threshold with your own data. An n8n automation workflow template by 久保田 卓磨.
- 8 nodes
- Automation
- AI
By Oneclick AI Squad
Quick overview This workflow turns monitoring alerts into coordinated incident response by tracking incidents in Postgres, creating Slack war-room channels, paging responders via email, escalating if nobody acknowledges, sending periodic status updates, and closing incidents with resolution notifications. How it works Receives incident alerts via the POST /bc-alert webhook (simple JSON or Prometheus Alertmanager) and normalizes them into a standard service, severity, and status format. Creates a new incident in Postgres or attaches the alert to the existing open incident for the same service, then returns a 202 response with the incident ID and deduplication status. For new incidents, loads service metadata and team contacts from Postgres, creates a Slack war-room channel, posts an incident brief and checklist, and emails each responder a unique acknowledgement link. Accepts the first responder acknowledgement via GET /bc-ack, updates the incident in Postgres, responds to the request, and posts a Slack message naming the incident commander. Runs every 5 minutes to find unacknowledged incidents that need escalation and open incidents that are due for status updates, then sends escalation emails/Slack notices or posts Slack and email stakeholder updates. Accepts incident resolution via POST /bc-resolve, marks the incident resolved in Postgres, responds to the request, posts the resolution and duration to Slack, and emails stakeholders (and executives for SEV1) with the post-incident review due date. Setup Add credentials for Postgres, SMTP email (n8n Email node), and Slack API HTTP Header Auth (Bearer token) with at least channels:manage and chat:write scopes. Run the workflow once with the manual trigger to create the Postgres tables and seed the demo team/service data. Update the configuration values in Set Continuity Config (public webhook base URL, sender email, default Slack channel ID, escalation contacts, stakeholder lists, and acknowledgement/status update timings). Replace the demo teams and services in Postgres (or in the setup SQL) with your real service IDs, owner/dependent teams, customer-facing flags, and runbook URLs/steps. Configure your monitoring system to send alerts to the production webhook URL for POST /bc-alert, and use POST /bc-resolve plus the emailed/posted GET /bc-ack links during incident response. An n8n automation workflow template by Oneclick AI Squad.
- 4 nodes
- Automation
By Oneclick AI Squad
Quick overview This workflow turns Slack into an internal IT service catalog by storing services in Postgres, collecting requests through Slack modals, routing approvals via Slack DMs, and either calling an external automation HTTP endpoint or posting the request to an IT queue channel for manual completion. How it works Receives Slack slash command and interactive payloads via webhooks and verifies each request using the Slack signing secret. When an employee runs /it, it loads active catalog items from Postgres and opens a Slack modal to select a service by category. After a service is selected, it loads the service definition from Postgres and updates the modal to a service-specific request form. When the form is submitted, it validates required fields, creates a request and audit entries in Postgres, and notifies the requester in Slack. If approval is required, it sends the approver a Slack DM with Approve and Deny buttons and records the decision back to Postgres. For approved requests, it either calls the configured HTTP automation endpoint and records the result, or posts the request to an IT queue Slack channel with a Mark complete button. When IT marks a queued request complete, it updates the request status in Postgres, updates the Slack queue message, and notifies the requester. Setup Create and connect Postgres credentials, then run the manual setup trigger once to create the required tables and demo catalog data. Create a Slack app with a bot token, add scopes for commands, chat:write, and im:write, and configure an HTTP Header Auth credential (Authorization: Bearer xoxb-...) for the Slack API requests. Configure the Slack slash command /it and interactivity request URLs to point to the workflow webhooks (/webhook/it-catalog and /webhook/it-interactive) and paste the Slack signing secret into the workflow configuration. Update the IT queue Slack channel ID and IT lead Slack user ID in the workflow configuration, and replace the placeholder Slack user IDs in the Postgres directory data. For services using auto-fulfillment, update the automation endpoint URLs (and any required HTTP auth) in the Postgres catalog item definitions. An n8n automation workflow template by Oneclick AI Squad.
- 3 nodes
- Automation