Shopify actions

Connect your Shopify store so the bot can look up orders, search products, and check inventory in real time.

~10 minutes Starter

What Shopify actions do

Shopify actions give your bot real-time access to your store data. Instead of telling a customer "please check your email for tracking info", the bot can look up the order in seconds and give an accurate answer.

Three actions are available:

  • Order status — Visitors provide their order number or email; the bot returns status, tracking number, and estimated delivery
  • Product search — Semantic search across your product catalog; the bot finds products by name, description, or feature
  • Inventory check — Real-time stock level for a specific product or SKU

All three activate automatically based on visitor intent — you don't need to configure which question triggers which action.


Connect Shopify

1
Open Settings → Integrations

Go to Settings → Integrations in the admin panel and find the Shopify section.

Open Integrations in admin
tools/shopify-integrations Screenshot needed — save as: _assets/images/tools/shopify-integrations.png

The Shopify integration card. Click Connect Shopify to begin the OAuth flow.

2
Click Connect Shopify

Click Connect Shopify. You'll be redirected to Shopify's OAuth authorisation page.

3
Authorise access in Shopify

Log in to your Shopify admin (if prompted) and click Install app to grant DGbot read access to your store's orders, products, and inventory.

What permissions DGbot requests
DGbot requests read-only access to orders, products, and inventory. It never writes to your Shopify store.
tools/shopify-oauth Screenshot needed — save as: _assets/images/tools/shopify-oauth.png

Shopify's authorisation screen. Click Install app to grant access.

4
Return to DGbot and confirm the connection

After authorising, you're redirected back to the DGbot admin. The Shopify integration card shows a green Connected badge.

tools/shopify-connected Screenshot needed — save as: _assets/images/tools/shopify-connected.png

Green Connected badge confirms the Shopify integration is active.


The three actions

Order status

Triggers when visitors ask: "Where is my order?", "What's the status of order #12345?", "Can you track my package?"

The bot asks for the order number or the email address used at checkout, then queries your Shopify order API. Returns: order status, tracking number, carrier, and estimated delivery date.

Triggers when visitors ask: "Do you have [product name]?", "What headphones do you sell?", "Show me your blue running shoes"

Uses semantic search — the visitor doesn't need to know the exact product name. The bot returns matching products with name, price, and a link to the product page.

Inventory check

Triggers when visitors ask: "Is [product] in stock?", "Do you have size M in the red hoodie?"

Returns current stock level for the matched product or SKU. If out of stock, the bot can offer to notify the visitor when it's back (coming in Phase 2).


Test your setup

1
Open the preview panel
2
Test each action with real data

Send these messages and verify the responses:

  • "What's the status of order [a real order number]?"
  • "Do you have [a real product name] in stock?"
  • "Search for [a product category in your store]"

The bot should return live data from your Shopify store, not a generic response.


Troubleshooting

Bot gives a generic answer instead of looking up the order — Check that the Shopify integration shows Connected in the integrations settings. If it shows disconnected, re-authorise.

Order not found — Verify the order number is from your Shopify store, not a test order or a marketplace order. DGbot can only access orders in the connected Shopify store.

Products not found by name — If a product was added to Shopify after the last sync, wait 1 hour for the product index to update. For immediate updates, click Sync now in the integration settings.

Shopify is connected!
Your bot can now look up orders, search products, and check stock levels. Test it in the preview with a real order number or product name.