Compare vendor quotations with Grok AI and export to Google Sheets & email
Needs changesWhat this workflow does
This workflow has 7 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Sheets. It also calls api.grok.xai.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Extract File Data (Function): runs custom JavaScript (legacy Function node)
- AI Summarization (HTTP Request): calls api.grok.xai.com
- Wait: pauses before continuing
- Format Summary (Function): runs custom JavaScript (legacy Function node)
- Log to Google Sheets (Google Sheets): append
- Send Email: sends an email over SMTP
Services it uses
HTTP calls to: api.grok.xai.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Extract File Data, Format Summary: replace with Code node, mode 'Run Once for All Items'.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Extract File Data, Format Summary | Code node, mode 'Run Once for All Items' |
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Function
n8n-nodes-base.function - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait - Send Email
n8n-nodes-base.emailSend
From the author
This workflow automates the process of receiving vendor quotations, extracting and summarizing their contents using AI, and logging the results for comparison. The system listens for new file uploads via webhook, processes each file using a summarization…