🚀 What You'll Learn
This guide will take you from complete beginner to confidently building time-saving automations for your ecommerce business. No technical background required.
📦 What's Included:
- ✨Step-by-step setup and first automation
- ⚡4 ready-to-use automation recipes
- 🔧Testing, debugging, and monitoring tips
- 🛡️Common pitfalls and how to avoid them
🎯 By The End, You'll Be Able To:
- 📊Automatically log orders to Google Sheets
- 📢Send low inventory alerts to your team
- 💌Welcome new customers with personalized emails
- ⭐Identify and tag high-value customers
⏱️ Time commitment: 20 minutes to read, 1-2 hours to implement your first automation
1What is "automation"?
Automation is when you teach the computer to do a repetitive job for you. You show it the steps one time, and then it repeats those steps every time something happens.
- Example: "When a new order comes in, add it to a Google Sheet."
- You don't click anything. The automation tool (n8n) does it.
Think of n8n as building blocks. Each block does one job. You connect the blocks to create a process.
2What is n8n?
- n8n is a tool that connects your apps (Shopify, Gmail, Slack, Klaviyo, Google Sheets, etc.).
- You drop "nodes" on a canvas and connect them with arrows. Each node is a building block.
- n8n can run in the cloud or on your company's server.
Words you'll see:
- Workflow = The entire process you build
- Trigger = What starts the workflow (e.g., "New Shopify Order")
- Node = A block that does a job (e.g., "Send Slack Message")
- Credential = A safe key so n8n can log in to your apps
- Execution = One run of the workflow (e.g., processing one order)
3n8n for Beginners: Understanding Nodes & Language
Think of nodes as steps in a process. Different types of nodes = different jobs.
Node Types
Trigger Nodes: Start the workflow. Example: "New Shopify Order" or "Every day at 8am."
Action Nodes: Perform an action. Example: "Add a row to Google Sheets" or "Send Slack message."
Logic Nodes: Make decisions. Example: "IF order total > $100, then do this, else do that."
Transform Nodes: Clean up or change data. Example: Rename fields, combine text, or do math.
Code Nodes (optional): Small scripts for special cases. Example: Format a date exactly the way you want.
Helpers: Tools like Wait (pause), Merge (combine paths), or Error handling.
Key Words
- Workflow = The complete process you build
- Execution = One run of that workflow (like one order processed)
- Credentials = Secure logins/keys so the workflow can access apps
- Webhook = A signal that rings when something happens
- JSON = A structured way to pack data, like a labeled container
4How to Map Out Your Automation (Before Building)
If you can write down the steps you do by hand, you can probably automate them.
Example: Adding new orders to a spreadsheet
- Open Shopify
- Copy order details
- Open Google Sheets
- Paste details in a new row
Automation version:
- Trigger: New Shopify order
- Action: Send order details to Google Sheets → Add row
Steps to Map:
- Start: What kicks it off? (New order? Daily check?)
- Middle: What actions do you take by hand? (Copy, paste, check totals, send message)
- Decisions: Do you sometimes do A, sometimes B? (IF order is > $100, then…)
- End: What's the result? (Data in Sheet, email sent, Slack ping)
💡 Tip:
Draw it on paper first. Triggers → Actions → Decisions → Result.
5Before you start (checklist)
- ✅ You can log in to n8n
- ✅ You know where your data lives (Shopify? Google Sheets? Klaviyo?)
- ✅ You have API keys or logins for those tools
- ✅ You know what problem you're solving (start small!)
Pick one starter goal:
- Add every new order to a spreadsheet
- Send me a Slack message when inventory is low
- Email a new customer a welcome message
Start with one. Don't do all three at once.
6Your first 5 minutes in n8n
- Log in → Click "Workflows" → "New"
- You will see a blank canvas with a Start node
- Click "+" to add a node → search for your app (e.g., Shopify)
- Choose a Trigger node if you want "wake up when X happens"
- Add another node that does something (e.g., Google Sheets → Add Row)
- Draw an arrow from the Trigger to the Action node
- Click Execute Workflow or Activate to make it live
💡 Tip: If you can do it by hand in 3–4 clicks, it's a great first automation.
7Recipe #1 — New Shopify Order → Google Sheet
What this does: Every time an order is created, n8n adds a row to a sheet.
You need:
- A Google Sheet with column headers like:
Order Number | Date | Email | Total | Line Items - Shopify admin access
Steps:
- Node 1: Shopify Trigger → Event: New Order
- Node 2: Set → Choose only the fields you want to save (clean data)
- Map:
order_number,created_at,customer.email,total_price, and join line items into one string
- Map:
- Node 3: Google Sheets → Append → Pick your spreadsheet & tab
- Test: Create a test order in Shopify (or run an example order) → Check your sheet
- Turn the workflow ON (Activate)
Why this is good:
You get a simple, always-updated order log for quick checks or reports.
8Recipe #2 — Low Inventory Alert (Shopify → Slack)
What this does: When a product's stock is low, you get a Slack message.
You need:
- A Slack channel like
#ops-alerts - Decide your low-stock number (e.g., 5 units)
Steps:
- Node 1: Cron → Runs every morning at 8am
- Node 2: Shopify → List Products (include inventory)
- Node 3: IF → Condition:
inventory_quantity <= 5 - Node 4: Slack → Send Message → "⚠️ Low stock: {{product_title}} ({{inventory_quantity}} left)"
Why this is good:
You won't forget to reorder. Stockouts hurt sales.
9Recipe #3 — New Customer Welcome Email
What this does: Sends a friendly welcome email when someone places their first order.
You need:
- A welcome template in Klaviyo or Mailchimp
Steps:
- Node 1: Shopify Trigger → New Order
- Node 2: IF → Is this the customer's first order? (check
customer.orders_count == 1) - Node 3: Klaviyo → Add/Update Profile with customer email & name
- Node 4: Klaviyo → Trigger Flow/Event (e.g.,
Welcome_Series)
Why this is good: New buyers are excited. A fast "Hello + Tips" email boosts repeat sales.
10Recipe #4 — High-Value Customer Tag
What this does: Automatically tag customers who spend a lot (e.g., AOV > $150).
Steps:
- Node 1: Shopify Trigger → New Order
- Node 2: IF →
total_price > 150 - Node 3: Shopify → Update Customer (add tag
VIP) - Node 4: Slack → Send Message to #sales: “🎉 New VIP: {{email}} — ${{total_price}}”
Why this is good: Ops + support can give white-glove help. Marketing can send special offers.
11How to think like an automator
Simple framework:
1. Trigger: When should this start?
2. Filter: Which items should pass? (IF node)
3. Transform: What fields do I need? (Set node, Code node if needed)
4. Action: What should happen? (Write row, send email, post to Slack)
5. Notify: Who needs to know? (Slack/Email)
6. Log: Did it work? Where can I see runs? (Executions)
If you can explain your flow in these 6 steps, you can build it.
12Credentials and API Keys — Keep Them Safe
What is an API key?
An API key is like a password that lets n8n access another app (Shopify, Google, Slack).
Each app may have its own key. Without it, n8n can't talk to that app.
Best Practices:
- Never share keys in chat, email, or documents
- Store keys only in n8n's Credentials manager - keeps them encrypted and secure
- Use least privilege - only give access to what's needed
- Rotate keys regularly - replace old keys every 3–6 months
- Know who owns keys - only certain roles should create or manage them
- Audit access - track which workflows use which keys
Quick Checklist:
- Do I need this key, or can I use an existing one?
- Am I storing it in n8n only?
- Does this key give too much power? Can I limit it?
- Is there a reminder to update/rotate it?
13Testing: how to avoid breaking stuff
- Use test data first (dummy orders)
- Add a NoOp path at the end (e.g., log to Sheet, not Shopify) while testing
- Use IF nodes to limit scope (e.g., only orders over $0.01)
- Check Executions in n8n to see each step's input/output
Safety net:
If your action changes data (like "Update Product"), test on a sandbox store or a fake product.
14Debugging: when something fails
- Open the failed Execution → Look for the first red node
- Read the error message (copy it into the ticket/Slack)
Common fixes:
- Wrong credentials → Reconnect
- Missing field name → Check the exact API field (e.g.,
customer.email) - Rate limits → Add a Wait node (e.g., 200ms between items)
- Empty data → Add an IF to skip empties
15Good housekeeping
- Name nodes clearly (e.g.,
Set → Order Summary) - Add notes on the canvas: why this flow exists
- Version control: Duplicate a workflow before big edits (
My Flow v2) - Owner + Backup: Who owns it? Where's the export file?
Simple naming rules:
shopify-new-order → gsheets-order-logdaily-8am-low-stock-check → slack-alert
16Common Pitfalls (and How to Avoid Them)
Workflow not activated → Always double-check the "Active" toggle is on
Field name mismatch → Verify the exact field name (customer.email vs email)
Rate limits → Add Wait nodes or batch requests when possible
Infinite loops → Be careful with triggers and actions that feed into each other
Testing in production → Use sandbox/test data before touching live systems
17Monitoring & Alerts
Automations can fail silently if not monitored.
Best Practices:
- Add a Slack or Email notification when a workflow errors
- Use n8n's built-in error workflows to catch failures
- Schedule weekly checks of the Executions list
Example:
Workflow A fails → Error workflow triggers → Slack message to #automation-alerts: "Order export failed, check workflow."
18Approval & Governance
Before turning on new workflows, it's best to have a simple approval process.
Suggested Steps:
- Write a short description of the workflow (what it does, which data it touches)
- Identify the apps/credentials used
- Confirm it's safe (no risk to finance/legal data)
- Manager or designated approver signs off
Why: Ensures accountability, avoids surprises, and keeps workflows aligned with company rules.
19What not to automate (yet)
- Anything with legal/finance risk until reviewed
- Big, messy flows with 20+ steps (split into small flows)
- Human judgment decisions (let a person click "Approve" first)
20Your next 30 days (mini roadmap)
Week 1: Build one small workflow (Recipe #1)
Week 2: Add one alert (Recipe #2)
Week 3: Add one customer touchpoint (Recipe #3)
Week 4: Add one enrichment or tag (Recipe #4)
Take screenshots of each finished flow → add to our shared wiki.
21Glossary (beginner-friendly)
API: A way for apps to talk to each other
Webhook: A signal that rings when something happens
JSON: A structured way to pack data, like a labeled container
Cron: A clock that says "run at this time"
Rate limit: When an app says "Too many requests, slow down!"
22FAQ (for beginners)
Q: Do I need to code?
A: No. Drag blocks. Sometimes a tiny script helps, but you can start with zero code.
Q: What if I mess up?
A: Test first, use sandboxes, and don't connect destructive nodes until you're sure.
Q: How do I share my flow?
A: Export it from n8n or clone it inside the app.
Q: Can one flow trigger another?
A: Yes—use Webhook nodes or the n8n "Execute Workflow" node.
23Appendix — Mini-recipes
Add-on mini-recipes (copy/paste patterns):
Only notify on big orders: IF total_price >= 200 → Slack
Tag products when stock hits zero: Cron → Shopify list → IF qty==0 → Update product tag OOS
Daily sales summary: Cron 6pm → Shopify orders today → Sum total → Slack “Today’s sales: $X”
Refund alert: Shopify refund trigger → Slack + add row to Refunds sheet