Shopify
Connect your Shopify store and Pip looks up the products a customer asks about before drafting, so a reply can give the real price, the options and whether something is in stock right now.
What Pip can read
With Shopify connected, for every customer email Pip reads:
- The products the email names: Pip searches your store for them and reads the closest ones, up to five
- Their options and prices, in your shop's own currency
- Whether each option is in stock, looked up as the email arrives
- Read-only access: nothing in your store can be changed from Airmailer
Connecting your store
You need admin access to the Shopify store.
- Open Knowledge, then Products.
- Under Store domain, enter your store name, such as
your-shop(the part before.myshopify.com). - Choose Connect Shopify store. Shopify opens.
- Review the requested access (read-only product access) and choose Install app in Shopify.
- Shopify returns you to Airmailer. The store is connected, and Pip uses it from the next email on.
A store can be connected to one Airmailer account at a time: Shopify keeps one current access token per store, so a second connection would end the first.
Permissions
Airmailer requests read access only:
| Permission | Description |
|---|---|
read_products | View products, variants, and inventory |
Airmailer can't change your products, prices or inventory.
Using the integration
Search products
Once connected, Search products under Knowledge > Products shows your products the way Pip finds them:
- Enter a product name, SKU or description.
- Open a product to see its options, prices and stock.
How Pip uses it
When a customer email arrives, Pip picks out the words that might name a product (it skips greetings, order numbers, links and similar), searches your store for them, and reads the closest products alongside your Knowledge. A draft that used them lists Your Shopify store under Sources.
Pip finds products by their names. A customer who writes "the thing I bought last week" gives Pip nothing to look up, so the draft uses your Knowledge and the conversation instead.
If Shopify is slow or unavailable, Pip waits a few seconds at most and then drafts from your Knowledge alone. A Shopify outage never stops a draft.
Example questions and replies:
Customer: "Do you have the Blue Widget in stock?"
Reply: "Yes, the Blue Widget is in stock. You can order it here: [link to product]"
Customer: "What colours does the Premium T-Shirt come in?"
Reply: "The Premium T-Shirt comes in Black, White, Navy and Heather Grey, and all four are in stock."
Customer: "Is the Large size available for the Winter Jacket?"
Reply: "The Winter Jacket in Large is sold out at the moment. Small and Medium are in stock."
Stock status
Pip reads stock the way Search products shows it:
| Status | Meaning |
|---|---|
| In stock | More than 10 available |
| Running low | 1 to 10 available (Pip knows how many) |
| Can be ordered | None counted, but Shopify still sells it: overselling is allowed, or stock isn't tracked |
| Sold out | None left, and Shopify won't sell it |
Disconnecting
Open Knowledge, then Products, and choose Disconnect store next to your store.
Disconnecting:
- Removes Airmailer's access to your Shopify data
- Revokes the access token
- Does not affect your Shopify store or products
You can reconnect at any time by going through the connection flow again.
Uninstalling in Shopify
Uninstalling the Airmailer app in your Shopify admin disconnects the store too: Pip stops reading it from the next email on. 48 hours later Shopify asks Airmailer to delete what it holds about the store, and the connection is deleted. Reconnecting in the meantime keeps the new connection.
Closing a business
When a closed business is deleted, 30 days after closing, the stores connected by its team are disconnected and their access is revoked. A store stays connected only for someone who created another business in Airmailer: it already answers that business's customers.
Customer data
Airmailer reads products from Shopify and nothing else, so it holds no Shopify customer data. When a customer asks your store for their data, or asks for it to be deleted, Shopify tells Airmailer, and there is nothing to send or delete. The emails a customer sent you are kept with your conversations: to delete them, open one of their conversations, open Customer details and choose Delete customer data.
Troubleshooting
The connection fails
If connecting fails:
- Ensure you have admin access to the Shopify store
- Check that your store domain is correct
- If the store is already connected to another Airmailer account, disconnect it from that account first
- Try clearing your browser cookies and reconnecting
Products don't appear
If products don't appear in Search products:
- Check that the products are active in Shopify: drafts and archived products aren't searched
- Try a different search term
Stock looks wrong
If stock seems wrong:
- Stock is read from Shopify with each search and each email
- Check your Shopify admin for the source of truth
- Ensure inventory tracking is enabled for the product
Access errors
Access is renewed automatically. If you see an error about access to your store:
- Try disconnecting and reconnecting
- Contact support if the issue persists
Getting better results
Product data in Shopify
Help Pip find products by:
- Naming them the way your customers do: Pip looks at the words in a product's title first
- Adding relevant tags and keywords
- Writing clear product descriptions
- Keeping inventory levels accurate
Combine with documents
Use Shopify for information that changes often, and documents for information that doesn't:
| Use Shopify For | Use Documents For |
|---|---|
| Current inventory levels | Return policy |
| Product availability | Shipping information |
| Variant options | Size guides |
| Pricing | Care instructions |
Writing rules
Pip always looks up the products a customer names, so no rule is needed for that. Writing rules decide how drafts talk about them:
If a product is sold out, suggest a similar one
that's in stock.
Never tell customers how many are left.
Security
Your connection is secured by:
- OAuth 2.0: Industry-standard authorization
- Encrypted tokens: Access tokens encrypted at rest
- Signature checks: every message from Shopify is verified
- Read-only access: products only