Templates / Sync new Shopify orders to Google Sheets with GPT-4.1-mini analysis

Sync new Shopify orders to Google Sheets with GPT-4.1-mini analysis

Ready for 3.0

by WeblineIndia ✓ · 165 views · created 2026-03-26 · 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 11 nodes and runs on a schedule (every minute). Along the way it connects OpenAI Chat Model, Shopify and Google Sheets.

How it runs

Trigger: On a schedule (every minute).

  1. Get Last Successful Sync Time (Code): runs custom JavaScript code
  2. Fetch Orders from Shopify (Shopify): get many
  3. Mark Orders as New or Old (Code): runs custom JavaScript code
  4. Is This a New Order? (If): checks a condition and branches into true / false
  5. AI Order Analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  6. Convert AI Response to Data (Code): runs custom JavaScript code
  7. Prepare Final Order Data (Edit Fields (Set)): sets 12 fields: id, order_number, order_created_at…
  8. Save Order to Google Sheet (Google Sheets): append
  9. Update Sync Time (Code): runs custom JavaScript code

Services it uses

OpenAI Chat ModelShopifyGoogle 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 (8)

From the author

Shopify New Orders Auto-Sync to Google Sheets & AI Analysis This workflow automatically fetches new Shopify orders on a schedule, detects only newly created orders, enriches them using AI, and stores clean, structured data in Google Sheets for reporting and…

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.