EDI Message Parsing: Gmail to Google Sheets

Automates detection and parsing of EDI messages from Gmail emails using JavaScript, then stores structured data in Google Sheets for small businesses.

n8n
EDI Message Parsing: Gmail to Google Sheets

This n8n workflow simplifies Electronic Data Interchange (EDI) processing for small and medium businesses lacking direct EDI system integrations. It triggers on Gmail emails with 'EDI' in the subject, extracts raw EDI content (often from attachments or body), and uses a JavaScript code node to parse it into structured data like purchase orders, invoices, or shipping notices.

The workflow begins with a Gmail Trigger node monitoring inboxes. Incoming emails are filtered for EDI indicators, followed by parsing logic that handles common EDI formats (e.g., EDIFACT or ANSI X12). Parsed data—such as sender details, transaction types, quantities, and dates—is then formatted and appended to a Google Sheet, enabling easy review, reporting, and integration with other tools.

Benefits include massive time savings on manual data entry, reduced errors in supply chain operations, and scalability for handling growing email volumes. Ideal use cases: logistics firms receiving supplier orders via email, manufacturers tracking shipments, or retailers processing vendor invoices. Tags from creator highlight Supply Chain Management, Logistics, Transportation, and Data Transmission—perfect for sustainable, efficient automation.

$14.99
Last updated August 29, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Human Resources workflows

More from Quentin Andersen

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.