Skip to content
FlowHubFluxonLab
Airtable
AI Automationfree

Extract and log Gmail receipt expenses with OpenAI, Sheets and Airtable

by Precision Techadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAirtableAirtableCCodeGoogle SheetsGoogle SheetsHTTP RequestHTTP RequestOpenAISlack
Share Post Share
When Receipt Arrives in GmailWhen Receipt Ar…CoConfigure Receipt SettingsConfigure Recei…CoNormalize Email StructureNormalize Email…IfCheck Airtable Log UsageCheck Airtable …Fetch Airtable ExpensesFetch Airtable …CoCompile Airtable DataCompile Airtabl…CoBypass Airtable Data CollectionBypass Airtable…IfCheck Sheets Log UsageCheck Sheets Lo…Fetch Sheets ExpensesFetch Sheets Ex…CoCombine Sheets DataCombine Sheets …CoTransfer Lookup DataTransfer Lookup…CoCheck Receipt DuplicationCheck Receipt D…IfDetermine New Receipt StatusDetermine New R…IfCheck Attachment OCR RequirementCheck Attachmen…AI Receipt Attachment OCRAI Receipt Atta…AI Receipt Data ExtractionAI Receipt Data…CoExamine Extracted DataExamine Extract…IfCheck Receipt Extraction ResultCheck Receipt E…CoComplete Skipped Receipt ProcessingComplete Skippe…CoFormat Receipt AlertFormat Receipt …IfCheck Slack Alert RequirementCheck Slack Ale…Send Slack Receipt AlertSend Slack Rece…CoValidate Slack Alert SentValidate Slack …CoOmit Slack AlertIfCheck Teams Alert RequirementCheck Teams Ale…HRSend Teams Receipt AlertSend Teams Rece…CoValidate Teams Alert SentValidate Teams …CoOmit Teams AlertCoCreate Expense LogCreate Expense …IfCheck Sheets Log RequirementCheck Sheets Lo…Log Expense in SheetsLog Expense in …CoVerify Sheets Log EntryVerify Sheets L…CoBypass Sheets LoggingBypass Sheets L…IfCheck Airtable Log RequirementCheck Airtable …Log Expense in AirtableLog Expense in …CoVerify Airtable Log EntryVerify Airtable…CoBypass Airtable LoggingBypass Airtable…CoComplete Receipt ProcessingComplete Receip…CoComplete Duplicate Receipt ProcessingComplete Duplic…
1/5
STEPS · 45
Starts on a Gmail event

Quick overview This workflow monitors a Gmail “Receipts” label, downloads attachments, uses OpenAI to extract expense data from receipt emails and images, skips duplicates and non-receipts, fails safely when extraction is unreadable, sends Slack/Teams alerts for high-value, warranty, or review-needed receipts, and logs valid receipts to Sheets or Airtable. How it works Triggers every minute when Gmail finds new emails matching the query label:Receipts newer_than:2d. Normalizes the email into consistent fields (message ID, subject, sender, received date, plain-text body) and generates a receipt hash for stable matching. Searches Airtable and/or Google Sheets for existing records matching the message ID or receipt hash and marks the email as a duplicate if it falls within the configured duplicate window. For new receipts, sends the email content to OpenAI to extract receipt details like merchant, total, category, line items, tax hints, and return/warranty dates. Evaluates the extraction to flag high-value, warranty/return-relevant, or needs-review receipts and formats alert messages.

Tags

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

Related workflows

See all AI Automation
airtableCsheetsW
free

Route insurance quote leads with OpenAI, Airtable, Sheets, Teams, Slack and Twilio

Quick overview This workflow receives insurance quote submissions via a webhook, normalizes and deduplicates them against Airtable and/or Google Sheets, uses OpenAI to score and classify the lead, then routes hot/warm leads to Microsoft Teams and/or Slack (plus Twilio SMS for hot leads) and logs the quote. How it works Receives an insurance quote request through a webhook endpoint. Applies configurable settings (log destination, notification channels, thresholds) and normalizes the incoming form payload into a standard quote format. Checks Airtable and/or Google Sheets for recent matching email/phone/hash entries to detect duplicate submissions. If the quote is new and has contact details, sends the quote data to OpenAI to generate a lead score, priority, underwriting flags, missing info, and recommended next steps. Routes the quote as hot, warm, or cold based on the score/priority and prepares formatted alert messages for Microsoft Teams and Slack. Posts hot/warm alerts to Microsoft Teams and/or Slack, and sends a Twilio SMS to an agent for hot leads. Creates a quote log record in Airtable and/or appends a row to Google Sheets, then returns a JSON response with logging and notific

by Precision Tech
Csheets
free

Route supplier risk alerts from Gmail to Slack with Gemini and Google Sheets

Quick overview This workflow monitors incoming Gmail messages from suppliers, uses Google Gemini to analyze sentiment and relationship risk, generates an engagement strategy for risky emails, sends an alert to Slack, and logs the analysis and recommended response to Google Sheets. How it works Triggers every minute by checking Gmail for new incoming emails. Filters out irrelevant messages (for example newsletters, unsubscribe emails, no-reply senders, and auto-replies) and keeps only valid supplier emails. Extracts the sender, subject, and email snippet into a single text block and waits briefly to buffer processing. Sends the email text to Google Gemini to return a structured JSON analysis with sentiment score/label, intent, urgency, key concern, and deterioration risk, then normalizes these fields and derives a trend. Flags the interaction as high risk based on the deterioration risk value or a low sentiment score and waits briefly before continuing. Uses Google Gemini to generate a concise engagement strategy (recommended action, draft opening message, and follow-up timeline), then parses it and formats a Slack-ready alert. Sends the alert to a selected Slack user and appends th

by WeblineIndia
ACgmailsheets
free

Recommend supplier consolidation with Google Sheets, Groq, Slack and Gmail

Quick overview This workflow runs weekly to read supplier spend data from Google Sheets, detect overlapping suppliers across departments, estimate potential consolidation savings, and use Groq-hosted LLM analysis to assess risk and produce recommendations that are sent to Slack and emailed via Gmail. How it works Runs every week on a scheduled trigger. Reads supplier records from a Google Sheets spreadsheet and keeps key fields like supplier name, department, spend, risk rating, and stakeholder email. Groups and normalizes supplier names to find suppliers used by multiple departments and calculates estimated savings and an opportunity level. Sends each consolidation opportunity to a Groq chat model to evaluate risk versus savings and return a JSON decision and recommendation. Parses the AI JSON output, merges it with the calculated savings data, and formats a final recommendation record. Posts the recommendation to a Slack channel and emails a formatted report to the supplier stakeholder email address. Setup Connect your Google Sheets OAuth account and update the spreadsheet ID and sheet/tab to match your supplier records. Add a Groq API credential for the chat model used to evalua

by WeblineIndia