πŸ”¬ Validate shipments & generate freight documents with GPT-4o, Google Sheets & Drive

⚑ 112 views Β· πŸ”¬ Document Extraction & Analysis

Description

βœ… What problem does this workflow solve?

Logistics teams spend hours manually validating shipment data, checking compliance, generating freight documents, and emailing stakeholders. Errors in HSN codes, weights, or carrier details can lead to shipment delays, penalties, and rework.

This workflow automates the entire shipment validation and documentation process using AI, ensuring compliance, reducing errors, and generating professional freight documents automatically.


βš™οΈ What does this workflow do?


πŸ’‘ Main Use Cases


🧠 How It Works – Step-by-Step

1. Google Sheets Trigger

The workflow starts when new shipment data is added to a shared Google Sheet. Each row represents a shipment with details like:


2. AI-Powered Shipment Validation

An AI agent (OpenAI) validates each shipment against defined rules:

The AI returns a structured result:


3. Mismatch Handling (If Validation Fails)

If the shipment is invalid:


4. Freight Document Generation (If Validation Passes)

If the shipment is valid:


5. Email Distribution

The generated shipment PDF is automatically emailed to:

Each email includes shipment reference details and a download link.


6. Storage & Tracking


πŸ—‚ Integrations Used


πŸ‘€ Who can use this?

This workflow is ideal for:

If your shipping process involves repetitive checks, document creation, and manual emailsβ€”this automation can save hours per shipment.


πŸš€ Benefits

πŸ”— Nodes Used

Google Sheets, HTTP Request, Google Drive, Gmail, Google Sheets Trigger, AI Agent

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup