| Storefront SDK | sdk.nextintent.ai/<site_id>/sdk | A script on every page. Reads how the visitor moves (scroll, clicks, stillness, form validation messages, page path) and streams it to the collector. Assigns the visitor id in a NextIntent-owned frame. |
| Realtime collector | a websocket the SDK opens | Receives the signals, stamps them with the site and visitor, and publishes them to the engine. Keeps nothing but the visitor and device registry. |
| Decision engine | internal | Folds each visitor’s signals into a live picture, applies the gate (is this a moment?), decides whether to engage, composes the sentence from the facts sheet, and records the moment and what happened next. |
| Card delivery | sdk.nextintent.ai/<site_id>/card | Holds one sentence per visitor for three minutes; the page collects it once and reports shown, clicked or dismissed. |
| Commerce inputs | sdk.nextintent.ai/<site_id>/cart, /shopify/orders, /shopify/refunds, /checkout | The cart from the page, orders and refunds from the store’s server, checkout steps from a pixel. |
| Management API | api.nextintent.ai/v1 | Sites, switches, the facts sheet, the views (store, reasons, moments), API keys. |