Templates / Create purchase orders from Gmail using Groq LLM, Airtable, and Google Sheets

Create purchase orders from Gmail using Groq LLM, Airtable, and Google Sheets

Ready for 3.0

by WeblineIndia ✓ · 1 views · created 2026-10-03 · Document Extraction, AI Summarization

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-10-19.

What this workflow does

This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Gmail, Groq Chat Model, Airtable and Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Code: runs custom JavaScript code
  2. Gmail: get many
  3. Set: Format Gmail Data (Edit Fields (Set)): sets 2 fields: raw_text, requester
  4. LLM: Parse Request (Basic LLM Chain): sends a prompt to an LLM, with model: Model: Groq LLM; output parser: Parse: Structured JSON
  5. Set: Extract AI Output (Edit Fields (Set)): sets 2 fields: is_urgent, items
  6. Airtable: search
  7. Code: runs custom JavaScript code
  8. Router: Evaluate Status (Switch): routes items into 3 branches
  9. Airtable: create or update
  10. Sheets: Log Approval (Google Sheets): append or update

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

Services it uses

GmailGroq Chat ModelAirtableGoogle Sheets

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.

Nodes used (10)

From the author

Quick overview This workflow pulls unread “purchase request” emails from Gmail, uses a Groq-hosted LLM to extract line items and urgency into structured JSON, matches items against an Airtable catalog to apply pricing and vendors, then logs approvals to…

Excerpt from WeblineIndia'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.