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

Kira
Written by

Kira

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

Kira

Article by

Kira

A Computer Science student deeply passionate in the fields of UI/UX Design and Web Development with a knack on writing. Fusing technical expertise with a creative flair, I'm driven to craft innovative and user-centric solutions, leveraging both coding proficiency and design sensibilities to create seamless, impactful experiences.

Related Posts

All posts →
Gorgias for Shopify hero banner
Customer Support

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
Illustration of a support agent and an AI chatbot handling Shopify ecommerce conversations
Customer Support

The Gorgias AI chatbot: what it does, what it costs, and where it fits

A clear-eyed look at the Gorgias AI chatbot for Shopify stores: how the AI Agent works, what it can actually do, real pricing, and when it's worth it.

Riellvriany IndriawanRiellvriany IndriawanJun 12, 2026
Illustration of a Gorgias live chat widget on a Shopify storefront
Customer Support

Gorgias live chat: how it works, real pricing, and whether it's worth it in 2026

A hands-on look at Gorgias live chat in 2026: how the widget and AI Agent work on Shopify, what it really costs per resolution, and when it's worth it.

KiraKiraJun 12, 2026
Best AI for Gorgias - illustrated banner with the Gorgias logo
Customer Support

The 6 best AI tools for Gorgias in 2026 (I tested them all)

I tested the best AI for Gorgias, from its native AI Agent to third-party layers and enterprise platforms. Here's what each one costs and who it's actually for.

KiraKiraJun 11, 2026
Illustration of a Gorgias AI Agent taking order, return and subscription actions for a support team
Customer support

Gorgias AI Agent actions and automated tasks: what it does and how to set it up in 2026

A practical guide to Gorgias AI Agent actions and automated tasks: the full action list, how to set up skills and rules, what per-resolution billing costs, and the limits.

Riellvriany IndriawanRiellvriany IndriawanJun 12, 2026
Gorgias Shopify automation workflow diagram with Gorgias and Shopify logos
ecommerce

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
AI handling order tracking support queries instantly
E-commerce

AI for order tracking support: how to handle WISMO without burning out your team

WISMO queries make up 20-50% of ecommerce support tickets and cost $5-22 each to handle. Here's how AI resolves them in under 10 seconds and stops the burnout cycle.

Stevia PutriStevia PutriMay 18, 2026
7 best AI helpdesk tools for small teams in 2026
Customer Support

7 best AI helpdesk tools for small teams in 2026

Most small teams fixate on the per-seat price. The real cost hides in the AI billing. Here are the 7 best AI helpdesk tools for small teams in 2026 - with honest pricing, AI quality notes, and a verdict for each use case.

Rama Adi NugrahaRama Adi NugrahaJun 11, 2026
Gorgias chat bubble on a Shopify storefront with a customer order details panel
Ecommerce Support

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

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free