Gorgias automation to pull Shopify order data into replies: a 2026 guide

Alicia Kirana Utomo
Written by

Alicia Kirana Utomo

Katelin Teen
Reviewed by

Katelin Teen

Last edited June 12, 2026

Expert Verified
Gorgias and Shopify logos on a coral banner illustrating order data flowing into customer replies

What "pulling order data into replies" actually means

Here's the situation this solves. A customer emails "where's my order?". Without an integration, an agent reads the email, opens the Shopify admin in another tab, searches the customer's email, finds the order, copies the status and tracking, switches back, and types it all out. Multiply that by a few hundred WISMO tickets a week and you've got a team that spends its day as a human API between two browser tabs.

Gorgias is built to kill that tab-switching. As Shopify's only Premier Partner for CX, it pulls each shopper's profile and order history straight into the ticket, so the data is already sitting there when the reply gets written. The flow looks like this:

How Gorgias matches a customer to their Shopify orders and drops the data into a reply
How Gorgias matches a customer to their Shopify orders and drops the data into a reply

It's a real, popular use case, not a marketing line. In a r/CRM thread comparing Zendesk and Gorgias for Shopify, one operator put it plainly:

"If a meaningful chunk is WISMO, address changes, cancels, refunds, exchanges, Gorgias usually feels worth it because the agent can do the work inside the ticket with Shopify context right there."

So let's set it up. Three steps: connect the store, insert order data into a reply, then automate it.

Step 1: Connect your Shopify store to Gorgias

None of the order variables exist until a store is connected, so this is the prerequisite for everything below. The Shopify 101 doc lays out the path:

  1. In Gorgias, go to Settings → App Store → All Apps → Shopify.
  2. Click Add Shopify. You'll be redirected to the Shopify App Store.
  3. Click Add app to install it on your store.
  4. If you already have a helpdesk, enter your Gorgias subdomain and click Find My Account. Otherwise, click Create Your Account.
The Gorgias listing in the Shopify App Store with the Add app button, as taken from the Shopify App Store
The Gorgias listing in the Shopify App Store with the Add app button, as taken from the Shopify App Store

Once it's connected, "when a customer contacts you you'll see their profile and orders in the sidebar on the right-hand side of each ticket," per the Shopify 101 doc. That sidebar is the source every variable reads from, so it's worth confirming a test ticket actually shows order data before you build anything on top. If you want to go deeper on that panel, we've written a full guide to the Gorgias side panel for Shopify data. Running more than one storefront? You can connect multiple Shopify stores to the same dashboard.

Step 2: Insert order data into a reply with macro variables

This is the workhorse. A macro is a saved reply template, and variables are the placeholders inside it that auto-populate with real customer and order data when the macro is applied. Per the variables doc, "Gorgias replaces each variable with the relevant data from your helpdesk. If the data isn't available for that ticket, the variable is replaced with a blank space." Hold onto that last sentence, it bites later.

To build one:

  1. From your helpdesk, click the dropdown menu in the top-left.
  2. Select Workflows, then under Tools choose Macros.
  3. Click Create macro.
  4. Write your message, then use the variable dropdown at the bottom of the reply box to insert variables. The dropdown is grouped by type (Ticket customer, Current agent, Shopify, and so on).

If a variable isn't in the picker, you can type it manually between double curly brackets. Here's what the same template looks like before and after Gorgias fills it in:

A Gorgias macro template with variable tokens on the left and the resolved customer reply with real order data on the right
A Gorgias macro template with variable tokens on the left and the resolved customer reply with real order data on the right

The Shopify order variables worth knowing

The most recent order is orders[0], the one before it is orders[1], and the same indexing works for line items. These are the ones you'll reach for most, straight from the Shopify variables table:

What you wantVariable
Customer first name{{ticket.customer.integrations.shopify.customer.first_name}}
Last order number{{ticket.customer.integrations.shopify.orders[0].id}}
First product in last order{{ticket.customer.integrations.shopify.orders[0].line_items[0].name}}
Last order total{{ticket.customer.integrations.shopify.orders[0].total_price}}
Shipping address line 1{{ticket.customer.integrations.shopify.customer.default_address.address1}}
City{{ticket.customer.integrations.shopify.customer.default_address.city}}
Refund processed date{{ticket.customer.integrations.shopify.orders[0].refunds[0].processed_at|datetime_format("L")}}

Dates accept moment.js formatting via the datetime_format filter, so …processed_at|datetime_format("L") renders as 03/22/2018 while "MMM Do YY" gives Mar 22nd 18. A few more recipes live in our guides on attaching last-order items into a macro and the macro for editing a shipping address on the last order.

Two things this approach can't do, and they're the reason a macro alone rarely closes a WISMO ticket:

  • There's no tracking-number variable. The published Shopify table simply doesn't include one. Tracking only surfaces through Order Management or the AI path below.
  • Missing data renders as a blank. If a shopper emails from a different address than the one on their Shopify account, Gorgias can't match them, and your nicely-templated reply goes out with empty gaps. There's no "if the order exists, say X, otherwise Y" logic in a plain macro.

For account-specific edge cases like that, it's worth reading how to classify how-to questions versus account-specific issues so the blanks don't reach a customer.

Step 3: Automate the "where is my order?" reply

Steps 1 and 2 still need a human to apply the macro. To make order replies actually automatic, you've got three routes, and they're worth understanding side by side before you pick one.

Three ways to put Shopify order data into a Gorgias reply, from manual macros to a self-service portal to an autonomous AI agent
Three ways to put Shopify order data into a Gorgias reply, from manual macros to a self-service portal to an autonomous AI agent

Route A: the Order Management portal (self-service)

The Order Management portal lets customers check their own order status, tracking, and shipping info, and submit return, cancel, or report-issue requests. Per the Order Management 101 doc, it "can automate up to 30% of your live Chat ticket volume," authenticates shoppers with a one-time code, and is Shopify-only with an active AI Agent subscription.

The Gorgias Order Management portal showing a customer's orders with In transit, Processing, and Delivered status badges, as taken from Gorgias
The Gorgias Order Management portal showing a customer's orders with In transit, Processing, and Delivered status badges, as taken from Gorgias

Tap Track on an order and the shopper gets the full delivery timeline, synced directly from Shopify, no agent involved:

A Gorgias order tracking timeline showing USPS shipping status and the shipping address, as taken from Gorgias
A Gorgias order tracking timeline showing USPS shipping status and the shipping address, as taken from Gorgias

One honest limit: shoppers can't trigger automatic refunds or cancellations here. Those buttons only submit a request that an agent still has to action. It's great for deflecting pure status checks, less so for anything that touches money.

Route B: the "send tracking information" autoresponder rule (on the way out)

The classic automation is a rule in the rule library. You'd go to Settings → Productivity → Rules → Create Rule, pick the Send tracking information email autoresponder, and it fires on email tickets with a shipping or status intent, replying with tracking links for the shopper's last few orders.

The Gorgias send-tracking-information rule editor with variable chips and a live preview of the auto-reply, as taken from Gorgias
The Gorgias send-tracking-information rule editor with variable chips and a live preview of the auto-reply, as taken from Gorgias

Here's the catch, and it's a big one: autoresponder rules are gone for any account created after September 2024, and accounts that still have them lose access on January 30, 2026. Gorgias itself now points Shopify brands to AI Agent instead. So if you're setting up a new store, this route is a dead end, don't build on it. We mention it mostly so you know what to migrate off.

Route C: an AI agent that reads the order and replies

This is the route Gorgias is nudging everyone toward, and it's genuinely the most capable: an AI support agent detects the order-status intent, looks up the live order, and writes the reply itself, tracking number included. You set it up with skills and guidance rather than macros (worth noting: Gorgias AI Agent doesn't use macros, it generates its own answers). If you'd rather build the deflection logic yourself, our order status bot guide and the chatbot to check delivery status against delay thresholds are good starting points.

The trade-off is cost. The AI Agent add-on bills roughly $0.90 to $1.00 per resolved conversation on top of your plan's ticket limit. For a high-WISMO store that adds up fast, which is the exact complaint that shows up most in Gorgias reviews:

"Gorgias is awesome if you're super deep into Shopify workflows... The downside is the price adds up quick once your volume grows."

A quick reality check before you build

Stepping back: the macro-and-variable system is excellent for human-assisted replies and free on every plan, so set that up regardless. But the fully automated WISMO answer, the thing most teams actually want, lives behind either a self-service portal or the paid AI Agent, and the cheap deterministic option (autoresponder rules) is being switched off. That's a fine outcome if the per-resolution pricing fits your volume. If it doesn't, it's worth knowing the AI layer isn't something you have to buy from your helpdesk vendor.

This is where we'd look at eesel. It's an AI agent that lives inside Gorgias (and 100+ other tools), reads the same Shopify order data, and replies on its own, the Route C outcome, without rebuilding your stack. Two differences matter for this use case specifically: you can simulate it on your real past tickets before it ever touches a customer, so you see the exact deflection rate first, and it runs at a flat $0.40 per regular task with no seat fees, versus the $0.90 to $1.00 per resolution model above. For a store drowning in order-status questions, that gap is the whole ROI conversation.

Try eesel for Shopify order automation

If the goal is to answer "where's my order?" automatically without the per-resolution sticker shock, eesel is built for exactly this. It plugs into your existing helpdesk, pulls live Shopify order, tracking, and fulfillment data into its replies, and handles the WISMO, address-change, and order-edit tickets that otherwise eat your team's day. You brief it in plain language like a new hire, run it in simulation mode against your historical tickets to prove the deflection rate, then let it go live with whatever spend cap you set.

eesel AI working with Shopify to automate order-related support

It's free to start, no card required, and you can compare it against the best Shopify chatbot apps or the wider list of Gorgias alternatives before you decide. Either way, the data is already in Gorgias, the only real question is who, or what, does the typing.

Frequently asked questions

How does Gorgias pull Shopify order data into a reply?
Once you connect your Shopify store, the customer's profile and recent orders sync into the ticket sidebar. You then drop that data into a reply using macro variables like {{ticket.customer.integrations.shopify.orders[0].id}}, or let an AI agent fetch it automatically. This is the core of any Gorgias automation to pull Shopify order data into replies.
What is the variable for a Shopify order number in Gorgias?
The last order's ID is {{ticket.customer.integrations.shopify.orders[0].id}}, where orders[0] is the most recent order and orders[1] is the one before it. You can browse the full list from the variable dropdown at the bottom of the macro editor, or see the Shopify variables table in the Gorgias docs.
Can Gorgias automatically answer 'where is my order' questions?
Yes, through the Order Management portal (self-service, requires the AI Agent add-on) or an AI agent that reads the order and replies. The old autoresponder rule for tracking emails stops working on January 30, 2026, so new stores rely on AI instead.
Is there a Gorgias variable for a Shopify tracking number?
No. The published Shopify variable table has no dedicated tracking-number variable. Tracking surfaces through Order Management's Track view or the AI agent path instead, which is why a pure macro can't always close a WISMO ticket on its own.
How much does it cost to automate order replies in Gorgias?
Macros and variables are free on every Gorgias plan. Full automation needs the AI Agent add-on at roughly $0.90 to $1.00 per resolved conversation. If that per-resolution math worries you, eesel runs at $0.40 per regular task with no seat fees, so it is worth comparing before you commit.

Share this article

Alicia Kirana Utomo

Article by

Alicia Kirana Utomo

Kira is a writer at eesel AI with a Computer Science background and over a year of hands-on experience evaluating AI-powered customer service tools. She focuses on breaking down how helpdesk platforms and AI agents actually work so that support teams can make better buying decisions.

Related Posts

All posts →
Gorgias Shopify automation workflow diagram with Gorgias and Shopify logos
Guides

How to set up Gorgias Shopify automation (complete guide for 2026)

Gorgias offers four distinct automation layers for Shopify stores. Here's how each one works, which to set up first, and where they fall short.

Rama Adi NugrahaRama Adi NugrahaJun 2, 2026
Gorgias pricing breakdown for Shopify stores illustration
Guides

Gorgias pricing for Shopify stores: the real 2026 cost breakdown

What Gorgias actually costs a Shopify store in 2026: the plans, the AI Agent per-resolution add-on, the hidden overage and seasonal gotchas, and a worked cost example.

Kurnia Kharisma Agung SamiadjieKurnia Kharisma Agung SamiadjieJun 19, 2026
Gorgias for Shopify: ecommerce helpdesk, live chat, and AI support agent
Guides

Gorgias for Shopify: features, pricing, and the AI agent, reviewed (2026)

How Gorgias works for Shopify stores: the native order integration, live chat, AI Agent automation, real pricing with a worked example, and where it falls short.

Riellvriany IndriawanRiellvriany IndriawanJun 12, 2026
Gorgias for Shopify hero banner
Guides

Gorgias for Shopify: the complete 2026 guide to AI-powered support

How Gorgias for Shopify actually works in 2026: the integration, AI Agent, setup, real pricing, and where it's worth it for your store.

Riellvriany IndriawanRiellvriany IndriawanJun 12, 2026
Gorgias chat bubble on a Shopify storefront with a customer order details panel
Guides

Gorgias Shopify chat bubble: setup, pricing, and when it's worth it

The Gorgias Shopify chat bubble, explained: how the Shopify connection works, AI Agent pricing, setup steps, and the 40% rule that tells you whether it's worth the premium.

Stevia PutriStevia PutriJun 3, 2026
Banner image for Gorgias vs Tidio: Which Shopify Helpdesk Wins in 2026?
Guides

Gorgias vs Tidio: Which Shopify Helpdesk Wins in 2026?

Choosing between Gorgias and Tidio for your Shopify store depends on whether you need a dedicated helpdesk for order management or a live chat tool for sales growth.

Riellvriany IndriawanRiellvriany IndriawanMay 4, 2026
A complete guide to the Gorgias side panel for Shopify data
Guides

A complete guide to the Gorgias side panel for Shopify data

Gorgias brings you closer to the dream of a unified helpdesk by pulling Shopify data directly into your workspace. This guide breaks down the core features of the Gorgias side panel and shows how to supercharge your helpdesk with AI for an even more efficient customer support experience.

Kenneth PanganKenneth PanganOct 27, 2025
Illustration of the Gorgias web widget for Shopify live chat and AI support
Guides

Gorgias web widget: a complete guide to setup, AI, and costs in 2026

How the Gorgias web widget works, how to install and customize it on Shopify, what its AI Agent can and can't do, and what it really costs.

Riellvriany IndriawanRiellvriany IndriawanJun 15, 2026
Two people reviewing a Gorgias AI evaluation checklist next to a Shopify shopping bag and a laptop
Guides

Is Gorgias AI worth it? An honest 2026 review for ecommerce teams

Is Gorgias AI worth it for your store? A straight review of what the AI Agent does, what it really costs, and the one number that decides it.

Alicia Kirana UtomoAlicia Kirana UtomoJun 15, 2026

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free