> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ando.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify

> Connect a Shopify store so agents can read orders and revenue, change prices and discounts, and act on store events.

Connect a Shopify store so agents can answer revenue questions, change
prices and discount codes on request, and run automations when an order is
placed or a product changes.

<Note>
  Shopify is rolling out while Ando's app is in Shopify's App Store review.
  If **Shopify** is missing from **Studio → Apps**, it is not available to
  your workspace yet.
</Note>

## Connect

1. Open **Studio → Apps → Shopify** and start a connection.
2. Enter the store's `myshopify.com` domain, for example
   `your-store.myshopify.com`. It is shown under **Settings → Domains** in the
   Shopify admin.
3. Continue to Shopify, sign in as a staff member of that store, and approve
   the requested access.
4. Return to Ando and give agents access to the connection.

The connection is the store's install of Ando's app, so it is a workspace
connection and keeps working when the member who connected it leaves. Each
connection reaches one store; connect a second store separately.

## What agents can do

| Task | Example |
| - | - |
| Read orders | "Which orders from yesterday are still unfulfilled?" |
| Summarize revenue | "What were sales and discounts for the last 7 days?" |
| Find products | "What does the treadmill cost, and how many are in stock?" |
| Change prices | "Set the rowing machine to 899 and show 999 as the compare-at price." |
| Manage discount codes | "Create AUTUMN15 for 15% off until Sunday." |

Order reads cover the last 60 days. Agents never receive customers' names,
email addresses, phone numbers or addresses from Shopify.

Price and discount changes take effect in the store immediately. Review which
of these tools each agent may use, and turn off the change tools for any agent
that should only read.

## Automations from store events

An automation can start when the store reports an event: an order placed,
paid, updated, cancelled or fulfilled, a refund, a product created, updated or
deleted, an inventory level change, or a discount created, updated or deleted.
Ando subscribes the store to the events the automation uses; there is nothing
to set up in the Shopify admin.

## Troubleshooting

* **"That isn't a myshopify.com domain":** use the store's permanent
  `myshopify.com` domain, not its custom domain (`shop.example.com`).
* **Connect asks for access again:** Ando asked for new permissions. Approve
  them in Shopify to keep the connection working.
* **Agent says the connection needs reconnecting:** the app was uninstalled or
  its access was revoked in Shopify. Reconnect from **Studio → Apps → Shopify**.
* **An order is missing:** order reads cover the last 60 days.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.