Verify hotel receipts against bookings with GPT-4o vision, Slack, and Sheets
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack and Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Input (Code): runs custom JavaScript code
- Alert Engineering (Slack): uses Slack
- GPT Vision Extract (HTTP Request): calls api.openai.com (POST)
- Parse Extraction (Code): runs custom JavaScript code
- Build Error Verdict (Code): runs custom JavaScript code
- Validate Against Booking (Code): runs custom JavaScript code
- Record Result (Google Sheets): append
- Auto Approve? (If): checks a condition and branches into true / false
- Respond (Respond to Webhook): sends the response back to the webhook caller
- Flag For Review (Slack): uses Slack
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow receives receipt or invoice uploads via a webhook, uses OpenAI GPT-4o vision to extract structured fields, validates totals and currency against expected booking values, logs the result to Google Sheets, and routes mismatches or…