n8n

How to Sync Shopify Orders to Google Sheets?

Stop copying orders by hand. Keep a live list of Shopify orders in Google Sheets so your team can track sales, notes, and customer emails in one place. Great for store managers and ops teams who need fast, clean data for reports.

The flow runs on a schedule or with a test run. It calls the Shopify Orders API with a 250 record limit and only pulls the fields you care about. It reads the next page link from the API headers, loops through all pages, and gathers every order. Each order is then written to Google Sheets with append or update, using the order id to keep rows current. Key parts include a page check, a small code step to read the next page token, a merge to collect pages, and a step to split orders into rows.

You need a Shopify access token with read orders and your store URL. You also need a Google Sheets document and a tab for the data. Set the schedule to match your reporting needs. Expect to replace long exports with an automatic sync that runs in minutes and avoids mistakes. Use it for daily sales summaries, customer email checks, and quick audits.

What are the key features?

  • Schedule Trigger runs the sync on a set interval for hands free updates.
  • Manual trigger lets you test changes safely before going live.
  • HTTP Request pulls Shopify orders with a 250 limit and selected fields only.
  • Full response mode reads API headers to capture the next page link.
  • Code node parses the page_info token from the Link header for cursor paging.
  • If check and Set node pass the page_info token into the next API call.
  • Merge collects items from each loop so all pages are combined in one list.
  • Split Out turns the orders array into single rows for clean sheet writes.
  • Google Sheets writes or updates rows using order id, note, email, and processed time.

What are the benefits?

  • Reduce manual exports from 60 minutes to 5 minutes
  • Automate up to 100 percent of daily order syncing
  • Improve data accuracy by removing copy paste errors
  • Handle thousands of orders with safe pagination
  • Connect Shopify and Google Sheets without extra tools

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Shopify and Google Sheets. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create Shopify Access Token credentials. If unsure, open the Get Orders node, choose Credential to connect with, click Create new credential, and follow the on screen steps.
  4. In your Shopify admin, create a private app or custom app token with read orders access. Copy the store URL and the access token. Place the store URL in the API URL by replacing {store} and use the token in the credential.
  5. Open the Get Orders node and confirm the URL format matches https://yourstore.myshopify.com/admin/api/2025-01/orders.json. Keep limit at 250 and fields set to id, note, email, processed_at, customer.
  6. Ensure Full Response is enabled in the Get Orders node so headers are available for pagination.
  7. Confirm the Extract page_info and Check page_info nodes are connected to loop through pages. No changes needed unless your API version differs.
  8. Set up Google Sheets credentials. Open the Google Sheets node, choose Credential to connect with, click Create new credential, and complete Google OAuth2 in n8n Cloud.
  9. Select your Google Sheet and tab in the Google Sheets node. Map id, note, email, and processed_at to the matching columns. Use appendOrUpdate and set id as the key if prompted.
  10. Run a manual test. Click Test workflow, wait for it to finish, and check your sheet for new or updated rows.
  11. Set the Schedule Trigger interval to the refresh rate you want, such as every hour or once daily.
  12. Troubleshooting: If you see 401 or 403 errors, check the Shopify token and scopes. If no data appears, verify the sheet tab and column names. If pagination stops early, confirm the shop has more than 250 orders and that the Link header is present.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Sheets

Sign up

Free: $0 (Google Sheets API usage has no additional cost; quota limits apply)

Shopify

Sign up

Starter plan: $5 / mo

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.