GenAiHub

Workflows

Browse 14,312 Workflows

Workflows Guide

Workflows are deterministic, multi-step pipelines that chain models, tools and agents in a fixed order — the predictable counterpart to an autonomous agent. Each entry records its platform and complexity, so the setup cost is visible before you import it.

2065–2112 of 14,312

Rahul Joshi logo
Generate GoHighLevel deal follow-up actions with OpenAI and Cognee
Live

By Rahul Joshi

Quick overview This workflow triggers from a GoHighLevel webhook, schedule, or manual run to pull open opportunity and pipeline details, generate deal-specific follow-up actions using an OpenAI GPT-4o-mini agent with Cognee knowledge search, then posts results to Slack, sends an email via Gmail, logs the deal to Sheets. How it works Triggers when a GoHighLevel webhook is received, on a schedule, or from a manual run to start processing open opportunities. Searches GoHighLevel for open opportunities and fetches the current pipeline and stage metadata via the LeadConnector (GoHighLevel) API. Normalizes the opportunity payload into structured fields (deal, pipeline, stage, contact, owner, value) and prepares it for downstream processing. Uses an OpenAI GPT-4o-mini agent that first queries Cognee to retrieve relevant SOPs/playbooks from your company knowledge base and then generates a 3–6 item follow-up checklist. Formats the agent output into Slack text, an HTML email body, and a Google Sheets row. Posts the follow-up checklist to Slack, emails the follow-up actions via Gmail, and appends the deal and actions to a Google Sheets log. On any error, formats the failure details and posts an alert to Slack. Setup Add your GoHighLevel (LeadConnector) Private Integration token and locationId query values in the two HTTP requests for pipelines and opportunity search. Connect OpenAI credentials for the GPT-4o-mini chat model and connect Cognee credentials, then set the correct Cognee dataset ID for knowledge search. Connect Slack credentials and choose the target channel for both the follow-up message and error alerts. Connect Gmail OAuth2 credentials and replace the recipient address (for example, sales@yourcompany.com). Connect Google Sheets OAuth2 credentials and update the spreadsheet/document ID and sheet/tab used to append deal follow-up rows. If using the webhook trigger, copy the n8n webhook URL into your GoHighLevel workflow/action that fires on deal creation. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 17 hours ago
Free9 uses
No ratings
  • 7 nodes
  • 9 views
Workflows
  • Automation
  • AI
Websensepro logo
Curate and publish LinkedIn tech posts with NewsData, Gemini, Slack, and Jina AI
Live

By Websensepro

Quick Overview This workflow runs daily, pulls technology news from NewsData.io based on a day-specific topic, uses Google Gemini to pick an article and write a LinkedIn post, generates a matching image, requests approval in Slack, and publishes the approved post with the image to LinkedIn. How it works Runs on a daily schedule and assigns a topic based on the current day of the week. Queries the NewsData.io Latest News API for recent US technology articles matching the chosen topic. Uses Google Gemini to select the single best article from the top results and rewrite it into a short, social-friendly summary with the article URL. Fetches the full article content via Jina AI Reader and uses Google Gemini to write a 250–350 word LinkedIn post from the extracted content. Uses Google Gemini to generate an image prompt from the drafted post and calls the Gemini image generation API to produce a 16:9 image. Sends the draft post to Slack for approve/reject input and pauses the workflow until a response is received (or the wait time limit is reached). If approved, attaches the generated image and publishes the post to your LinkedIn profile, otherwise the workflow ends without posting. Setup Add a NewsData.io API key and update the HTTP request query parameters (apikey, country/category, and any topic keywords you want to use). Add Google Gemini (PaLM) API credentials and ensure the selected Gemini models are available for both text generation and image generation. Add a Jina AI Reader API key and set it in the Authorization header used to fetch the full article content. Add Slack OAuth credentials, choose the target user/channel, and confirm interactive approval (send-and-wait) works in your Slack workspace. Add LinkedIn OAuth2 credentials and update the target LinkedIn person/account ID used for publishing. An n8n automation workflow template by Websensepro.

N8nUpdated 17 hours ago
Free2 uses
No ratings
  • 7 nodes
  • 2 views
Workflows
  • Automation
  • AI
Mo
Monitor Clio trust/IOLTA balances and send email alerts
Live

By Dele Tosh @ Protomated

Quick Overview This workflow monitors Clio trust/IOLTA balances by emailing daily low/negative balance alerts (with compliance checks and partner escalation for negatives) and sending a weekly trust health summary to accounting. How it works Runs daily at 7am on a schedule trigger. Fetches all open matters and their trust balances from the Clio API. Calculates a balance tier (healthy/low/negative) and applies a cooldown so the same unresolved issue does not re-alert every day. Builds an individual email for each alert-worthy matter, runs a compliance/guardrail sub-workflow, and sends the alert via SMTP if approved. For any negative-balance matter, builds an urgent partner escalation email, logs it through the guardrail/audit sub-workflow, and sends it via SMTP. Runs weekly on Monday at 8am, fetches all open matters from Clio, computes a trust health rollup, and emails the summary to accounting via SMTP. Setup Add a Clio OAuth2 credential and set the CLIO_BASE_URL variable used by the Clio HTTP requests. Configure an SMTP email credential and set FIRM_FROM_EMAIL plus recipient variables like FIRM_TRUST_ACCOUNTING_EMAIL, FIRM_PARTNER_EMAIL, and/or FIRM_EMAIL. Provide and configure the guardrail/compliance sub-workflow and set GUARDRAIL_WORKFLOW_ID to its workflow ID. (Optional) Set LOW_BALANCE_THRESHOLD and ALERT_COOLDOWN_DAYS variables to match your firm’s alert policy. An n8n automation workflow template by Dele Tosh @ Protomated.

N8nUpdated 17 hours ago
Free4 uses
No ratings
  • 3 nodes
  • 4 views
Workflows
  • Automation
Ma
Manage lead follow-ups with Google Sheets, SMTP, and IMAP email
Live

By Dele Tosh @ Protomated

Quick Overview This workflow captures new leads via a webhook, sends a compliant acknowledgment email via a guardrail sub-workflow, and logs the lead to Google Sheets. It then runs a daily follow-up sequence via email (SMTP), alerts an attorney after the final stage, and stops outreach when replies arrive via IMAP. How it works Receives a new lead submission via a webhook and normalizes the lead details (name, email, phone, practice area) into a tracking record. Generates an acknowledgment email, sends the message through a compliance/opt-out guardrail sub-workflow, and emails the lead via SMTP only when approved. Appends the lead to a Google Sheets “Lead Follow-Up Tracker” sheet for ongoing tracking regardless of whether the acknowledgment email is sent. Runs daily on a schedule, reads the tracker from Google Sheets, calculates which unresponsive leads are due for the next follow-up stage, and builds a stage-specific follow-up email. Sends each follow-up message through the same compliance/opt-out guardrail and emails approved follow-ups via SMTP, then updates the lead’s last sent timestamp and stage in Google Sheets. When a lead reaches the final configured follow-up stage without responding, sends an internal no-response alert email to the attorney via SMTP. Watches the sending mailbox via IMAP for incoming replies, matches the sender to a tracked lead by email address, and marks that lead as responded in Google Sheets to prevent further follow-ups. Setup Create and connect SMTP credentials for sending emails, and set the sender address variables (for example, FIRM_FROM_EMAIL, and optionally FIRM_ATTORNEY_EMAIL). Create and connect IMAP credentials for the same mailbox, and confirm the workflow monitors the correct folder (default: INBOX). Create a Google Sheets spreadsheet with a “Lead Follow-Up Tracker” sheet (columns such as lead_id, name, email, phone, practice_area, submitted_at, responded, last_sent_at, last_stage_sent) and set LEAD_FOLLOWUP_SHEET_ID. Set GUARDRAIL_WORKFLOW_ID to an existing compliance/opt-out guardrail workflow that returns an approved boolean for email sends. Copy the webhook URL from the lead intake trigger and configure your form tool (for example, Typeform or JotForm) to POST submissions to it, then adjust the parsing code if your field names differ. Review and customize FOLLOW_UP_STAGES, FIRM_NAME, and the email template text in the code steps to match your timing and messaging. An n8n automation workflow template by Dele Tosh @ Protomated.

N8nUpdated 17 hours ago
Free81 uses
No ratings
  • 3 nodes
  • 81 views
Workflows
  • Automation
Ki
Kick off new clients with Google Drive, Clio, Google Sheets, and email
Live

By Dele Tosh @ Protomated

Quick Overview This workflow triggers when a client is marked as signed to create a Google Drive matter folder structure, send a compliance-checked kickoff email with a Calendly link, create Clio follow-up tasks, and log onboarding to Google Sheets, then runs weekly to email an internal onboarding summary. How it works Receives a POST webhook when a client is marked as signed and normalizes the incoming client and matter fields. Creates a top-level matter folder in Google Drive and captures the folder ID and URL (or records the failure without stopping the workflow). Creates a standard set of Google Drive subfolders under the matter folder based on a configurable subfolder list. Builds a kickoff email that includes your Calendly scheduling link and sends it through a compliance guardrail sub-workflow. Sends the kickoff email via SMTP only when the guardrail approves it, otherwise skips sending if the client is opted out. Creates configurable onboarding follow-up tasks in Clio with due dates based on day offsets and appends the onboarding record (including Drive folder status) to a Google Sheets master log. Runs every Monday morning to read the Google Sheets onboarding log, summarize the last N days of onboardings and any Drive folder failures, and emails the weekly summary via SMTP. Setup Configure the “When Client Signs” webhook URL in your CRM/PM tool to POST client_name, client_email, matter_id, practice_area, attorney_name, and attorney_email. Add Google API (OAuth2) credentials with Google Drive access and set n8n variables for ONBOARDING_DRIVE_PARENT_FOLDER_ID and (optionally) ONBOARDING_DRIVE_SUBFOLDERS. Add a Google Sheets credential, set ONBOARDING_LOG_SHEET_ID, and ensure a sheet named “Master Onboarding Log” exists with columns matching the appended fields. Add Clio OAuth2 credentials, set CLIO_BASE_URL, and ensure the workflow has permission to create tasks for the target account/matters. Add an SMTP credential for sending emails and set FIRM_FROM_EMAIL, FIRM_EMAIL, FIRM_NAME, and CALENDLY_KICKOFF_EVENT_URL. Create or link a compliance/guardrail workflow and set GUARDRAIL_WORKFLOW_ID to its workflow ID so it can return an approval decision for the kickoff email. An n8n automation workflow template by Dele Tosh @ Protomated.

N8nUpdated 17 hours ago
Free5 uses
No ratings
  • 4 nodes
  • 5 views
Workflows
  • Automation
Se
Send engagement letters and open Clio matters with DocuSign and Google Sheets
Live

By Dele Tosh @ Protomated

Quick Overview This workflow automates engagement letter drafting and e-signing by connecting Clio, DocuSign, Google Sheets, and email: it creates or reuses a Clio contact, drafts a DocuSign envelope for attorney approval, logs progress in a tracking sheet, and opens a Clio matter after the envelope is completed. How it works Receives a webhook when a lead is qualified for an engagement letter and normalizes the lead details (name, email, phone, practice area, case details, and assigned attorney). Searches Clio for an existing contact by email and creates a new Clio contact if no exact match is found. Fetches DocuSign account context, creates a draft envelope from your engagement letter template with prefilled fields, logs the engagement in Google Sheets, and emails the assigned attorney an approval link. Receives an attorney approval webhook, validates the approval request, looks up the matching review ID in Google Sheets, and transitions the DocuSign envelope status to “sent”. Updates the Google Sheets row with the send result and returns a confirmation (or error) response to the attorney’s approval request. Receives a DocuSign Connect webhook, ignores non-completion events, and for completed envelopes matches the envelope ID back to the Google Sheets log. Creates a new Clio matter for the signed client, updates the Google Sheets row as signed with the matter ID, notifies staff by email, and acknowledges the DocuSign webhook. Setup Add Clio OAuth2 credentials in n8n and set the CLIO_BASE_URL variable for your Clio region. Add DocuSign OAuth2 credentials in n8n, set DOCUSIGN_AUTH_BASE_URL, and set ENGAGEMENT_LETTER_TEMPLATE_ID and ENGAGEMENT_LETTER_ROLE_NAME to match your DocuSign template. Create a Google Sheet with an “Engagement Pipeline” tab and the required columns (including review_id, envelope_id, status, sent_at, signed_at, contact_id, and matter_id), then set ENGAGEMENT_PIPELINE_SHEET_ID and connect Google Sheets credentials. Configure SMTP email credentials and set FIRM_FROM_EMAIL plus a default recipient like FIRM_ATTORNEY_EMAIL for attorney/staff notifications. Activate the workflow, set ENGAGEMENT_DECISION_WEBHOOK_URL to the production URL of the attorney decision webhook, and register the DocuSign Connect webhook URL for envelope completion events. An n8n automation workflow template by Dele Tosh @ Protomated.

N8nUpdated 17 hours ago
Free4 uses
No ratings
  • 4 nodes
  • 4 views
Workflows
  • Automation
Incrementors logo
Send weekly competitor content digests with RSS, Google Sheets, OpenAI and Gmail
Live

By Incrementors

Quick Overview This workflow runs every Monday, pulls the latest posts from up to three competitor RSS feeds, logs the titles to Google Sheets, uses OpenAI to generate a weekly competitive analysis (trends, gaps, and opportunities), and emails the digest via Gmail. How it works Runs on a schedule every Monday at 8am. Builds a list of up to three competitors from your configured RSS URLs and skips any competitors with blank or placeholder feeds. Fetches each competitor’s RSS XML feed and extracts up to five recent post titles. Appends each competitor’s weekly post titles and post count as a new row in a Google Sheets tab. After the last competitor is logged, reads back this week’s rows from Google Sheets and formats them into a single input for analysis. Sends the compiled competitor publishing list to OpenAI to produce a structured digest with highlights, trending topics, content gaps, and an urgent content opportunity. Formats the digest into a plain-text email and sends it to the configured recipient via Gmail. Setup Add credentials for OpenAI, Google Sheets (OAuth2), and Gmail (OAuth2), and ensure the Google Sheets API and Gmail API are enabled in your Google Cloud project. Create or choose a Google Sheet, add a tab named “Competitor Content”, and add headers: Week, Competitor, Post 1 Title, Post 2 Title, Post 3 Title, Post 4 Title, Post 5 Title, Post Count, Logged At. In the configuration step, set competitor names and RSS URLs (leave the third URL blank to skip), your niche, recipient email, sender name, and the target Google Sheet ID and tab name. (Optional) Adjust the cron schedule if you want the digest to run on a different day or frequency. An n8n automation workflow template by Incrementors.

N8nUpdated 17 hours ago
Free35 uses
No ratings
  • 7 nodes
  • 35 views
Workflows
  • Automation
  • AI
Se
Send crypto token listing alerts from 10+ exchanges to Discord and Slack
Live

By tokenearly

Quick overview Every five minutes this workflow pulls newly announced token listings from a free public feed covering 10+ crypto exchanges, keeps only the ones you care about, and posts each as a color-coded Discord embed, with an optional Slack copy. How it works A schedule trigger starts the run every five minutes. A single Settings node holds everything you may want to change: the Discord webhook URL, an exchange list, spot or futures, a keyword filter, how many days to look back, the headline language, and a Slack switch. An HTTP Request node calls a free, public, read-only JSON feed of listing announcements. It needs no account, no API key and no token, so the workflow runs the moment you import it. Binance and Gate.io entries arrive over the exchanges' own WebSocket streams; the other exchanges are polled at high frequency. A guard node reads the count field and ends the run quietly when the feed is unreachable or returns nothing. Split Out turns the response into one item per listing, then Remove Duplicates stores each listing permalink across executions so restarts and overlapping windows never announce the same listing twice. Two filter branches narrow the stream to your exchanges and your keyword, matching all three language titles at once. Anything filtered out goes to its own branch so you can see it in the execution log. A Set node picks the headline in your language, joins the token symbols, works out how old the announcement is, and keeps the link to the original announcement. Spot listings post to Discord as a green embed and futures listings as an orange embed, each with exchange, symbols and age fields. When Slack is switched on, the same listing also goes to a Slack incoming webhook as mrkdwn text with a spot or futures prefix. Setup In Discord open the channel settings, choose Integrations, then Webhooks, create a webhook and copy its URL. Open the Settings node and paste that URL into discord_webhook_url. A webhook URL needs no n8n credential, so nothing else has to be configured. Leave every other Settings field at its default to receive all listings from all 10+ exchanges, or narrow it down: exchanges takes comma separated ids such as binance,okx, listing_type takes spot or futures, and keyword alerts you only when the headline contains that word. Set language to en, zh or ko to choose which headline the embed uses. Raise lookback_days up to thirty on the first run if you want a backfill. To post to Slack as well, set send_to_slack to true and paste a Slack incoming webhook URL into slack_webhook_url. Save the workflow and activate it. Requirements A Discord channel webhook URL. Nothing else is required, because the listings feed is public and unauthenticated. Optional: a Slack incoming webhook URL. Customization Change the schedule interval to poll more or less often. The feed is cached for five minutes, so five minutes is a sensible floor. Edit the color numbers in the two Discord nodes, or add more embed fields, to restyle the message. Everything upstream stays the same. Swap either Discord node for Telegram, Gmail, or any other channel, or add a Google Sheets append for a log. The feed also publishes the monitored exchanges and an RSS version of the same listings, so you can build a digest instead of per listing alerts. An n8n automation workflow template by tokenearly.

N8nUpdated 17 hours ago
Free5 uses
No ratings
  • 1 nodes
  • 5 views
Workflows
  • Automation
Tr
Track tenant reference requests with forms, Gmail, and Google Sheets
Live

By Muhammad Sami Ullah

Quick overview This workflow collects tenant reference requests via an n8n Form, logs them in Google Sheets, emails the previous landlord a feedback form link, and automatically sends reminders and escalations via email (SMTP/Gmail) when responses are overdue. How it works Receives an agent’s tenant reference request through an n8n Form with the applicant, property, landlord email, and agent email. Appends a “Pending” tracking row to a Google Sheets tracker and alerts the agent via Gmail if the sheet write fails. Sends the landlord an email (via SMTP) containing a link to the landlord feedback form with the Submission ID in the URL, and alerts the agent via Gmail if the email fails. Waits 48 hours, looks up the tracking row in Google Sheets by Submission ID, and if the status is still “Pending” sends a reminder email to the landlord. Marks the tracking row as “Reminder Sent” in Google Sheets and emails the agent to prompt manual follow-up. Accepts the landlord’s feedback through a separate n8n Form and updates the matching Google Sheets row with the answers and a “Responded” status (or logs the raw response to a backup sheet if the update fails). Runs hourly to find “Pending” rows older than 49 hours, emails an escalation to the agent, and updates the row status to “Escalated” in Google Sheets. Setup Connect Google Sheets credentials and select the “Tenant Reference Tracker” spreadsheet (and ensure it contains the expected columns in Sheet1 plus a “Raw Response Backup” sheet for fallback logging). Add email credentials: an SMTP account for landlord/reminder/escalation messages and a Gmail connection for agent failure alerts. Replace the placeholder URL in all email templates (YOUR-N8N-DOMAIN and REPLACE-WITH-LANDLORD-FEEDBACK-FORM-ID) with your Landlord Feedback Form production URL so the Submission ID query parameter is preserved. Review the schedule and timing values (48-hour wait and 49-hour escalation threshold) and adjust them to match your process before activating the workflow. Requirements Google Sheets account (with a "Tenant Reference Tracker" spreadsheet) SMTP account for outbound landlord/reminder/escalation emails Gmail account for agent failure alerts Customization Customize the reminder delay (default 48 hours), escalation threshold (default 49 hours), and email templates to match your agency's tone. An n8n automation workflow template by Muhammad Sami Ullah.

N8nUpdated 17 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Lhoussaine Ait Aissa logo
Mine YouTube competitor content ideas with Google Gemini and Google Sheets
Live

By Lhoussaine Ait Aissa

Quick overview This workflow runs weekly (or on a form submission) to scan competitor YouTube channels via their RSS feeds, uses Google Gemini to generate and score new content ideas, logs high-scoring ideas to Google Sheets, tracks processed videos to avoid repeats, and emails a digest through Gmail. How it works Runs on a weekly schedule or when a form submits a comma-separated list of competitor YouTube channel IDs. Reads previously processed video IDs from a Google Sheets “Seen Videos” tab to maintain state across runs. Fetches each competitor channel’s YouTube RSS feed, parses recent uploads, and merges results into a single candidate list. Filters out videos already marked as seen, optionally inserts a forced test candidate, and stops if there are no new videos to analyze. For each new competitor video, sends the title and metadata to Google Gemini to generate three differentiated idea titles plus an opportunity score and supporting fields. Writes only ideas meeting the score threshold to a Google Sheets “Video Ideas” tab and appends every processed video to the “Seen Videos” tab. If at least one idea was saved this run, sends a plain-text digest email via Gmail to the configured recipient. Setup Add credentials for Google Sheets OAuth2, Gmail OAuth2, and the Google Gemini (PaLM) API. Create a Google Sheet with two tabs named “Seen Videos” and “Video Ideas” (or update the tab names in the configuration) and paste your spreadsheet ID into the workflow configuration. Provide your competitor YouTube channel IDs (comma-separated) via the form trigger or by setting the configured channel list value used by the workflow. Set the notification recipient email address and adjust limits and thresholds (max videos per channel, max candidates per run, and idea score threshold) in the workflow configuration. Disable the forced test title value in the configuration if you only want real competitor uploads to trigger AI idea generation. An n8n automation workflow template by Lhoussaine Ait Aissa.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
rodo h orellana logo
Generate and optimize AI blog posts for WordPress with Gemini and OpenAI
Live

By rodo h orellana

Quick overview This workflow receives a webhook request with a draft article and AI configuration, then uses Google Gemini, OpenAI, and/or OpenRouter to generate WordPress-ready HTML content, SEO metadata, FAQs, and a cover image (base64) formatted for WPBakery, returning the assembled payload as JSON. How it works Receives a POST webhook request containing a title, article text, writing and image style instructions, optional existing data, and AI provider settings. Normalizes the incoming payload, determines whether the request is for a new post or for regenerating a specific asset, and prepares defaults such as categories and image constraints. For regeneration requests, generates only the requested asset (image, excerpt, FAQ, or SEO JSON) using a fallback chain across Google Gemini, OpenAI, and OpenRouter, then returns the result to the webhook response. For new post requests, generates excerpt, FAQ items, a single category selection, and SEO fields in one JSON response using the same multi-provider fallback strategy. Rewrites the full article into clean WordPress-ready HTML (for example using , , , and ) while preserving the original meaning and applying the requested writing style. Creates a detailed image prompt from the article, then generates a cover image with Google Gemini (fallback to OpenAI), and returns the final JSON containing content, SEO metadata, and base64 image data. Setup Configure the Webhook trigger URL (POST /create-post) in your WordPress plugin or source system that sends the article payload. Provide at least one AI provider credential in the incoming ai_config (Google Gemini API key, OpenAI API key, and/or OpenRouter API key) and enable the corresponding text/image flags. Update the allowed category list sent in available_categories (or set a default in the workflow) to match the categories you use in WordPress. Set your preferred Gemini/OpenAI/OpenRouter model names in ai_config (including image models if you want image generation) and adjust retry_count and retry_delay as needed. Use the Manual Trigger test path to validate the payload structure and confirm that the webhook response returns the expected JSON fields (content_body, seo_data, faq_items, and image_base64). An n8n automation workflow template by rodo h orellana.

N8nUpdated 17 hours ago
Free
No ratings
  • 1 nodes
Workflows
  • Automation
Jeffy Thomas logo
Level subcontractor bids and manage awards with Gmail, OpenAI, and Data Tables
Live

By Jeffy Thomas

Quick overview This workflow monitors Gmail for subcontractor bid quote emails, uses OpenAI to match and extract pricing and scope coverage, stores leveled results in n8n Data Tables, and runs a daily sweep to chase missing bids, rank quotes, and send award-approval and award/regret emails. How it works Triggers when a Gmail message arrives that matches the bid/quote search and downloads any attachments. Extracts text from the attached PDF and replies asking for a text-based PDF if the attachment is not readable. Uses OpenAI to look up open bid packages in n8n Data Tables, match the email to a package, and extract structured quote details plus scope coverage for each checklist item. If the quote is valid and matches an open package, calculates scope gaps, applies allowance “plugs” to produce a leveled total, versions the quote as a revision, and upserts it into the bid_quotes Data Table. Replies in Gmail either confirming the quote is complete or asking the subcontractor to confirm/clarify missing or excluded scope items. Runs daily at 7am to update past-due packages to closing, remind invited subcontractors who have not submitted quotes yet, and flag packages with no bids for review. For packages with bids after closing, ranks quotes by leveled total, has OpenAI draft an award recommendation, emails the estimator for approval, then sends the award-intent email to the winner and regret emails to the other bidders while updating the package status in the bid_packages table. Setup Connect Gmail OAuth2 credentials for reading incoming bid emails and sending replies, reminders, approvals, and award/regret messages. Add an OpenAI API credential for the quote extraction/matching agent and the award recommendation writer. Run the manual “set up” trigger once to create the bid_packages and bid_quotes n8n Data Tables (and optionally insert the sample package). Populate the bid_packages table with your real packages, ensuring scope_checklist uses the format Item=allowance; Item=allowance, and set status to open. Update the two settings steps with your company name, estimating contact, review inbox, minimum match confidence, default plug amount, and chase-days-before-due value. An n8n automation workflow template by Jeffy Thomas.

N8nUpdated 17 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI
Rahul Joshi logo
Create ClickUp meeting action items from transcripts with GPT-4o-mini and Slack
Live

By Rahul Joshi

Quick overview This workflow ingests meeting transcripts from Telegram messages or new .txt files in Google Drive, uses OpenAI (gpt-4o-mini) to extract a summary and action items, creates corresponding tasks in ClickUp, and posts a formatted recap to Slack with an optional Telegram confirmation. How it works Triggers when a Telegram bot receives a message or when a new file is created in a specific Google Drive folder. Validates that the Telegram message contains enough transcript text or downloads and reads the text from the new Google Drive file. Normalizes the transcript into a consistent structure (meeting title, transcript text, source, and Telegram chat ID when available). Sends the normalized transcript to OpenAI (gpt-4o-mini) to return JSON containing a short meeting summary and a list of action items with owner, deadline, and priority. Parses the AI JSON, splits the action items into individual records, and creates a ClickUp task for each item with mapped due date and priority. Builds a Slack-formatted message with the meeting summary and a numbered list of created tasks, posts it to a Slack channel, and sends the same text back to the originating Telegram chat when available. Setup Add credentials for Telegram Bot API, Google Drive OAuth2, OpenAI, ClickUp, and Slack. In Google Drive, choose the folder to watch in the Google Drive trigger and ensure transcript files are uploaded as .txt. Replace REPLACE_WITH_YOUR_CLICKUP_LIST_ID in the ClickUp task creation step with your target ClickUp List ID. Replace REPLACE_WITH_YOUR_SLACK_CHANNEL_ID in the Slack posting step with your target Slack channel ID. (Optional) Replace REPLACE_WITH_YOUR_TELEGRAM_CHAT_ID in the Telegram confirmation step if you want a fallback chat destination when the workflow can’t read a chat ID. Activate the workflow so both triggers can start processing transcripts. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 17 hours ago
Free
No ratings
  • 8 nodes
Workflows
  • Automation
  • AI
Rahul Joshi logo
Log receipt expenses in Notion with Gmail, Telegram, and OpenAI
Live

By Rahul Joshi

Quick overview This workflow captures receipt attachments from Gmail and receipt photos from Telegram, extracts structured expense details with OpenAI (gpt-4o-mini), logs each expense as a new page in a Notion database, and sends a Telegram confirmation, with Slack and Telegram alerts on workflow errors. How it works Triggers when a new Gmail message matching the receipt search filter arrives with an attachment. Extracts the first email attachment, detects whether it is a PDF, and if it is a PDF extracts its text content. Sends either the PDF text or the receipt image to OpenAI (gpt-4o-mini) to return receipt data as JSON (vendor, date, amount, currency, category, summary). Triggers when a new Telegram message is received and continues only if it includes a photo. Downloads the highest-resolution Telegram photo, converts it to a base64 data URL, and sends it to OpenAI (gpt-4o-mini) for JSON receipt extraction. Parses the OpenAI response into normalized fields and creates a new expense entry in a Notion database. Sends a Telegram message confirming the logged expense, and on any workflow error posts alerts to Slack and Telegram. Setup Add credentials for Gmail OAuth2, Telegram Bot API, OpenAI, Notion, and Slack OAuth2 (for error alerts). Replace REPLACE_WITH_YOUR_NOTION_EXPENSES_DATABASE_ID with your Notion expenses database ID and ensure the database has matching properties (Vendor, Amount, Currency, Date, Category, Source, Notes). Set the Telegram chat IDs used for messages by replacing REPLACE_WITH_YOUR_TELEGRAM_CHAT_ID in the confirmation step and YOUR_ADMIN_TELEGRAM_CHAT_ID for error alerts. Update the Slack channel selection for error alerts to the channel you want to receive workflow failure notifications. Configure your Telegram bot with BotFather and start a chat with the bot so it can receive photos and send confirmations. Activate both the Gmail and Telegram triggers. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 17 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Rahul Joshi logo
Prep meeting agendas from Google Calendar with Gmail, OpenAI, and Telegram
Live

By Rahul Joshi

Quick overview This workflow runs every 15 minutes to pull upcoming Google Calendar meetings, find related Gmail threads for context, and use OpenAI (GPT-4o-mini) to generate a concise agenda, then creates a Gmail draft, sends a Telegram alert, and logs processed events to Google Sheets to avoid duplicates. How it works Runs every 15 minutes on a schedule trigger. Fetches upcoming events from Google Calendar and reads previously processed event IDs from a Google Sheets “Meeting Prep Log” tab. Skips meetings that already exist in the log, then iterates through each unprocessed meeting. Searches Gmail for recent emails from the meeting attendees (within the last 30 days) and compiles snippets into a single meeting-context prompt. Sends the meeting details and email context to OpenAI (gpt-4o-mini) to generate a Markdown agenda and prep brief. Creates a Gmail draft addressed to the meeting attendees, sends a Telegram message with the formatted agenda, and appends the meeting’s Event ID and title to Google Sheets. If the workflow errors, it sends an alert to Slack and to Telegram via the error trigger. Setup Connect credentials for Google Calendar OAuth2, Gmail OAuth2, OpenAI API, Google Sheets OAuth2, Slack OAuth2, and Telegram Bot API. Replace REPLACE_WITH_YOUR_MEETING_PREP_SHEET_ID with your Google Sheets document ID and ensure a “Meeting Prep Log” sheet exists with an “Event ID” column. Set REPLACE_WITH_YOUR_TELEGRAM_CHAT_ID for meeting alerts and YOUR_ADMIN_TELEGRAM_CHAT_ID for error alerts, and confirm the Slack channel selection for error notifications. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 17 hours ago
Free
No ratings
  • 9 nodes
Workflows
  • Automation
  • AI
Hamza Jamal Janjua logo
Check supplier invoices from Gmail using OpenAI, Google Sheets and Slack
Live

By Hamza Jamal Janjua

Quick overview Watches a Gmail label for supplier invoice PDFs, reads the fields with OpenAI, then runs eight checks against supplier, purchase order and ledger data in Google Sheets. Clean invoices post to the ledger, large ones go to Slack for sign off, and failures are sent back to the supplier. How it works Triggers when a new email with attachments arrives in Gmail under a specified label. Filters the email attachments to keep only PDFs and extracts the PDF text. Uses OpenAI to convert the invoice text into structured fields like supplier, invoice number, PO number, dates, currency, totals, and line items. Loads supplier records, open purchase orders, and already-posted invoices from Google Sheets and applies checks for duplicates, totals/tax validity, PO matching, and invoice date sanity. If all checks pass and the amount is within the approval limit, appends the invoice record to the Google Sheets Ledger. If all checks pass but the amount exceeds the approval limit, posts a Slack message to request human sign-off. If any check fails, appends the invoice to the Google Sheets Exceptions sheet and emails the supplier with a numbered list of issues. Setup Connect Gmail Trigger credentials and set the Gmail label ID where supplier invoices arrive, ensuring attachments are enabled. Add an OpenAI credential for the extraction step. Connect Google Sheets credentials and replace the spreadsheet URL placeholders, ensuring the sheet names SupplierMaster, OpenPurchaseOrders, Ledger, and Exceptions exist with appropriate columns. Connect Slack credentials and set the accounts payable channel name/ID for approval requests and error alerts. Populate SupplierMaster (including supplier_name, supplier_email, po_required, default_approver) and OpenPurchaseOrders (including po_number, remaining_value, currency, approver_email) so the checks can run correctly. Requirements A Gmail account receiving supplier invoices, with a label you can filter on. An OpenAI credential for the extraction step. One Google Sheets spreadsheet with four tabs: SupplierMaster (supplier_name, supplier_email, default_approver, po_required), OpenPurchaseOrders (po_number, remaining_value, currency, approver_email), Ledger and Exceptions. A Slack workspace and a channel for accounts payable. Customization Every threshold sits at the top of the Code node: the rounding tolerance on subtotal plus tax, how far above a purchase order an invoice may go, how old an invoice may be, the approval limit, and the valid tax rates, which ship set to 0 and 5 for the UAE. Change VALID_TAX_RATES for your country. Add or remove checks by pushing to the failures array, and anything you push becomes a line in the email the supplier receives. Swap Slack for Teams or email, and swap the Google Sheets nodes for your accounting system's own nodes. An n8n automation workflow template by Hamza Jamal Janjua.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Ad
Add burned-in captions to new Google Drive videos with Shotstack
Live

By Jesus Rojas

Quick overview This workflow watches a Google Drive folder for new video files, shares each file via a public link, then uses Shotstack to auto-transcribe and burn captions into the video and saves the captioned MP4 back to Google Drive. How it works Triggers when a new video file is created in a specified Google Drive folder. Updates the new file’s sharing settings in Google Drive so Shotstack can download it via a public link. Sends the Google Drive download URL to Shotstack to render a new MP4 with burned-in captions generated from the video’s speech. Polls Shotstack every 10 seconds to check the render status until it is done or failed. If the render fails, stops the workflow and returns Shotstack’s error message. If the render succeeds, retrieves the rendered asset URL from Shotstack, downloads the captioned video, and uploads it to Google Drive as a new “(captioned)” copy. Setup Connect your Google Drive credentials and select the folder to watch for new videos. Connect your Shotstack credentials (API key) and confirm your Shotstack project can create renders. Set the destination Google Drive folder for the captioned output so it is not the same as the watched folder (to avoid retrigger loops). Requirements A Shotstack account and API key The video must contain speech. Shotstack transcribes the audio, and a clip with no spoken audio fails the render. Very large Google Drive files return a scan warning page instead of the video. Host those elsewhere. Customization Restyle the subtitles with the caption asset's font, background and margin options. Change the output resolution or aspect ratio in the output block. Replace the last two nodes to send the finished video somewhere other than Google Drive. An n8n automation workflow template by Jesus Rojas.

N8nUpdated 2 months ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
Intuz logo
Answer internal policy questions from Google Drive with OpenAI and Qdrant
Live

By Intuz

Quick overview This workflow keeps a Qdrant knowledge base synced with Google Drive documents and lets users ask questions via n8n Chat or Slack, using OpenAI for embeddings and responses with source citations. How it works Triggers every minute when a file is created or updated in a specific Google Drive folder and downloads the file. Detects whether the file is a PDF, Google Doc, DOCX, or TXT and extracts plain text (DOCX files are copied to a temporary Google Doc, exported as text, then deleted). Deletes any existing vectors in the Qdrant collection that match the same Google Drive file ID to prevent outdated or duplicate content. Splits the extracted text into chunks, attaches metadata (file ID, name, Drive URL, last modified time), creates OpenAI embeddings, and inserts the chunks into the Qdrant collection. Triggers when a message is received from the public n8n Chat endpoint or when the Slack app is mentioned/receives a message, then normalizes both inputs into a single format and ignores bot-generated Slack events. Uses an OpenAI chat model with conversation memory and a Qdrant “company_knowledge_base” retrieval tool to draft an answer based only on retrieved document content and includes formatted source citations. If the question came from Slack, posts the formatted response back to the same Slack channel/thread. Setup Add credentials for Google Drive OAuth2, OpenAI, and Qdrant (REST API for delete-by-filter and Qdrant API for vector store insert/retrieval). Create a Qdrant collection named company_docs and create a payload index on metadata.file_id (type keyword) so delete-by-filter works. Set the Google Drive folder ID to watch (and ensure the account has access) and confirm your documents are supported (PDF, Google Docs, TXT, and DOCX via the copy/export flow). If using Slack, connect Slack OAuth credentials, configure a Slack app with app_mention and message.im (and/or message events) subscriptions, reinstall the app to the workspace, and set the target channel in the Slack trigger. Example Slack Message: @IntuzBot What is the notice-period policy? IntuzBot answers general greetings and identity questions directly, searches the knowledge base for company-related questions, and gives a friendly fallback when the requested information is not available. Requirements n8n with LangChain nodes enabled. Google Drive account with access to the source folder. OpenAI API key for chat responses and embeddings. Qdrant Cloud cluster and API key. Qdrant collection named company_docs, or update the collection name in both workflows. A Google Drive folder containing supported documents. Slack credentials and a configured Slack app if Slack responses are required. A Qdrant payload index on the file ID field for delete-before-insert synchronization. Supported document extraction or conversion for PDF, TXT, Google Docs, and DOCX files. Additional info Connect with us: Website: https://www.intuz.com/n8n-workflow-automation-templates/ Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz For Custom Workflow Automation Get Started: https://n8n.partnerlinks.io/intuz. An n8n automation workflow template by Intuz.

N8nUpdated 17 hours ago
Free16 uses
No ratings
  • 11 nodes
  • 16 views
Workflows
  • Automation
  • AI
Oneclick AI Squad logo
Generate AI text and images with Claude and Stripe metered billing
Live

By Oneclick AI Squad

Quick overview This workflow exposes a POST webhook that authenticates requests against Stripe customer metadata, checks an active subscription and metered usage limits, generates text with Anthropic Claude or images via an external image API, records Stripe usage, and returns a synchronous JSON response. How it works Receives a POST webhook request containing an apiKey, contentType (text or image), a prompt, and optional generation parameters. Searches Stripe for a customer whose metadata.apiKey matches the incoming key and returns a 401 JSON error if no customer is found. Fetches the customer’s active Stripe subscription, reads the metered subscription item, and pulls current-period usage summaries for that item. Compares current usage to a per-plan monthly limit (based on the subscription’s Stripe price ID) and returns a 402 JSON error if there is no active subscription or the limit is exceeded. Generates content by calling the Anthropic Messages API for text requests or by calling a configured image-generation HTTP endpoint for image requests. Records a usage increment on the Stripe subscription item and returns a success JSON payload containing the generated content and updated usage counters. Setup Add Stripe API credentials with access to Customers, Subscriptions, Subscription Items, and Usage Records. Add an Anthropic API key as HTTP Header Auth and ensure the request includes x-api-key, anthropic-version, and content-type headers. Store each user’s API key in Stripe customer metadata under apiKey, or replace the customer lookup step with your own key store. Update the configuration values for your Anthropic model, your metered Stripe Price ID, and the planLimits map (Stripe price ID → monthly generation limit). If you support image generation, set imageGenEndpoint and provide credentials/headers required by your image-generation API. Copy the webhook URL after activation and configure your client app to POST requests to the /ai-saas/generate endpoint. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 17 hours ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
Oneclick AI Squad logo
Serve a RAG chat backend for Next.js using OpenAI, Redis, and Pinecone
Live

By Oneclick AI Squad

Quick overview This workflow exposes a secure webhook API for a Next.js app to run a RAG chat agent using OpenAI, a Pinecone vector store, Redis caching, and Postgres logging, and it optionally calls back into Next.js to trigger ISR revalidation when grounded answers indicate public content should be refreshed. How it works Receives a POST request on a header-authenticated webhook endpoint from a Next.js Server Action or Route Handler. Validates the request payload (query, conversationId, tenantId, and allowed namespace) and returns a structured 400 response if any checks fail. Builds a deterministic cache key and checks Redis to return a cached answer immediately for identical repeated queries. On a cache miss, generates OpenAI embeddings and retrieves the top relevant passages from a Pinecone vector index scoped to the request namespace. Uses an OpenAI-powered agent with conversation window memory and a vector-search tool to produce a structured JSON answer with citations and a groundedness/confidence score. Validates and normalizes the agent’s JSON output, stores the result in Redis with a TTL, and logs the conversation turn to Postgres. Responds to Next.js with the final answer payload, and if the answer is grounded, posts a non-blocking callback to Next.js /api/revalidate to revalidate an ISR tag for that namespace. Setup Create and connect credentials for OpenAI, Redis, and Postgres, and configure the webhook’s Header Auth (x-api-key) so only your Next.js server can call it. Set up a Pinecone index and connect Pinecone credentials, then select the index in the vector store node and ensure your documents are already embedded and stored in the namespaces you plan to use. Update the configuration values in the workflow (allowedNamespaces, default namespace, embedding/chat models, cache TTL, and max query length) to match your app’s requirements. Implement a Next.js Route Handler at /api/revalidate that validates the shared secret and calls revalidateTag/revalidatePath, then set nextjsRevalidateUrl and nextjsRevalidateSecret in the workflow to match it. Ensure your Postgres database contains a rag_conversation_turns table (or update the insert target) with columns matching the logged fields (conversation, query, answer, citations, groundedness, confidence, latency, cacheHit, createdAt). An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 17 hours ago
Free
No ratings
  • 10 nodes
Workflows
  • Automation
  • AI
Ro
Route API traffic with Stripe RBAC and Redis rate limiting
Live

By Oneclick AI Squad

Quick overview This workflow exposes a single n8n webhook as an API gateway that authenticates requests against Stripe customer metadata, authorizes access with role-based permissions, enforces per-role rate limits using Redis, and forwards allowed requests to internal n8n webhook endpoints. How it works Receives a POST request on the n8n webhook with an API key, target route, method, and payload. Looks up the Stripe customer whose metadata contains the provided API key and resolves the requester role from Stripe customer metadata. Rejects unauthenticated requests with a 401 JSON response when no matching Stripe customer is found. Checks the requested route against a configured route-to-roles permission map and rejects disallowed access with a 403 JSON response. Increments a per-API-key counter in Redis for the current time window and compares it to the configured per-role limit. Rejects over-limit requests with a 429 JSON response and a Retry-After header, or forwards allowed requests to the mapped internal n8n webhook URL. Returns the internal workflow response to the client and includes X-RateLimit-Limit and X-RateLimit-Remaining headers. Setup Add Stripe API credentials with permission to search customers and ensure each Stripe customer includes metadata.apiKey and metadata.role (admin, user, or readonly). Add Redis credentials and ensure your Redis instance is reachable from n8n. Update the gateway configuration to match your API design, including routePermissions, rateLimits, rateLimitWindowSeconds, and internalWorkflowMap URLs. Configure your internal workflows to expose the target webhook endpoints and accept the forwarded payload (including the _gateway context object). Copy the webhook URL for this workflow’s /gateway endpoint and point your client applications to it instead of calling internal workflows directly. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 17 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Tr
Triage client intake and send tailored advisory emails with Groq and Gmail
Live

By SPIRIDON TSAKONAS

Quick overview This workflow receives client intake submissions via a webhook, sends a tailored confirmation email through Gmail, generates a personalized advisory reply using Groq’s OpenAI-compatible Chat Completions API, and emails both the client response and an internal notification to Cyrus with urgency-based routing. How it works Receives an intake form submission via a POST webhook and immediately returns a JSON acknowledgement to the form. Sends a service-specific HTML confirmation email to the client using Gmail based on the selected offering. Sends the intake details (story, urgency, goals, and context) to Groq’s Chat Completions API to generate a personalized written response. Checks the submitted urgency score and classifies the intake as urgent when the score is 7 or higher. Emails Cyrus a formatted intake summary via Gmail, using an URGENT alert version for high-urgency submissions and a standard version otherwise. Emails the AI-generated personal response to the client via Gmail. Setup Create and connect a Gmail OAuth2 credential for sending emails, and update the internal notification recipient address if needed. Add a Groq API key and store it securely, then replace the hardcoded Authorization bearer token in the Groq HTTP request. Publish the webhook and copy the production URL to your intake form or frontend so submissions POST to /intake-form. Ensure your form sends the expected fields (at minimum email, name, service, urgency, area, and story) so the email templates and urgency routing work correctly. An n8n automation workflow template by SPIRIDON TSAKONAS.

N8nUpdated 17 hours ago
Free
No ratings
  • 1 nodes
Workflows
  • Automation
Ca
Capture and reply to cleaning enquiries with webhooks, Google Sheets and Gmail
Live

By muhd dahlan

Quick Overview This workflow receives commercial cleaning enquiries via a webhook, normalizes and validates the submitted form data, logs each valid enquiry to Google Sheets, and optionally sends acknowledgement and internal notification emails via Gmail before returning a JSON response to the website. How it works Receives a POST request from your website form via an n8n webhook. Loads pipeline settings and parses the incoming payload to normalize common WordPress form fields (contact details, message, and postcode) into a consistent structure. Validates the submission to filter out spam or incomplete enquiries and immediately returns a webhook response for rejected submissions. Routes valid enquiries to an owner and area based on postcode prefix rules and generates the customer acknowledgement and internal owner notification email content. Appends a standardized enquiry row to a Google Sheets tracker for reporting and follow-up. If sending is enabled, sends the acknowledgement email to the customer via Gmail and, when an owner email exists, sends the internal notification to the assigned owner. Returns a JSON webhook response to the website that includes an ok status and the generated enquiry reference. Setup Configure the website form to POST to the workflow’s webhook URL (path: /cleaning-enquiry). Add and authorize Google Sheets credentials, then set the tracker spreadsheet ID and tab name in the configuration code and ensure the sheet headers match the configured column names. Add and authorize Gmail credentials for sending customer acknowledgements and owner notifications, and set the sender name and optional Reply-To address in the configuration. Update the configuration code with your postcode-to-owner routing rules, fallback owner details, company details, and the list of questions included in the first reply. Choose your sending mode by setting TEST_RUN/TEST_EMAIL (preview logs only, test sends to a single inbox, live sends to customers and owners). An n8n automation workflow template by muhd dahlan.

N8nUpdated 17 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
PDF.co logo
Create weekly research brief PDFs with Brave Search, Firecrawl, Claude, PDF.co, Gmail and Google Drive
Live

By PDF.co

Quick overview This workflow runs weekly, searches selected topics with Brave Search, scrapes the top results with Firecrawl, and uses Anthropic Claude to write a cited weekly research brief. It formats the brief as HTML, converts it to a PDF with PDF.co, emails it via Gmail, and archives it to Google Drive. How it works Runs weekly on a Monday 07:00 schedule and loads brief settings like topics, result limits, branding, and delivery targets. Splits the comma-separated topic list and searches each topic in Brave Search using the past-week freshness filter. Selects up to the configured number of valid web results per topic, assigns source IDs, and carries topic metadata forward. Scrapes each result URL with Firecrawl, cleans and truncates the extracted Markdown (falling back to the search snippet if the page has no text), and aggregates all sources into one dataset. Sends the aggregated sources to Anthropic Claude to produce a structured JSON brief with a two-sentence summary, topic findings, citations by source ID, and watch items. Builds validated, branded HTML from the structured brief, converts it to a PDF via PDF.co, downloads the generated file, then emails it with Gmail and uploads it to Google Drive. Setup Add credentials for Brave Search, Firecrawl, Anthropic (Claude), and PDF.co (or configure n8n AI Gateway credits if you prefer managed access). Connect your Gmail account for sending the email and your Google Drive account for archiving the PDF. In the workflow’s brief settings, set your topics, results per topic, recipient email address, and Google Drive folder ID (and optionally your brand name and logo URL). Confirm the schedule timezone in n8n Workflow Settings and adjust the cron expression if you want a different send time. Run a manual test to verify the generated PDF layout, citations, and email delivery before enabling the weekly schedule. Additional info Showcasing providers of Gateway credits. It features our service (PDF.co) and combines it with other services that are easy to start using in n8n Cloud. An n8n automation workflow template by PDF.co.

N8nUpdated 17 hours ago
Free
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Shisan Hua logo
Generate catalog concept PNGs with OpenAI gpt-image-1 and CSV manifests
Live

By Shisan Hua

Quick Overview This workflow runs manually to turn a small product catalog JSON, approved scene descriptions, and target aspect ratios into a validated matrix of product-image creative briefs, then exports the briefs as a downloadable CSV for review and handoff. How it works Starts when you run the workflow manually. Loads your brand style, aspect ratios, product catalog JSON (SKU, subject, must-keep details, optional reference asset), and approved scene JSON. Validates the inputs (required fields, unique SKUs, supported aspect ratios, and a maximum of 100 brief combinations). Builds a creative brief for every product × scene × aspect ratio combination, including a standardized prompt, review checklist, status, and a unique brief ID. Converts the brief matrix into a CSV (with spreadsheet-formula injection protection) and outputs it as a downloadable file. Setup Replace the sample product JSON with your own items, ensuring each product includes a unique sku, a subject description, and mustKeep constraints (and optionally referenceAsset). Add or edit the approved scenes JSON (each needs a name and setting) and set brandStyle and aspectRatios to the formats you plan to produce. Run the workflow and download the CSV file from the final step’s binary output; no credentials or external service configuration is required. An n8n automation workflow template by Shisan Hua.

N8nUpdated 17 hours ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
Cr
Create verified image derivatives and print reports with native resizing
Live

By Shisan Hua

Quick overview This workflow runs manually to calculate target pixel dimensions for planned print sizes, recommend an enlargement factor from your allowed scales, estimate crop loss from aspect-ratio differences, and export the full plan as a downloadable CSV. How it works Runs when you manually execute the workflow. Loads your image metadata (pixel dimensions and desired print size in centimeters), along with the target DPI and allowed enlargement factors. Calculates the target pixel dimensions for each print size, determines the required scale to fill the target area, and selects the smallest allowed factor that meets the requirement. Estimates the percentage of content likely to be cropped when the source and print aspect ratios differ and flags images that exceed the configured enlargement options. Generates a CSV report and outputs it as a downloadable binary file. Setup Update the image list with your real filenames and dimensions (widthPx, heightPx, printWidthCm, printHeightCm). Set your targetDpi and the comma-separated availableScales values to match the upscaling factors you can actually use. Run the workflow and download the CSV from the final step’s binary output. Review the crop-loss percentage and any records exceeding your available scale factors before processing or printing the images. Additional info I work on Upscayl. You can manually use the resulting plan with Upscayl or another image enlargement tool. This template only calculates a plan from metadata: it does not upload images or call an upscaling API. Configured scale factors are user inputs, not verified product capabilities. Transformation logic passed six local checks; full execution inside n8n has not been independently verified. An n8n automation workflow template by Shisan Hua.

N8nUpdated 17 hours ago
Free5 uses
No ratings
  • 3 nodes
  • 5 views
Workflows
  • Automation
Ge
Generate and monitor Fal LTX text-to-video jobs with recovery manifests
Live

By Shisan Hua

Quick overview This workflow runs manually to validate a JSON shot list and turn it into a downloadable Markdown production brief with per-shot video prompts, timeline timing, and review warnings for missing details or duration mismatches. How it works Runs when you manually start the workflow. Sets your video brief details, including project name, aspect ratio, target duration, shared visual style, and a JSON array of shots. Validates the shot list and constraints (1–30 shots, supported aspect ratios, per-shot seconds limits), calculates each shot’s start/end timecodes, and builds a prompt for every shot. Generates a Markdown production brief that includes a review checklist (warnings) plus the full prompt pack and production checklist. Outputs the brief as a downloadable .md file in binary data. Setup In the video brief configuration, replace the sample project details and provide your own valid shots JSON with at least subject, action, and seconds per shot. Ensure the aspect ratio is one of 9:16, 16:9, or 1:1 and that the targetSeconds value matches your intended total duration. Execute the workflow and download the generated Markdown file from the final node’s binary output. Additional info I work on Flow AI Video. You can manually copy the resulting shot prompts into Flow AI Video or another video generator. This template only prepares a production brief: it does not call a video-generation API, create videos, consume generation credits, or guarantee clip timing. No credentials are required. The transformation logic has been locally checked with valid and invalid sample inputs; full execution inside n8n has not been independently verified. An n8n automation workflow template by Shisan Hua.

N8nUpdated 17 hours ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
Luca logo
Screen supplier invoices for duplicates and PO mismatches with Gmail, Sheets and OpenAI
Live

By Luca

Quick overview This workflow monitors a Gmail inbox for PDF invoices, extracts key fields with OpenAI, and cross-checks them against Google Sheets supplier, purchase order, and ledger registers to detect duplicates, bank-detail changes, and PO/receiving mismatches, then routes the invoice for approval or hold and emails daily exceptions. How it works Triggers every 5 minutes when a Gmail message arrives with a PDF attachment and loads configuration values like the Google Sheet ID, approver emails, and thresholds. Reads the Suppliers, Purchase orders, and Ledger tabs from Google Sheets once and reuses those registers for all invoices in the email batch. Splits each email into one item per PDF attachment so each invoice is processed independently. Extracts text from each PDF and uses OpenAI (gpt-4o-mini) to pull structured invoice fields such as supplier, invoice number, dates, totals, PO number, and IBAN. Validates invoice consistency (date parsing, totals arithmetic, implied VAT rate, and IBAN checksum) and then checks for prior payment, bank-detail changes versus the supplier master, and PO/received-amount mismatches using the Sheets registers. Routes the outcome by emailing finance to hold blocked invoices, sending a Gmail approval request that waits up to 3 days for higher-risk or higher-value invoices, auto-clearing small clean invoices, or flagging unreadable invoices for manual keying, and then appends or updates a row in the Google Sheets Ledger. Runs every weekday at 08:00 to scan the Ledger for unanswered approvals, unresolved holds, upcoming/overdue due dates, and possible duplicate billing, and emails a consolidated exception report. Setup Create a Google Sheet with tabs named Suppliers, Purchase orders, and Ledger, and ensure the Ledger has an invoice_key column used for append-or-update matching. Add Gmail credentials for reading invoice emails and sending hold/approval/report notifications. Add Google Sheets credentials and set your Sheet ID in the Settings node and in the weekday “Read the ledger” step (which is hard-coded to YOUR_SHEET_ID). Add an OpenAI credential and ensure the workflow can use the gpt-4o-mini model for information extraction. Update the approver and finance email addresses, thresholds (auto approval limit, manager limit, tolerances, duplicate window), and any default currency/date-order settings in the Settings node. An n8n automation workflow template by Luca.

N8nUpdated 17 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI
Cr
Create daily quote videos from Google Sheets with Zvid
Live

By Zvid

Quick overview This workflow runs daily (or manually) to pull the next unused quote from Google Sheets and generate a branded vertical MP4 using Zvid, then writes the finished video URL back to the sheet for review. How it works Runs every day at 8am (or on manual start) and loads the workflow configuration values. Reads all rows from a Google Sheets tab and selects the first row where the Status column is empty. Builds a Zvid video project JSON using the quote, author, optional author note, and a rotating background video/music selection. Validates the project through the official Zvid node and stops with a detailed error if the project is invalid. If dryRun is enabled, saves the project as a draft in Zvid Editor and outputs an editor link and estimated render credits without updating the sheet. With dryRun: false (the default), submits a paid Zvid render and waits until it completes, fails, or reaches the configured timeout. After a successful render, updates the same Google Sheets row with Status=done and VideoUrl. The Watch video step downloads the finished MP4 for review inside n8n. Failed renders leave the row pending. Setup Before configuring Zvid credentials, install @zvid/n8n-nodes-zvid from Settings → Community nodes. A workspace owner/admin may need to install it. On n8n Cloud, the owner can search for Zvid in the Nodes panel and install the verified integration. Create a Zvid API credential with a key from https://app.zvid.io/api-keys and Base URL https://api.zvid.io, then select it on every Zvid node. Add a Google Sheets OAuth credential and select the same spreadsheet and sheet in both the read and update steps. Create these exact headers: Quote, Author, AuthorNote, Status, VideoUrl. Fill Quote and Author; AuthorNote is optional. Leave Status and VideoUrl empty for rows waiting to render. Customize Config with your channel handle, call to action, fonts, and colors. Run manually with dryRun: false (the default), which renders a video and spends Zvid credits. For an optional free editor draft and quote without a sheet update, set dryRun: true before running. Open Watch video → Binary → data → View to review the MP4. Confirm your schedule and workflow timezone before activating the daily trigger. Requirements An n8n workspace with the verified Zvid integration, Google Sheets read/write access, and sufficient Zvid credits for rendering. Customization Customize channelName, ctaText, fonts, colors, musicVolume, and background overrides in Config. The five default backgrounds rotate by date; poolIndexOverride can pin a look. Confirm quote attribution before sharing. Additional info All Zvid operations use the official Zvid node. The five included background videos and shared end-card image are verified at 1080×1920. Custom source media must fit your account’s input limits before rendering begins. The workflow returns a finished video and updates Google Sheets; social publishing is not included. Walkthrough and resources Watch the complete YouTube walkthrough Read the step-by-step blog tutorial Get the workflow on Zvid Node.js script on GitHub. An n8n automation workflow template by Zvid.

N8nUpdated 17 hours ago
Free3 uses
No ratings
  • 3 nodes
  • 3 views
Workflows
  • Automation
Cr
Create faceless YouTube shorts with Zvid, ElevenLabs and OpenRouter
Live

By Zvid

Quick overview This workflow creates a narrated faceless YouTube Shorts video by generating a script with OpenRouter, synthesizing voiceover with ElevenLabs, assembling stock footage and optional music via Zvid, rendering the final MP4 in Zvid, and optionally uploading the result to YouTube. How it works Runs on a daily schedule at 9am or starts manually. Uses Channel Config and recent topics from production runs to guide an OpenRouter script with several narration scenes. Splits the script into scenes, searches Zvid’s stock library for matching video clips per scene, and selects the best-fit clip for each one. Searches Zvid’s stock library for background music by tag, checks candidate files are downloadable and under the configured size limit, and picks one track or proceeds without music. Generates narration and character-level alignment with ElevenLabs, converts the alignment into word timings, and uploads the MP3 to Zvid. Assembles a Zvid project with scene cuts aligned to the narration timings, karaoke-style captions, branding, transitions, and an optional outro, then validates the project payload. By default, submits a Zvid render job, waits for completion, downloads the MP4, and makes it available in Watch video. Optional YouTube upload is disabled by default. Setting dryRun to true instead saves an editor draft and returns a render quote. Setup Before configuring Zvid credentials, install @zvid/n8n-nodes-zvid from Settings → Community nodes. A workspace owner/admin may need to install it. On n8n Cloud, the owner can search for Zvid in the Nodes panel and install the verified integration. Create a Zvid API credential with a key from https://app.zvid.io/api-keys and Base URL https://api.zvid.io; select it on the Zvid nodes and Upload voiceover. Add an OpenRouter API credential and set the model ID in Channel Config (for example openai/gpt-4.1-mini). Add an ElevenLabs HTTP Header Auth credential with xi-api-key, and set the voiceId and TTS settings in Channel Config. Customize Channel Config: niche, audience, channel handle, voice, target duration, and branding. Run manually with dryRun: false (the default); this renders a video and spends Zvid credits. Open Watch video → Binary → data → View to review the MP4. Set dryRun: true for an optional editor draft and quote; OpenRouter and ElevenLabs usage can still incur charges. YouTube publishing is optional: connect YouTube OAuth2, enable the YouTube Data API, and set uploadToYouTube: true when ready. The default privacy is private. Activate the daily schedule after reviewing the output. Requirements An n8n workspace with the verified Zvid integration installed, Zvid render credits, OpenRouter access, and ElevenLabs text-to-speech access for your selected voice. YouTube OAuth2 is only required for optional uploads. Customization Change the niche, audience, channel handle, voice, scene count, caption colors and animation, transitions, or outro in Channel Config. Review factual claims before publishing. Additional info All supported Zvid operations use the official Zvid node. The Upload voiceover step uses HTTP Request with the same Zvid API credential because the published node does not expose multipart uploads. No separate stock-library account is required. Walkthrough and resources Watch the complete YouTube walkthrough Read the step-by-step blog tutorial Get the workflow on Zvid Workflow source on GitHub. An n8n automation workflow template by Zvid.

N8nUpdated 17 hours ago
Free95 uses
No ratings
  • 3 nodes
  • 95 views
Workflows
  • Automation
Rahul Joshi logo
Summarize RSS, email, and YouTube content with OpenAI and Google Sheets
Live

By Rahul Joshi

Quick overview This workflow captures articles from RSS feeds and Gmail newsletters, filters duplicates with Google Sheets, checks relevance and generates summaries with OpenAI, then logs the results to a “Second Brain” Google Sheet and sends a Telegram digest, with Slack and Telegram alerts on workflow errors. How it works Runs daily on a schedule to pull items from a configured list of RSS feeds, and also triggers whenever a new Gmail message matching the newsletters filter arrives. Normalizes each RSS item or email newsletter by extracting a title, plain-text content, source, link, and date into a consistent format. Skips items with too little content and removes items whose links already exist in the “Second Brain” Google Sheets document. Sends the remaining items to OpenAI (gpt-4o-mini) to decide whether each item is relevant for saving. Sends only relevant items to OpenAI (gpt-4o-mini) again to generate a structured JSON summary, key points, and topic tags. Appends the parsed summary data to the “Second Brain” sheet in Google Sheets and sends a formatted Telegram message with the summary and link. If any workflow execution fails, posts an error alert to a Slack channel and to a Telegram chat. Setup Connect Gmail OAuth2 credentials and adjust the Gmail search query/label filter used to detect newsletters. Add an OpenAI API credential and ensure access to the gpt-4o-mini model for both the relevance check and summarization steps. Connect Google Sheets OAuth2 credentials, set the Google Sheet ID (replacing REPLACE_WITH_YOUR_GOOGLE_SHEET_ID), and ensure the “Second Brain” sheet contains a Link column for deduplication. Connect a Telegram Bot API credential and set your target chat ID (replacing REPLACE_WITH_YOUR_TELEGRAM_CHAT_ID) for the digest and error alerts. Connect Slack OAuth2 credentials and set the target channel for workflow error alerts. Update the RSS feed list in the RSS configuration step to the sources you want to track. An n8n automation workflow template by Rahul Joshi.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Raka Daffa logo
Find and qualify B2B leads with MrScraper, Gemini, Google Sheets, and Slack
Live

By Raka Daffa

Quick overview This workflow collects an ICP via an n8n form, uses Google Gemini and MrScraper to find and extract company details from websites, scores each lead and writes an icebreaker, saves qualified/disqualified results to Google Sheets, and posts a ranked summary to Slack. How it works Receives target niche, location, ICP details, score threshold, and run limits from an n8n form. Uses Google Gemini to generate alternative Google search queries and deduplicates them into a capped list. Uses MrScraper to run Google SERP searches for each query, then filters out directories/social sites and keeps one prospect website per domain up to the maximum company count. For each selected website, uses MrScraper to extract a business description, services, and any published contact details from the site. Uses Google Gemini to score the company against the ICP, list buying signals, and generate a personalized outreach icebreaker. Appends the lead to a Google Sheets tab for qualified or disqualified leads based on score and presence of email/phone. After processing all companies, builds a top-10 ranked summary of qualified leads and posts it to a Slack channel. Setup Install the community node n8n-nodes-mrscraper and add a MrScraper API credential. Add a Google Gemini (PaLM) API credential for the keyword-generation and lead-scoring steps. Connect Google Sheets OAuth, select the target spreadsheet, and set the sheet tabs for qualified and disqualified leads. Connect Slack OAuth and set the destination channel (or remove the Slack notification step if not needed). Run the form once and adjust Search Region/Search Language, Minimum Lead Score, Keyword Variations, and Max Companies To Process to match your target market and budget. An n8n automation workflow template by Raka Daffa.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Vardaan Gupta logo
Detect phishing and triage Gmail with Google Gemini and Google Sheets
Live

By Vardaan Gupta

Quick overview Watches Gmail for new unread mail, then an AI agent on Google Gemini sorts each one into a category — including a phishing/fraud check — and applies the matching Gmail label itself. Every result gets logged to Google Sheets with sender, subject, category, and timestamp. How it works Checks Gmail every minute for new unread emails. Retrieves all labels from the connected Gmail account and matches the five category label names to their Gmail label IDs. Sends each email’s subject, sender, and preview text to a Google Gemini-powered AI agent to choose exactly one category (Possible Fraud, Urgent, Ads, Review, or Not Important). Applies the selected category as a Gmail label to the original email using the matching label ID. Combines the email details with the AI’s selected category and appends a row to Google Sheets with the classification result and timestamp. Setup Create five Gmail labels with these exact names: ⚠️ Possible Fraud, 🔴 Urgent, 📢 Ads, 🔎 Review, ⚪ Not Important. Connect your Gmail account credentials so the workflow can watch the inbox, list labels, and apply labels. Connect Google Gemini (Google AI) credentials for the chat model used by the AI agent. Connect Google Sheets credentials and set the target spreadsheet ID and sheet/tab name in “Set log sheet details”. Ensure the Google Sheet has columns (or headers) for subject, from, category, and classified_at so appended rows match your logging format. Requirements A Gmail account (OAuth2) A Google Sheet for logging (OAuth2) A Google Gemini API key (Google AI Studio — free tier available) Customization Tighten or loosen the fraud-detection criteria in the agent's system prompt, or add a dedicated alert email that fires only for Possible Fraud. Add, rename, or merge the non-security categories by updating the prompt and adding a matching Gmail label plus tool node. Swap the Sheet log for n8n's Data Table, or adjust the polling interval and unread-only filter. An n8n automation workflow template by Vardaan Gupta.

N8nUpdated 17 hours ago
Free
No ratings
  • 5 nodes
Workflows
  • Automation
  • AI
Swapnil Mandloi logo
Monitor ISF-10 filing deadline risk with GPT-4o-mini, Telegram and Gmail
Live

By Swapnil Mandloi

Quick overview This workflow polls a freight forwarder API every two hours to monitor open ocean shipments for ISF-10 filing deadline risk, drafts red-tier escalation memos with OpenAI, sends urgent Telegram alerts, files cases to an internal compliance API, and emails a Gmail run summary. How it works Runs every two hours on a schedule. Fetches all open ocean shipments from a freight forwarder API and processes them one bill of lading at a time. Looks up each bill of lading’s previous filing state in an n8n Data Table and calculates hours-to-vessel-load plus a green/yellow/red risk tier based on ISF filed status. Proceeds only when the shipment’s risk tier has changed since the last check. For red-tier (unfiled and imminent) shipments, confirms the latest vessel load time via the forwarder API, uses OpenAI to draft an internal escalation memo, sends an urgent Telegram alert, and posts the memo to an internal compliance API. For non-red tier changes, records the change without paging. Updates the n8n Data Table with the latest state for each shipment and sends a Gmail summary email for the batch run. Setup Create an HTTP Header Auth credential for the freight forwarder and compliance APIs and replace the example base URLs with your real endpoints. Create an n8n Data Table named "isf_filing_state" with columns billOfLading, riskTier, filedStatus, and lastChecked. Add an OpenAI API credential (for the OpenAI Chat Model) and a Telegram bot credential, then set the Telegram chat ID in the alert step. Add a Gmail OAuth2 credential and update the recipient address for the batch summary email. An n8n automation workflow template by Swapnil Mandloi.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Swapnil Mandloi logo
Build AOG parts release packets with OpenAI, Google Drive and Telegram
Live

By Swapnil Mandloi

Quick overview This workflow receives an AOG parts request via webhook, validates OEM eligibility, life history, and airworthiness directives via external APIs, and uses OpenAI to generate decision rationales. It then reserves eligible parts or quarantines blocked parts, archives the packet to Google Drive, and sends Telegram notifications. How it works Receives a POST webhook request containing aircraft context and an array of requested serialized parts. Normalizes the incoming payload and processes each part individually. Calls external OEM and MRO/authority HTTP APIs to fetch OEM eligibility, serialized life history, and airworthiness directive status for each part. Combines the evidence and applies deterministic rules to flag release blockers (for example missing release certificate, expired life, OEM ineligible, or open directives) and set the part’s release state. Uses OpenAI (Chat Completions via LangChain) to generate a strict JSON explanation of the decision, including rationale, missing evidence, and follow-up maintenance questions. If the part is eligible, creates an AOG reservation in the MRO system; otherwise, creates a quarantine record in the MRO system. Aggregates all per-part decisions into a single release packet, archives it as a JSON file to Google Drive, and sends the packet details to a Telegram chat. Setup Provide an HTTP Header Auth credential for the external OEM/MRO/authority APIs and replace the placeholder example endpoints with your real API base URLs. Add an OpenAI API credential and confirm the selected model (gpt-5-mini) is available for your account. Add Google Drive OAuth credentials and replace REPLACE_FOLDER_ID with the target folder ID for archiving the release packet. Add a Telegram Bot credential and replace REPLACE_CHAT_ID with the chat/channel ID that should receive notifications. Share the webhook path/URL (POST /aog-parts-release) with the upstream system sending requests and align the payload fields (for example parts[].partNumber and parts[].serialNumber) to match your source data. Requirements n8n Instance: Compatible with self-hosted (npm/Docker) or n8n Cloud (v1.0+) OpenAI API Key: Account with access to chat models (default: gpt-5-mini) for structured entity extraction and drafting Google OAuth2 Credentials: Connected accounts for Gmail (intake/notifications), Google Drive (evidence storage), and Google Sheets (audit logging) HTTP/Header Credentials: API keys for external PRO work registration and Master rights claim endpoints (or compatible internal rights registries) Customization Risk Threshold Logic: Adjust tolerance parameters inside the Calculate Clearance Gaps node to enforce custom rules on writer share splits, missing sync quotes, or territory restrictions. Notification & Approval Channels: Replace the supervisor Gmail notification and approval webhook with Slack, Microsoft Teams, or Discord alerts. Extraction Schema & Prompts: Modify the schema in Extract Music Cue Rights and Draft Rights Clearance Packet to capture specialized fields (e.g., ISRC codes, ISWC, custom episode codes, or custom licensing fee bands). Downstream Production Storage: Re-route the final approved HTTP POST and archive sinks to internal production ERPs, Airtable, Notion, or custom SQL databases. Additional info Production-Grade Resilience: All external touchpoints (OpenAI, Gmail, Google APIs, and HTTP registries) come configured with automatic 3x retries and a 2-second backoff to handle transient network blips. Deterministic Safety-First Design: Employs a strict human-in-the-loop wait-webhook so unverified rights claims are never committed to production without explicit supervisor approval. Embedded Canvas Documentation: Includes 4 comprehensive master documentation stickies detailing the complete node map, setup protocol, credential checklists, and privacy considerations. Audit-Ready Logging: Automatically exports raw clearance evidence as JSON into Google Drive while creating an immutable append-only ledger record in Google Sheets. Estimated Implementation Time: 25–40 minutes to configure credential nodes, folder IDs, and target webhook URLs. An n8n automation workflow template by Swapnil Mandloi.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI
Swapnil Mandloi logo
Gate film and TV music cue rights clearance with Gmail, OpenAI, and Google Drive/Sheets
Live

By Swapnil Mandloi

Quick overview This workflow monitors Gmail for cue-sheet emails, extracts music-rights data via OpenAI, and cross-checks internal rights APIs. It compiles a clearance packet for supervisor approval, routes gaps or commits approved records to production, and archives evidence to Google Drive and Google Sheets. How it works Triggers every minute by watching Gmail for emails with subjects containing “cue sheet” or “music clearance” and at least one attachment. Normalizes the email body into a single cue text field and uses OpenAI to extract structured cue and rights metadata (for example production, cues, territories, media, and term). Calls two HTTP APIs to fetch matching PRO work registrations and master ownership claims for the extracted cues. Merges the extracted cue data with the API evidence and calculates clearance gaps (missing writer share totals, missing master owner, or missing sync quote) and a risk status. Uses OpenAI to draft a rights clearance packet JSON that preserves any gaps, then emails the packet to the music supervisor for approval via Gmail. Waits for a webhook-based approval response and routes the packet to either commit the approved clearance via an HTTP API or email the gap list to a rights coordinator for follow-up. Archives the final clearance evidence JSON to Google Drive and appends the packet details to an “Audit Log” tab in Google Sheets. Setup Connect Gmail OAuth2 credentials and update the Gmail recipients/addresses for the music supervisor and rights coordinator. Add an OpenAI API credential and ensure the selected chat model (gpt-5-mini) is available in your account. Configure HTTP Header Auth credentials and replace the placeholder API endpoints (rights.example, labels.example, production.example) with your real rights registry, label claims, and production clearance URLs. Connect Google Drive and Google Sheets OAuth credentials, then replace REPLACE_FOLDER_ID and REPLACE_GOOGLE_SHEET_ID with your target folder and spreadsheet (including an “Audit Log” sheet). After activation, use the wait node’s resume webhook URL as your approval callback and ensure the responding system sends an {"approved": true|false} payload. Requirements n8n Environment: Self-hosted (Docker/npm) or n8n Cloud (v1.0+) OpenAI API Key: Account with access to standard LLMs (gpt-5-mini or gpt-4o-mini) for structured data extraction Google Workspace Access: Connected OAuth2 credentials for Gmail, Google Drive, and Google Sheets Registry Endpoints: Target API access (Header Auth) for your PRO / Master rights databases (or use the included mock schema to test) Customization Risk Logic & Scoring: Easily adjust gap-detection thresholds in the Calculate Clearance Gaps JavaScript node to fit studio-specific legal tolerance (e.g., custom split limits, territory rules). Multi-Channel Approval: Swap the supervisor email notifications with Slack, Microsoft Teams, or Discord alerts while keeping the 1-click webhook approval intact. Extraction Schema: Tweak the LangChain Information Extractor prompt to capture custom metadata fields like ISRC, ISWC, or custom episode cue numbers. Target Database: Point the final commit HTTP node to Airtable, Notion, Supabase, or your studio’s internal production SQL database. Additional info Built-in Resilience: Every external API call, LLM interaction, and email dispatch is equipped with a 3x retry policy and a 2-second backoff to handle transient network drops. Strict Human-in-the-Loop Governance: Never commits uncleared or flagged music automatically; execution safely halts until a supervisor validates the generated clearance packet. Embedded Master Canvas Guide: Includes 4 color-coded master documentation stickies directly inside the workflow covering node maps, credential mapping, and troubleshooting steps. Production-Grade Audit Trail: Approved licenses trigger automatic JSON archive generation in Google Drive alongside an append-only ledger record in Google Sheets for legal compliance. Estimated Setup Time: 25–40 minutes from import to live execution. An n8n automation workflow template by Swapnil Mandloi.

N8nUpdated 17 hours ago
Paid
No ratings
  • 8 nodes
Workflows
  • Automation
  • AI
Oneclick AI Squad logo
Route ecommerce risk and inventory decisions with Claude, Postgres, and Slack
Live

By Oneclick AI Squad

Quick overview This workflow receives e-commerce order-risk and inventory/pricing events via a webhook, fetches supporting context from your commerce APIs, asks Anthropic Claude to recommend an action with confidence, optionally auto-executes low-risk actions, logs every decision to Postgres, and notifies the appropriate Slack channel. How it works Receives a POST webhook event (or a manual test event) and applies shared configuration like API base URL, lookback window, thresholds, and Slack channel IDs. Normalizes the incoming payload, classifies it as an order-risk or inventory/pricing event, and routes it to the matching evidence-gathering path. Fetches domain-specific evidence from your commerce APIs (orders/customer/fraud signals for order risk, or inventory/pricing history/market data for inventory and pricing) and combines the results. Sends the event and evidence to Anthropic Claude and parses the returned JSON decision (recommended action, confidence, risk level, reasoning, Slack message, and an execution payload). If confidence meets the threshold and risk is not high, calls your commerce API to auto-execute the recommended action; otherwise it skips execution. Writes a full audit record of the event, evidence snapshot, decision, and execution status to Postgres and posts a message to Slack using either an escalation channel or a low-noise log channel. Setup Create a webhook source in your commerce/OMS/fraud/inventory system and configure it to POST events to this workflow’s webhook URL. Add HTTP Header Auth credentials for both your commerce API requests and the Anthropic API (including the required anthropic-version header) and update the commerce API base URL and model name in the configuration step. Add Postgres credentials and ensure the target audit table (default control_tower_decisions) exists with columns matching the workflow’s insert fields. Add Slack credentials with permission to post messages, then set the low-noise and escalation channel IDs in the configuration step. Review and tune the lookback window and the auto-execute confidence threshold to match your risk tolerance and the actions your commerce API supports. An n8n automation workflow template by Oneclick AI Squad.

N8nUpdated 17 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Ch
Chase stalled enquiries and send a weekday morning digest with Google Sheets and Gmail
Live

By Atharva Ashtekar

Quick overview This workflow runs every weekday morning to scan an enquiries tracker in Google Sheets, email each owner a single nudge for enquiries that have gone quiet, and optionally send a summary digest email via Gmail showing open enquiries by stage and which ones need chasing. How it works Runs on a weekday schedule at 08:30 (or manually) and loads configuration values like tracker sheet/tab, open stages, chase thresholds, and email settings. Reads all rows from the configured Google Sheets tracker tab and analyzes which enquiries are still in an open stage, how long they have been quiet, and how many chases have already been sent. Groups stalled enquiries by owner email so each owner receives one consolidated nudge listing their quiet enquiries and the next actions. Sends the nudge emails through Gmail (or only produces a preview when sending is disabled), then updates Google Sheets to increment “Chases sent” and append a timestamped note for each nudged enquiry matched by Ref. Builds a morning digest email that counts open enquiries by stage and lists the quiet ones (oldest first), including a warning list for enquiries with no owner email. Sends the digest through Gmail only when enabled by configuration and sending mode, otherwise outputs a preview instead. Setup Add Google Sheets credentials and set the tracker spreadsheet ID and tab name in the config so the workflow can read and update your tracker. Add Gmail credentials for sending owner nudges and the optional digest, and set FROM_NAME and REPLY_TO in the config if needed. Ensure your Google Sheet has the required headers (at minimum Ref, Stage, Last touch/Received, Chases sent, Notes, Owner email) and that Ref is unique per enquiry. Fill in owner email addresses (in the sheet and/or the config’s area owner list) and set DIGEST_TO if you want the morning digest (leave it blank to disable the digest). Test safely by running with TEST_RUN = true (optionally set TEST_EMAIL to route all emails to yourself), then set TEST_RUN = false and activate the schedule. Requirements Part 2 of a 2 parts workflow series. Customization Part 1 : https://n8n.io/workflows/19543-capture-cleaning-enquiries-from-wordpress-forms-with-google-sheets-and-gmail/. An n8n automation workflow template by Atharva Ashtekar.

N8nUpdated 17 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Abu Bakar logo
Generate video ad scenes from URLs with Tavily, Google Gemini, OpenAI and JSON2Video
Live

By Abu Bakar

Quick Overview This workflow accepts a website URL via webhook, crawls and structures the site content with Tavily and Google Gemini, generates three ad scenes and a voiceover with OpenAI, renders a captioned video via JSON2Video, and stores the final MP4 in Google Drive with a job-based status endpoint. How it works Receives a POST webhook request containing a website/product URL and immediately returns a processing response with a generated jobId. Crawls the provided URL with Tavily (including image links) and uses Google Gemini to extract structured brand/product text, links, and up to three image URLs. Uses Google Gemini to write three image-generation prompts (brand, product, lifestyle), fetches the referenced website images, generates three scene images with OpenAI Images, and uploads them to a Google Drive folder. Uses Google Gemini to draft a short 3-scene voiceover script and generates the narration audio with OpenAI Audio, then uploads the audio to Google Drive. Assembles a 3-scene JSON2Video movie using the three Drive-hosted images and the generated audio track, then polls JSON2Video until the render succeeds. Downloads the rendered video, sends it back to JSON2Video to burn in styled subtitles, polls again until complete, downloads the final MP4, and uploads it to Google Drive named with the jobId. Receives status-check webhook requests with a jobId, searches Google Drive for the corresponding MP4, and returns either a processing JSON response or the video file as a binary response. Setup Create and add credentials for Tavily API, Google Gemini (PaLM) API, OpenAI API, and Google Drive OAuth2. Get a JSON2Video API key and replace all four YOUR_API_KEY_HERE header values across the JSON2Video HTTP requests. Choose a Google Drive folder for output and update the folder ID used for uploading scenes and the final video (and set the missing Drive/folder values for the audio upload step). Activate the workflow and copy the two webhook URLs, then configure your client to POST {"url":"https://..."} to start a job and POST {"jobId":"..."} to the ad-status endpoint to retrieve the result. An n8n automation workflow template by Abu Bakar.

N8nUpdated 17 hours ago
Free20 uses
No ratings
  • 8 nodes
  • 20 views
Workflows
  • Automation
  • AI
Yusuf Hassan logo
Send daily AI-in-fintech news digests via Google News, OpenAI and Gmail
Live

By Yusuf Hassan

Quick overview This workflow runs daily, pulls recent Google News RSS results for selected fintech/payments companies and regulators, filters and deduplicates stories, uses OpenAI to validate AI-in-payments relevance and summarize coverage, then emails an HTML digest to recipients via Gmail. How it works Runs every day at 8:00 AM based on a cron schedule. Builds Google News RSS search URLs for each configured company/regulator and fetches the RSS feeds. Parses RSS items into article candidates, keeps only items within the lookback window that mention AI-related keywords, and removes exact duplicates by URL or normalized title. Sends the remaining candidates to OpenAI Chat Completions to strictly filter for AI applied to fintech/payments, semantically merge near-duplicate stories, and generate a one-sentence summary per surviving item. Formats the resulting articles into an HTML email with counts and source attribution. Sends the digest via Gmail only when at least one relevant article is found; otherwise the workflow ends without sending an email. Setup Add an OpenAI API credential for the OpenAI Chat Completions request. Add a Gmail OAuth2 credential for sending email. Update the Config values for recipient emails, lookbackHours, openaiModel, and the tracked sources list. Adjust the cron expression and set the workflow timezone to match when you want the digest to send. An n8n automation workflow template by Yusuf Hassan.

N8nUpdated 17 hours ago
Free
No ratings
  • 3 nodes
Workflows
  • Automation
Swapnil Mandloi logo
Qualify sponsorship leads and send proposals with GPT-4o, Google Sheets and Gmail
Live

By Swapnil Mandloi

Quick overview This workflow receives sponsorship inquiries via a webhook, uses OpenAI GPT-4o to qualify sponsor fit and draft a proposal opening, logs the lead to Google Sheets, then sends follow-up emails via Gmail and alerts your sales lead in Telegram for high-fit prospects. How it works Receives a sponsorship inquiry form submission as a POST request via an n8n webhook. Normalizes the incoming fields (company, contact, email, budget, industry, and event interest) and adds a submission timestamp. Uses OpenAI (GPT-4o) to classify the lead as high/medium/low fit against defined sponsorship tiers and generates a structured result including a matched level, proposal opening, and reasoning. Logs the qualified lead details (including fit tier and reasoning) to a Google Sheets “Sponsorship Leads” worksheet. Routes the lead based on fit tier, sending high-fit prospects a personalized proposal-style Gmail reply and medium-fit prospects a standard Gmail info-pack reply. Sends a Telegram message to a configured chat to alert the sales lead when a high-fit sponsor is detected. Setup Add credentials for OpenAI, Gmail OAuth2, Google Sheets OAuth2, and a Telegram bot. Replace the Google Sheets document ID with your spreadsheet ID and ensure a “Sponsorship Leads” sheet exists with columns to store the mapped fields. Set your Telegram chat ID in the Telegram node to the destination user/group/channel for high-fit alerts. Copy the webhook URL from the trigger and configure your sponsorship inquiry form to POST to it with fields like companyName, contactName, email, budgetRange, industry, and eventInterest. Review and adjust the sponsorship tier definitions in the OpenAI qualification prompt to match your actual pricing and packages. An n8n automation workflow template by Swapnil Mandloi.

N8nUpdated 17 hours ago
Free3 uses
No ratings
  • 7 nodes
  • 3 views
Workflows
  • Automation
  • AI
iamvaar logo
Find and analyze salvage car deals with Apify, Google Sheets and Gemini
Live

By iamvaar

Quick overview Video Explanation: https://youtu.be/TeYVU4NSgrE This workflow pulls UK Copart auction listings via Apify, saves selected lots to Google Sheets, then analyzes newly added rows with Google Gemini to estimate repairability and resale economics from listing images, logging results back to Sheets and posting high-scoring deals to Slack. How it works Runs on a schedule (or manually) and calls an Apify actor to fetch up to 100 UK Copart lot search results. Limits the number of returned items and filters lots into two groups: PURE_SALE with NEVERBID status, and a curated set under 60,000 miles that are automobiles and not water/flood damaged. Appends or updates matching lots in a Google Sheets spreadsheet using the lot number as the unique key. Triggers every hour when a new row is added to the Google Sheet and prepares a small set of inspection image URLs from the lot’s images. Sends the images and basic lot/price fields to Google Gemini (via a LangChain agent) to generate a structured reparability score, breakdown, financial analysis, and verdict. Writes the AI assessment fields back to Google Sheets and, if the reparability score is greater than 80, posts a formatted report to a Slack channel. Setup Create and connect an Apify HTTP Header Auth credential with your Apify token, and confirm the Copart search URL and actor endpoint match your desired market and filters. Add Google Sheets service account credentials, share the target spreadsheet with the service account email, and update the spreadsheet ID and sheet tab as needed. Add a Google Gemini (Google PaLM) API credential and keep the selected model (models/gemini-3.1-flash-lite) or replace it with your preferred Gemini model. Add Slack OAuth credentials and select the channel where deal alerts should be posted. Ensure the Google Sheet contains the expected columns (for example lotNumber and lotImages/thumbnail_image, plus output columns like reparability_score and verdict) so rows can be matched and updated correctly. Additional info automate salvage car deal sourcing n8n, scrape copart uk auction data google sheets, ai car damage assessment n8n workflow, gemini flash multimodal vehicle damage appraisal automation, automated salvage flipping flip car profit calculator, n8n copart apify integration slack alerts, ai car repair feasibility agent google sheets, n8n salvage car deal finder template, copart scraper n8n workflow json, n8n gemini structured output car inspection, automated auction bidding sniper sheet, car flipping lead tracker n8n template, apify copart actor to google sheets pipeline. An n8n automation workflow template by iamvaar.

N8nUpdated 17 hours ago
Paid
No ratings
  • 7 nodes
Workflows
  • Automation
  • AI
Sy
Sync dental leads from Apify Google Maps to HighLevel CRM opportunities
Live

By iamvaar

Quick overview Video: https://youtu.be/FUI6QNU9IJE This workflow runs weekly to pull dentist leads from Apify Google Maps scraping results, normalizes the data, and syncs them to HighLevel (GoHighLevel) by upserting contacts and creating opportunities when needed, with Slack alerts sent if the workflow fails. How it works Runs weekly on a schedule. Calls the Apify Google Maps actor to fetch dental clinic listings for the configured locations and keywords. Limits processing to the first 5 results, normalizes fields (name, phone, website, domain, address, ratings), and drops entries without a name plus at least a phone or website. Searches HighLevel contacts by phone number and marks each lead as new or existing based on whether a matching contact is found. For new leads, upserts the contact in HighLevel and then checks whether an opportunity already exists for that contact. For existing leads, checks HighLevel for an existing opportunity using the lead’s phone number. Creates a new HighLevel opportunity in the specified pipeline and stage for any lead that does not already have an opportunity. If any node errors, posts a failure message to the configured Slack channel with the node name and error details. Setup Add an Apify API token (HTTP Header Auth) and update the Apify actor input (search terms, locations, max results) to match your targeting. Connect your HighLevel (GoHighLevel) OAuth2 credentials and replace the locationId, pipelineId, and stageId values with those from your account. Ensure your HighLevel account is set up to allow contact upserts and opportunity creation in the selected pipeline. Add Slack credentials and select the channel where you want workflow failure alerts to be posted. Adjust the item limit if you want to process more than 5 leads per run. An n8n automation workflow template by iamvaar.

N8nUpdated 17 hours ago
Paid
No ratings
  • 4 nodes
Workflows
  • Automation
Ge
Generate Angi roofing contractor leads with Apify, SerpApi, Hunter and Google Sheets
Live

By iamvaar

Quick overview Video: https://lnkd.in/p/dCCv3avg This workflow runs daily to scrape roofing contractor leads via Apify, deduplicates them against a Google Sheets lead list, enriches new leads with website and email data using SerpApi and Hunter, and then appends results to Google Sheets with Slack notifications. How it works Runs on a daily schedule trigger. Calls the Apify API to scrape Angi roofing contractor profiles for Austin, TX and normalizes the results while removing duplicates within the same scrape batch. Loads existing leads from a Google Sheets “Leads” tab and flags any scraped records that match by proId, phone, or a name+location fallback key. Sends new leads to SerpApi (Google Search) to discover a likely company domain while skipping common directory and social sites. If a domain is found, queries the Hunter Domain Search API and selects the best available contact email based on seniority/title; otherwise marks the lead as phone-only. Appends the finalized lead (including enrichment status, website, and contact details when available) to Google Sheets. Posts to Slack when a new lead is saved and posts a separate Slack message when a duplicate lead is skipped. Setup Add credentials for Apify (HTTP Header Auth), SerpApi (HTTP Query Auth), Hunter (HTTP Query Auth), Google Sheets OAuth2, and Slack OAuth. Replace REPLACE_WITH_SHEET_ID with your Google Sheets document ID in both Google Sheets steps and ensure the sheet name is “Leads” with matching columns (e.g., proId, phone, fallbackKey, companyName, website, email, enrichmentStatus). Update the Apify scrape parameters (searchTerms, location, maxResults, and detailLevel) if you want different contractor types or service areas. Set the Slack channel ID for both Slack messages to the channel where you want lead and duplicate notifications. An n8n automation workflow template by iamvaar.

N8nUpdated 17 hours ago
Free
No ratings
  • 4 nodes
Workflows
  • Automation
Ge
Generate EN 16931, XRechnung, and Factur-X e-invoices with PDF Generator API
Live

By Marián Današ

Quick overview This workflow converts invoice JSON into compliant e-invoices (EN 16931, XRechnung, or Factur-X) by mapping your data to Peppol BIS Billing 3.0 UBL and generating the final XML or PDF/A-3 using PDF Generator API. How it works Triggers either manually with a sample invoice or when a POST request hits the webhook endpoint. Loads template and default format settings and merges them with the incoming invoice data. Maps the invoice into a Peppol BIS Billing 3.0 UBL payload and calculates line totals, VAT subtotals, and monetary totals. Routes the request by target format and calls the corresponding PDF Generator API e-invoice endpoint (Factur-X, XRechnung, or EN 16931) to generate a base64-encoded document. Reads the API response metadata to derive the correct filename and MIME type and prepares the document content. Converts the base64 response into a binary file so it can be stored or sent onward (for example via email, cloud storage, or an ERP). Setup Create and select a PDF Generator API credential (API key, secret, and account email) and allow the workflow’s PDF Generator API domains for HTTP requests. Update the Settings values for your Factur-X template ID, default output format (facturx/xrechnung/en16931), and (for Factur-X) the profile to use. If you use the webhook path, copy the webhook URL and configure your ERP/billing system to POST invoice JSON to it. Adjust the field mapping logic so your source invoice structure matches the UBL payload expected by PDF Generator API (optionally enable the schema request to retrieve the latest field list). Replace the final “store or send” placeholder with your target delivery step (for example Gmail, Google Drive, S3, or your accounting/ERP system). An n8n automation workflow template by Marián Današ.

N8nUpdated 17 hours ago
Free
No ratings
  • 2 nodes
Workflows
  • Automation
Se
Send Jira support auto-replies and CSAT surveys via WhatsApp, Gmail, and HubSpot
Live

By Intuz

Quick overview This workflow closes the loop on Jira support tickets by sending an acknowledgement on ticket creation, requesting CSAT when an issue is marked Done, and saving CSAT results back to Jira with optional HubSpot notes, using Gmail and a WAHA WhatsApp API. How it works Receives a ticket-created payload from another n8n workflow and loads the close-loop configuration. Normalizes the payload, determines the customer channel (WhatsApp or Gmail), and checks whether the workflow has enough contact data to send an acknowledgement. Sends the auto-reply to the customer via WAHA (WhatsApp) or Gmail, then adds a Jira comment and label to record that the auto-reply was sent. Receives a Jira webhook when an issue changes status and validates the webhook token and that the issue is Done and not already CSAT-tagged. Fetches the Jira issue, builds a CSAT form URL, sends the CSAT request via the same channel (WAHA or Gmail), and then comments and labels the Jira issue to mark CSAT as sent. Receives the CSAT form submission, validates the ticket key, fetches the Jira issue to confirm it exists, and writes the CSAT score/comment back to Jira (including an optional custom field update). If a HubSpot contact ID is present, creates and associates a HubSpot note for the auto-reply and/or CSAT submission, and then returns a confirmation page to the CSAT form submitter. Setup Create Jira credentials (API token via HTTP Basic Auth) and configure a Jira automation/webhook to POST to the workflow’s Jira webhook endpoint with the correct token. Add Gmail OAuth2 credentials for the account that sends customer emails. Add WAHA HTTP Header Auth credentials and set your WAHA base URL and session ID in the workflow configuration. Add HubSpot private app token (HTTP Header Auth) if you want CRM notes, and ensure your Jira issues store the HubSpot contact ID in the configured custom field. Update the Jira base URL/project key, Done status name, labels, and Jira custom field IDs (channel, customer email/phone, CSAT score, WAHA session) in the configuration code nodes. After importing the workflow, copy the CSAT Form Trigger path/webhook ID into the CSAT Form Path Config node so generated CSAT links point to the correct form URL. Additional info Connect with us: Website: https://www.intuz.com/n8n-workflow-automation-templates/ Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz For Custom Workflow Automation Get Started: https://n8n.partnerlinks.io/intuz. An n8n automation workflow template by Intuz.

N8nUpdated 17 hours ago
Free29 uses
No ratings
  • 3 nodes
  • 29 views
Workflows
  • Automation
Intuz logo
Triage legal conflict checks from Slack with GPT-4o-mini and Google Sheets
Live

By Intuz

Quick overview This workflow listens for new Slack messages, runs an OpenAI-powered conflict-intake agent that queries a Google Sheets–backed MCP tools endpoint, replies in the original Slack thread with a preliminary conflict summary, and appends an audit record to a Google Sheets log. How it works Triggers when a new message is posted in the configured Slack channel. Ignores bot or empty messages, then extracts the message text and key Slack metadata (user, channel, timestamp). Builds a unique event key from the Slack channel and timestamp and checks a Google Sheets “ConflictAuditLog” tab to prevent processing the same message twice. Sends the message text to an OpenAI agent, which extracts the prospective client and opposing party and calls a conflict-search MCP endpoint that queries Google Sheets records. Parses the agent’s structured output to determine whether it indicates a potential conflict and routes the message accordingly. Posts a “potential conflict” or “no potential conflict found in searched records” reply back to the original Slack thread. Appends the request and key fields from the Slack reply to the Google Sheets ConflictAuditLog for auditing. Setup Connect Slack credentials, add the Slack app/bot to your target channel, and select the channel in the Slack trigger and thread-reply steps. Connect Google Sheets credentials and ensure the spreadsheet contains the required tabs (ConflictAuditLog, Clients, Matters, Parties, RelatedEntities) with the expected lookup columns (for example, event_key and name/entity_name). Create or update the ConflictAuditLog sheet columns used for deduplication and logging (at minimum event_key, created_at, channel_id, message_ts, request_text, and status). Connect an OpenAI credential and confirm the chat model selection used by the agent. Activate the MCP server workflow (the MCP trigger path is /conflict-tools) and set the MCP Client endpoint URL to your own n8n MCP endpoint. Additional info Connect with us: Website: https://www.intuz.com/n8n-workflow-automation-templates/ Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz For Custom Workflow Automation Get Started: https://n8n.partnerlinks.io/intuz. An n8n automation workflow template by Intuz.

N8nUpdated 17 hours ago
Free3 uses
No ratings
  • 6 nodes
  • 3 views
Workflows
  • Automation
  • AI
Khairul Muhtadin logo
Validate wholesale order emails against a Google Sheets price list with Gmail and GPT-4o
Live

By Khairul Muhtadin

Quick Overview This workflow monitors Gmail for unread wholesale order emails, uses OpenAI to extract order line items, validates them against a Google Sheets price list, and then sends either a confirmation or a revision request by email while logging the order and alerting the order desk via Telegram, plus a weekly digest. How it works Triggers every minute when an unread Gmail message arrives matching the search filter is:unread subject:(wholesale order). Normalizes key fields from the email (sender, subject, received time, and body text) and routes very short emails to an error log. Uses OpenAI (gpt-4o-mini) to extract structured order data (customer details, PO number, delivery date, notes, and line items) from the email text. Loads the PriceList tab from Google Sheets and checks each extracted line for valid SKUs, active status, case-pack multiples, and any quoted price mismatches. If issues are found, emails the customer a revision request listing the problems, logs the order to the Orders tab in Google Sheets, and alerts the order desk in Telegram. If no issues are found, emails an order confirmation with priced lines, logs the order to Google Sheets, and alerts the order desk in Telegram. Marks the original Gmail message as read after the order is logged. Every Monday at 08:00, reads the past week’s Orders from Google Sheets, uses OpenAI to write a short digest email, then sends the digest via Gmail and posts a Telegram summary. Setup Connect Gmail OAuth2 credentials and adjust the Gmail trigger search query and mailbox/label settings to match how your wholesale orders arrive. Connect an OpenAI API credential and confirm the selected model (gpt-4o-mini) is available in your account. Connect Google Sheets OAuth2 credentials and update the spreadsheet ID and sheet names, ensuring you have PriceList, Orders, and Errors tabs. Populate the PriceList sheet with the expected columns (at least sku, product, unit_price, case_pack, and status) so matching and validation work correctly. Connect a Telegram bot credential and set the target chat ID for order desk alerts. Update the weekly digest recipient email address in the digest email step (currently set to test@atlr.dev). An n8n automation workflow template by Khairul Muhtadin.

N8nUpdated 17 hours ago
Free
No ratings
  • 6 nodes
Workflows
  • Automation
  • AI