Connect Shopify and handle orders from the chat
See a customer's Shopify orders beside the chat, send products and checkout links, and handle simple order changes without leaving Prospect.
Connect your Shopify store and your team sees a customer's orders, draft orders and abandoned carts right beside the chat. From there they can send products, create a checkout link and handle simple order changes, without switching tabs. Your AI agent can use the store too, for example to answer "where is my order?".
Before you start
Only admins can connect a store.
You need access to the Shopify Dev Dashboard with the account that owns your store's organization: Prospect connects through an app you create there.
Create an app in Shopify
Prospect connects to your store through a small app that you create in the Shopify Dev Dashboard. You do this once per store.
Sign in to the Shopify Dev Dashboard with the account that owns your store's organization. Open Apps (1) and click Create app (2). Choose to start from the Dev Dashboard and give the app a name, for example Prospect.
Open Versions (1) and create a version. In the Scopes box (2), paste the scopes that Prospect shows when you connect (the Add Shopify dialog in Prospect also has a Copy button for them): read_customers, read_orders, write_orders, read_products, read_inventory, write_draft_orders
Release the version.
Install the app on your store: open the app's home page and pick your store.
Open Settings (1) and copy the Client ID (2) and the Client secret (3). Keep the secret private: anyone who has it can read your store's data.
You also need your shop address, the one that ends in .myshopify.com. In your Shopify admin, go to Settings › Domains and open it: the address is the title (1).
Connect your store in Prospect
Go to AI Agents › Connectors and click Add connector.
Open the Connectors tab (1) and click Connect on Shopify (2).
The Add Shopify dialog recaps the Shopify steps above (1).
Use Copy (2) to copy the scopes into the version's Scopes box in Shopify.
When you have the keys, click I have my keys (3).
Fill in the Shop address (1) (the .myshopify.com address you found above), the Client ID (2) and the Client secret (3), then click Next (4).
Under Which inboxes can use it? (1), pick the inboxes whose staff and AI agents may use the store. Leave it empty and every inbox can, new ones too.
In What should staff see it called? (2), give the store a name your team will recognise.
Tick what staff may do (3). When you pick several inboxes, each one gets its own list.
Click Connect (4).
| Permission | What staff can do |
|---|---|
| Look up this customer's orders | See the customer's orders, draft orders and abandoned carts. |
| Search products | Find products with their picture, price and stock, and send them into the chat. |
| Create a checkout link | Build a checkout link for the customer. Needs Search products. |
| Cancel an unpaid order | Cancel an order that is unpaid and hasn't shipped. |
| Change the shipping address | Edit the delivery address of an order. |
| Tag or note an order | Add a tag or a note that your team sees in Shopify. |
If Shopify didn't grant every scope, Prospect tells you which features are off. Add the missing scopes to a new version of the app, release it, then paste the keys again.
See a customer's orders in a conversation
Open the conversation and click the Shopify icon (1) in the right-hand rail. The number on it counts the customer's orders.
If the inbox can use several connectors, pick the store (2).
Switch between Customers, Orders and Products (3).
On Customers, check the matched Shopify customer (4): their orders, total spent, and how they were matched.
Prospect matches the customer by phone or email. When the phone or email came from the chat itself, the match shows Not verified and orders stay hidden until someone checks it: click Verify if it's the right person, or Pick another customer to search Shopify and link the right one. Unlink removes a link.
Handle an order
Each order shows its payment and shipping status, its items and a link to Open in Shopify.
Click ⋯ (1) on the order.
Pick an action (2): View details, Add tag, Add note or Edit address. Depending on the order and your permissions you'll also see Send to chat, Copy link, Open checkout and Cancel order.
Cancel order asks for a reason, and lets you put the items back in stock and email the customer about it. Only an unpaid order that hasn't shipped can be cancelled here.
Edit address takes the whole delivery address. Optional fields you leave empty keep what the order has.
Add note replaces the order's note in Shopify.
Send products and checkout links
Open the Products tab (1).
Search by product name (2). Each result shows its picture, price and how many are left.
Click the send icon (3) to send the product's picture, name, price and page into the chat.
To sell several items in one go, click the cart icon (4) on each product you want. They gather in the Checkout link box, and the number on Products counts them.
Set each Quantity (5) and check the Estimated total.
Click Create checkout link (6).
Prospect makes the link as an unpaid draft order in Shopify for this customer. Then Send to chat puts the total and the link in the reply box, or use Copy link or Open checkout. New link starts over. The customer pays on Shopify's own checkout page.
If Shopify doesn't accept the customer's email, Prospect offers Create without the customer: the customer then types their email and address at checkout.
Let your AI agent use the store
Go to AI Agents, open the agent and click Tools (1).
Under Connectors, click + on Shopify (2).
Pick the Shopify connector, turn on what the AI may do, and say When should the AI use this store?. Click Add a store to add another, up to 3.
Click Save.
The AI only ever looks up orders for the customer in the current chat.
Good to know
Staff also need the inbox's manage right to cancel, change or tag an order, or to build a checkout link. Ticking a permission only allows it in that inbox.
Orders older than 60 days aren't shown unless your app also has the read_all_orders scope, which Shopify grants only to apps made in a Partner organization.
Only the store's 10 most recent open carts are checked for abandoned checkouts.
Refunds, discounts and editing an order's items stay in Shopify.
To see every order of a customer across your stores, open the Orders tab of their profile. See See all of a customer's orders in one place.