For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Webhooks allow you to receive conversations and associated data into your systems easily without having to setup native integrations.

Setting up webhooks

  • Click on the Integrations tab in RepX dashboard.

  • Paste in the webhook which needs to be hit, here.

  • Click 'Send test webhook' to receive a test event with a sample payload from your conversations.

  • Confirm that the webhook payload is received on your end and hits the systems you expect it to hit.

RepX sends a POST request to the URL you configure every time a conversation completes. The payload is described below.

The RepX conversation completed event

The repx_conversation_completed event fires once for every conversation, as soon as that conversation is complete and RepX has finished processing it. There is one event per conversation - it isn't fired again if the same visitor returns and starts a new conversation, that produces its own event.

What the event contains

Field
Data Type
Description

id

String

Unique identifier for the conversation

event

String

Always repx_conversation_completed

transcript

String

The full conversation, message by message, including whether it happened in text or voice mode

conversation_summary

String

A short AI-generated summary of what the conversation covered

topics

Array

The topics discussed during the conversation

intent_level

String

Buying intent calculated for the conversation - high, medium or low

extracted_variables

Object

All conversation signals extracted from the conversation - both default and custom

duration

Number

Length of the conversation, in seconds

message_count

Number

Number of messages exchanged in the conversation

started_at

String

Timestamp of when the conversation began, in ISO 8601

completed_at

String

Timestamp of when the conversation completed, in ISO 8601

cta_opened

String

The CTA URL the visitor clicked during the conversation, if any

lead

Object

Lead details - id, email, first_name, last_name, lead_source, client_source and client_tracking_id

buyer_reveal

Object

Company details resolved from the visitor's IP or email - name, domain, revenue range, employee range and a confidence score

location

Object

The visitor's country, city and state

extracted_variables always contains the four default signals - email, visitor_name, phone_number and qualified. See Conversation signals for how to set them up.

Sample payload:

Implementation examples in Node.js, Ruby and Python are available on the Webhooks page.

Last updated

Was this helpful?