Skip to content
FlowHubFluxonLab
Airtable
AI Automationfree

Extract and log Gmail admin tasks with OpenAI, Google Sheets and Airtable

by Precision Techadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAirtableAirtableCCodeGoogle SheetsGoogle SheetsHTTP RequestHTTP RequestOpenAISlack
Share Post Share
Admin Email TriggerAdmin Email Tri…CoSet Inbox ConfigurationSet Inbox Confi…CoRedact Email ContentRedact Email Co…IfEvaluate Airtable Memory UsageEvaluate Airtab…Read Airtable MemoryRead Airtable M…CoCompile Airtable DataCompile Airtabl…CoSkip Airtable Data UsageSkip Airtable D…IfEvaluate Sheets Memory UsageEvaluate Sheets…Read Sheets MemoryRead Sheets Mem…CoCombine Sheets DataCombine Sheets …CoTransfer Memory DataTransfer Memory…CoDetect Email DuplicationDetect Email Du…IfCheck Email Item StatusCheck Email Ite…CoComplete Duplicate Admin ProcessingComplete Duplic…AI Classify EmailAI Classify Ema…CoExamine Email ExtractionExamine Email E…IfVerify Extraction SuccessVerify Extracti…CoComplete Skipped Admin ProcessingComplete Skippe…CoFormat Alert MessageFormat Alert Me…IfEvaluate Slack Alert NeedEvaluate Slack …Send Slack AlertCoConfirm Slack Alert SentConfirm Slack A…CoSkip Slack AlertIfEvaluate Teams Alert NeedEvaluate Teams …HRPost to Teams WebhookPost to Teams W…CoConfirm Teams Alert SentConfirm Teams A…CoSkip Teams AlertCoCreate Task Log EntryCreate Task Log…IfEvaluate Sheets Log NeedEvaluate Sheets…Append Task Log to SheetsAppend Task Log…CoConfirm Sheets Log EntryConfirm Sheets …CoSkip Sheets LoggingSkip Sheets Log…IfEvaluate Airtable Log NeedEvaluate Airtab…Add Task Log to AirtableAdd Task Log to…CoConfirm Airtable Log EntryConfirm Airtabl…CoSkip Airtable LoggingSkip Airtable L…CoFinalize Admin WorkflowFinalize Admin …
1/5
STEPS · 42
Starts on a Gmail event

Quick overview This workflow monitors Gmail for messages labeled “Admin”, redacts sensitive data, uses OpenAI to extract structured admin tasks and reminders, skips duplicates by checking Google Sheets and/or Airtable, sends optional Slack or Microsoft Teams alerts for urgent items, and logs the clean task details. How it works Triggers every minute when a new Gmail message matches the query label:Admin newer_than:7d. Loads configurable settings (log destination, alert channels, due-soon window, dedupe window, and redaction toggle) and normalizes the email into a clean text body. Redacts sensitive patterns (such as SSNs, card-like numbers, phone numbers, email addresses, and addresses) and generates an “admin hash” fingerprint for deduplication. Checks Google Sheets and/or Airtable for recent matching Message IDs or admin hashes and skips processing if the email appears to be a duplicate. Sends the redacted email content to OpenAI to classify whether it is an admin item and to extract fields like task title, summary, priority, due date/time, and recommended next step.

Tags

n8nreference-onlyairtablegoogle-sheetsopen-aislack
Connects
airtableAirtableCCodesheetsGoogle SheetsWHTTP RequestOpenAISlack
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes37
AddedJul 15, 2026

Related workflows

See all AI Automation
Csheets
free

Monitor ride surge events and analyze ride errors with Sheets, Slack and Gemini

Quick overview This workflow pulls ride events and error records from Google Sheets, detects surge pricing and long waits, and notifies via Slack. For error records, it uses Google Gemini with real-time traffic and weather API lookups to diagnose the issue and send recommended actions to Slack. How it works Runs manually and reads ride records from a Google Sheets spreadsheet. Processes the rows one by one with a short delay and routes each record based on whether its type is an event or an error. For event records, checks if the ride price is more than 1.5× the normal price and the wait time is over 10 minutes. If surge conditions are met, sends a surge and delay notification to Slack and records a surge-alert log entry. If surge conditions are not met, records a normal “no alert needed” log entry. For error records, structures the ride and error context and asks Google Gemini to generate an incident summary, probable cause, and recommended actions, calling traffic and weather APIs as needed. Parses the Gemini response into JSON and posts the formatted error report to Slack. Setup Connect Google Sheets OAuth credentials and set the correct spreadsheet and sheet tab in the Google S

by WeblineIndia
Csheetssalesforce
free

Detect revenue leakage with Salesforce, Google Sheets, Gemini, and Slack

Quick overview This workflow manually audits Closed Won Salesforce opportunities against billed amounts in Google Sheets, uses Google Gemini to analyze any revenue gap, then alerts a Slack user and writes an audit note back to the Salesforce opportunity. How it works Starts when you run the workflow manually. Fetches up to 20 Salesforce opportunities where the stage is "Closed Won" and processes them in batches with a short delay to reduce API pressure. Looks up matching billing rows in Google Sheets and totals the billed amount for the same Deal ID, then calculates the missing revenue versus the Salesforce Amount. For deals with a positive revenue gap, sends the discrepancy details to Google Gemini to classify severity and generate a root cause, recommendation, and Salesforce-ready audit note. Parses the Gemini JSON response and builds a formatted Slack message containing the deal, gap, severity, and recommended action. Sends the Slack alert and updates the Salesforce opportunity description with the audit note and the expected, billed, and missing amounts. Setup Add credentials for Salesforce OAuth2, Google Sheets OAuth2, Google Gemini (PaLM) API, and Slack OAuth2. In Salesforce,

by WeblineIndia
ACWopenaichatmodel
free

Manage Google and Trustpilot reviews with OpenAI and Slack

Quick overview This workflow runs hourly to fetch new Google Business Profile and Trustpilot reviews, deduplicates them, uses OpenAI via a LangChain agent to draft sentiment-aware replies, escalates negative reviews in Slack, and routes positive replies to Slack for approval before posting the reply back to Trustpilot. How it works Runs every hour on a schedule. Fetches the latest reviews from the Google Business Profile API and the Trustpilot API and combines the results. Deduplicates reviews by tracking previously seen review IDs in workflow static data and stops if there are no new reviews. Processes each new review and uses OpenAI (via a LangChain agent) to generate structured JSON containing sentiment, a draft reply, and an optional suggested resolution. Sends negative reviews to a Slack channel for the owner along with the suggested resolution. Sends positive draft replies to Slack for one-tap approval (with a 24-hour timeout) and, if approved, publishes the reply to the Trustpilot API. Sends a Slack alert to the ops channel if the workflow errors. Setup Configure authentication and replace placeholders for the Google Business Profile reviews endpoint (account and location) i

by Redowan Ahmed Farhan