Skip to main content
Use the session UUID as the external id in your CRM. Query a short overlapping time window on each run, then upsert rather than insert. The overlap protects against delayed analysis and interrupted jobs.

Request recent qualified sessions

Production pattern

  1. Store the last successful session timestamp.
  2. Subtract at least one hour to create the next date_from watermark.
  3. Read every page.
  4. Upsert by session UUID.
  5. Advance the watermark only after every page succeeds.
Retrieve session detail only when the CRM needs topics, objections, timeline events, or next steps.