Skip to main content

Cart integration & checkout

Two tools cover everything the AI can do to a customer's cart, and it's given live cart context so it isn't acting blind. If you're picturing a broader cart-automation platform, scale that back — this is deliberately narrow.

Adding to cart

When a customer asks to buy something, the AI calls add_to_cart with the exact product and variant ID it found through catalog search. It won't guess at an ID, and the tool itself refuses to run against anything that looks like a placeholder. It takes a quantity from 1 to 10 and hands back instructions the storefront widget uses to add the item to the real Shopify cart.

Opening checkout

"Checkout," "pay now," and similar phrases trigger open_checkout, which tells the widget to open /checkout. That's the whole mechanism.

Reading the cart before acting

Every message the AI sees comes with the current cart state attached: empty or not, item count, line items, total and currency, any discount already applied, any cart note. That's how it can say "you've already got the blue medium in there" instead of asking the customer to repeat themselves.

What it won't do on its own

No exit-intent detection, no proactive "you're about to abandon your cart" message, no dynamic pricing, no stock holds or reservations, no cart sync across channels, no AR try-on. The AI responds to what's said in the conversation — it doesn't watch the cart and interrupt on its own.

Separately, Path Explorer passively logs page views, add-to-cart events, cart views, and checkout starts as customers move through the store — that's what builds the journey/funnel views on the dashboard. It's pure analytics; nothing there feeds back into how the chat behaves.

Next steps