Templates / Log missed EDI sales from Gmail CSVs into GoHighLevel with Slack error alerts

Log missed EDI sales from Gmail CSVs into GoHighLevel with Slack error alerts

Ready for 3.0

by Rahul Joshi ✓ · 2 views · created 2026-09-01 · CRM

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail and Slack. It also calls services.leadconnectorhq.com over HTTP.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Get Gmail Message Content (Gmail): get
  2. Slack: uses Slack
  3. Extract CSV from Email Attachment (Extract from File): extracts data from a file (xlsx)
  4. Loop Over CSV Rows (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Build Unique Key & Map CSV Fields (Code): runs custom JavaScript code
  6. Search Missed Sales Record by Unique Key (HTTP Request): calls services.leadconnectorhq.com (POST)
  7. Record Already Exists? (If): checks a condition and branches into true / false
  8. Create Missed Sales Record (HTTP Request): calls services.leadconnectorhq.com (POST)
  9. Search GHL Opportunity by PO Number (HTTP Request): calls services.leadconnectorhq.com (POST)
  10. Opportunity Found? (If): checks a condition and branches into true / false

…plus 2 more steps. See the full node list below.

Services it uses

GmailSlack

HTTP calls to: services.leadconnectorhq.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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Quick overview This workflow monitors Gmail for incoming EDI sales report emails, extracts a CSV attachment, and logs new “missed sales” line items into GoHighLevel (LeadConnector) custom objects while linking them to matching opportunities when possible,…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.