Conas cabhrú leat?

Inis dúinn go hachomair cad faoi seo — rachaimid i dteagmháil leat trí ríomhphost.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Ar ais go dtí an baile

Architecture and flow

How the parts of reactive.chat work together – loader, core and modules in the browser, chat server, account, server API, webhooks and customer data – and what happens in which order, from the page view to the answer.

The parts

In your visitors' browser:

At reactive.chat:

On your side (optional):

Flow of a page view

  1. The browser loads loader.js (asynchronously, blocks nothing).
  2. The loader reads data-rc-*, ReactiveChatSettings and queued boot calls, checks the site key and consent and draws the placeholder.
  3. A trigger fires; the loader loads the core from the same directory.
  4. The core takes over the placeholder and the queue and works through queued commands in order.
  5. It opens the connection and sends init with the site key, IDs, language, consent, the signed identity if any, and page context.
  6. The server checks origin, project and identity and responds with init_ok: design and texts from the account, rules, features, limits, the conversation history so far.
  7. The widget is ready (event ready). It reports page changes in single-page apps by itself.

Flow of a question

  1. The visitor writes; personal data is masked in the browser, and the message carries a unique ID.
  2. The server stores it (it recognises repeats by the ID), masks it again and confirms with an echo.
  3. The AI assistant searches your knowledge base – for order questions from a confirmed user, additionally through the customer data endpoint – and streams the answer. When it hands over to your team is set in your account (Manual).
  4. In parallel, events go through a queue to webhooks and integrations. A chat never waits for them.

Versions and delivery

Where to set what

Next: Quick start

An nuashonrú is déanaí: