Shopify
Answer order-status questions with live payment and fulfillment status from your Shopify store, connected through a Dev Dashboard app in about five minutes.
With Shopify connected, "where is my order?" is answered with the live payment and fulfillment status from your store, and the tracking number and link once it has shipped. Setup takes about five minutes in Shopify's Dev Dashboard and needs no Shopify approval.
What the agent can do
| Action | What it does | Input collected |
|---|---|---|
| Check order status | Looks up the order and reports its payment and fulfillment status and, for a shipped order, the carrier, tracking number and tracking link. It answers only when the order number and the email belong to the same order. | Order number and the email the order was placed with |
The agent may read only the order's name, creation date, financial status, fulfillment status and shipments. The email on the order is used for the check and is never passed to the agent.
Before you start
- A Shopify store where you can create apps in the Dev Dashboard.
- The store must belong to the same Shopify organization as the app you create.
Connect Shopify
Open Shopify's Dev Dashboard
Go to dev.shopify.com/dashboard and sign in with the account that owns the store. From the store admin you can also go to Settings → Apps and sales channels → Develop apps → Build apps in Dev Dashboard.
Create the app
Apps → Create app → Start from Dev Dashboard, name it PepoChat, and click Create.
Create a version
Versions → Create version. Fill in only these, then click Release:
- App URL:
https://app.pepochat.com(a placeholder; PepoChat never loads inside Shopify). - Embed app in Shopify admin: turn off.
- Scopes:
read_orders. It covers the last 60 days of orders;read_all_ordersis gated and needs a Shopify-approved access request. - Leave optional scopes, redirect URLs, POS and app proxy empty. If Shopify insists on a redirect URL, enter
https://app.pepochat.comthere too.
- App URL:
Install the app on your store
Home → Install app, pick your store, Install. Do not pick a distribution method: it is not needed and cannot be changed later.
Allow access to orders
In the app's Settings, open Protected customer data → Manage. Under Level 1: Customer data click Select, tick Customer service and Apply reasons; do the same for Email under Level 2; then Save. Shopify refuses every order lookup until this is saved. Nothing is reviewed for an app that is not public.
Paste the credentials into PepoChat
In the app's Settings, copy the Client ID and Client secret. In PepoChat open Integrations → Shopify, enter your store domain (
your-store.myshopify.com, or paste your admin URL), the Client ID and the Client secret, tick Check order status, and click Add actions.Test, then enable
Click Test on the action, enter a real order number and the email on that order, and check the result. Then switch the action on.
PepoChat fetches its own short-lived access token from the client credentials and renews it automatically; you never handle tokens.
Example
Visitor: Has my order shipped? It's 1042.
Agent: I can check that. Which email address did you order with?
Visitor: dana@example.com
Agent: Order #1042 has shipped with USPS. You can follow it here: [tracking link]. Anything else I can check?
Good to know
- Only orders from the last 60 days are visible with the
read_ordersscope. - If the test says "app_not_installed", finish the Install app step for the store.
- If the test says "This app is not approved to access the Order object", finish the Allow access to orders step.
- An order placed without an email (a point-of-sale or draft order with no customer) cannot be looked up by a visitor, because there is nothing to check their email against.
- A legacy custom-app admin token still works as a custom action with an
X-Shopify-Access-Tokenheader, but new stores should use the client credentials flow above. - Selling on WordPress instead? See WooCommerce.
Something missing or wrong on this page? Tell us and we will fix it.
