🔬 Compare vendor quotations with Grok AI and export to Google Sheets & email

⚡ 820 views · 🔬 Document Extraction & Analysis

Description

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 engine, and generates a well-formatted summary table that is stored in Google Sheets and sent via email to stakeholders.

Good to Know

How It Works

1. Upload Quotes

Webhook trigger that listens for uploaded vendor quotation files (PDF, Excel, or Docs).

2. Extract File Data

Parses the uploaded file and extracts relevant quote data (price, items, vendor name, etc.).

3. AI Summarization

Sends extracted data to an AI API (Grok) to generate a human-readable comparison summary.

4. Wait For Reply

Pauses the workflow until the AI response is fully received.

5. Format Summary

Formats the AI-generated content into a structured summary (e.g., table format or comparison bullets).

6. Log to Google Sheets

Appends the formatted summary to a Google Sheet for tracking and reference.

7. Send Email

Emails the summary to predefined recipients (procurement, finance, etc.).

Data Sources

How to Use

  1. Import the workflow into your n8n instance (self-hosted or cloud).
  2. Configure the Webhook URL to receive file uploads.
  3. Set up file extraction logic in the “Extract File Data” node to match your file format.
  4. Configure your Grok API credentials in the “AI Summarization” node.
  5. Connect your Google Sheets account to the “Log to Google Sheets” node.
  6. Customize the recipient email address in the “Send Email” node.
  7. Test with sample quotation files to validate the entire flow.

Requirements

Customizing This Workflow

đź”— Nodes Used

Send Email, Function, Google Sheets, HTTP Request, Webhook

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup