monitor.matched event. Your receiver can save the result in your database,
CRM, or customer timeline. Zelto sends the event to your HTTP endpoint; your
system controls the database write.
Set up a destination
Owners and administrators can manage destinations and delivery history.- Create the monitors whose positive results you want to receive.
- Choose Add destination, enter a name and a public HTTPS URL on port 443, and select monitors (up to 100), enable completed monitor exports, or both. Select current monitors (up to 100) selects up to 100 from the current list; future monitors are not subscribed automatically.
- Save the destination. It starts Paused. Copy the generated signing secret, which is displayed only once, and store it securely in your receiver.
- Choose Send test. Handle
webhook.testas described below and acknowledge it with any 2xx response. Tests can run while the destination is paused. - Choose Enable deliveries in the destination’s setup steps, or enable
deliveries from Edit destination. For
monitor.matched, only conversations ingested after activation are eligible. Check Last test and the history to confirm delivery; background scheduling normally picks up pending events within one minute.
monitor.matched, activation does not send events for existing conversations.
Adding another monitor preserves coverage for unchanged subscriptions. Removing
and later re-adding a monitor, or pausing and reactivating the destination, starts
coverage from the new activation time. A provider’s original conversation start time can
precede ingestion. These activation and subscription rules do not limit completed
export contents; an explicitly requested export may include older conversations.
Destinations show only the receiver hostname; credentials, paths and query
parameters stay hidden. When editing, leave the URL blank to keep it. Generate a new signing secret
rotates the secret and pauses the destination. Update your receiver, send a test,
and enable deliveries again. Changing the URL or secret cancels pending deliveries; set
up your receiver before enabling delivery. An HTTP request already started may
still arrive after a destination is paused or edited.
Events
monitor.matched
One event is recorded for the first positive result of each conversation and monitor
while an eligible destination exists. Reprocessing or changing the monitor’s
version does not create another event for that pair. A previously negative
result can produce its first event when it becomes positive. Negative, unscored,
failed, preview, benchmark, and isolated experiment results do not emit events.
A later correction does not retract an already delivered detection.
This is a post-analysis event, not live keyword detection during a conversation. It
contains the monitor’s typed outputs and explanations. Positive filter_regex
stages automatically include the matched text and transcript evidence, with no
extra configuration or LLM request.
Synthetic example:
data.conversation.externalId, the conversation ID you originally supplied, to join
the event to your conversation records. endUserId is an optional opaque person ID you
can supply when uploading conversations. Either may
be null when absent. company_id identifies a company or creditor and must not
be treated as the called person’s ID.
occurredAt is when the event was recorded; evaluatedAt identifies the
captured result. startedAt may be null. overallScore is a number or null;
items[].value preserves its original JSON type. The snapshot stays unchanged
across retries. Full transcripts, recordings, phone numbers, prompts, and
free-form conversation metadata are not included. Monitor outputs can themselves contain
customer information, so store them with the same controls as your conversation results.
Each non-negated filter_regex that matches adds an item with its stageId,
the pattern as label, kind: "json", and the following value:
text preserves the exact matched spelling and case. fragment includes up to
80 characters of context on each side. Roles use transcript values (user,
assistant, system, or tool); turn indexes are zero-based in the original transcript.
Matching uses the same case-insensitive pattern and newline-joined scoped turns
as the filter. A match across turns has role: null, a starting turnIndex,
and an endTurnIndex; a match only in a joining newline has both role and
turnIndex set to null.
Evidence is limited to the first 50 regex occurrences per stage;
truncated: true indicates further occurrences. Empty matches count toward that
limit but do not produce match entries. Match text is limited to 2,000 characters;
longer text has textTruncated: true and a shortened fragment. Existing monitor
scores, filtering, and inputs to code/AI stages are unchanged.
Filter-only monitors still flag conversations by passing their filters. Negated
filters pass because a pattern is absent and add no match evidence. Non-regex
filters and historical invalid patterns also add none, so items can still be
empty. Zero-width-only patterns can produce an item with an empty matches list.
Evidence is captured on new evaluations; stored historical results and already
recorded webhook snapshots are not changed or resent.
webhook.test
Tests contain no real conversation or customer data:
Verify the signature
Every request contains:
The signed message is
timestamp + "." + rawBody. Verify the original raw
request body, before parsing JSON or changing whitespace. The timestamp and
signature change for each attempt; the event ID remains the same. The body also remains the same for monitor.matched and webhook.test; export download links are renewed on every attempt.
This Node.js verifier rejects signatures older than five minutes:
Save once, acknowledge, and retry
After verification, branch ontype. For monitor.matched, identify the person
through your conversation’s external ID or supplied endUserId, then commit the event ID
and the history entry in one database transaction. Enforce a unique constraint
on the event ID. Return 2xx only after durable processing, or after durably
queuing the work in your system. If the ID was already processed, return 2xx
without inserting another history entry.
Delivery is at least once, with no ordering guarantee. A response can be lost
after your database commit, so automatic and manual retries may repeat an event.
Do not deduplicate by monitor name or assume only one monitor can match a conversation.
Zelto allows up to six automatic attempts. Base delays between attempts are 5,
10, 20, 40, and 80 minutes, plus up to 30 seconds of jitter. Non-2xx responses,
network failures, and timeouts are retried; a valid Retry-After on 429 or 503
postpones the next attempt if later. Invalid or private destinations fail without
repeated delivery attempts. DNS has a 5-second timeout and HTTP has a 15-second
timeout. Redirects are not followed. The scheduler can add a short delay to a due
attempt. Deliveries run separately from conversation analysis.
Delivery history shows the latest 50 deliveries, statuses, attempts, bounded
error summaries, and up to 100 recent attempt outcomes. Monitor detections show
the monitor and a link to the retained conversation, including its external reference
when present. Search and status filters apply to these latest 50 deliveries.
Technical event IDs and attempt logs are available under Technical details
and attempts. Pending deliveries refresh every 15 seconds while the page is
visible; automatic updates pause while editing or viewing a one-time secret.
Use Update to refresh manually.
Use Resend for a terminal delivery while its content is retained and the
destination is enabled (test events can also be resent while paused). Resend
uses the current destination configuration, the same event ID and manifest (with a renewed download link for exports), and a
new automatic-attempt budget. An active or still-leased delivery cannot be
restarted; wait for it to finish or its lease to expire. There is no bulk replay
of historical conversations.
Event content is retained for at most 30 days from conversation ingestion, or the
organization’s shorter effective retention policy. Deleting the conversation, monitor,
or organization removes the related event content. Expired content cannot be
sent again. A minimal event identifier remains while the conversation and monitor
exist to prevent re-emitting the same first match after content cleanup.
Other webhook features
These per-conversation webhooks are separate from the aggregate weekly monitor report webhook, whosemonitor_report.weekly payload and delivery-ID deduplication are unchanged.
Provider webhooks in voice integrations send conversations
into Zelto; this integration sends detections out to your system.
Completed monitor exports
Owners/admins can enable Receive completed monitor exports for a destination. It authorizes complete files from any monitors selected by an organization member; monitor subscriptions do not restrict export contents. Existing destinations default to off. In Monitors → Exports → Create export, choose an active approved receiver under Notify when complete, or leave No notification selected. Destinations can receive only exports without subscribing to individual monitors. Zelto records onemonitor_export.completed event per export and sends it only
after the private file is complete. Its envelope uses the same signed headers:
downloadUrl directly;
no Zelto login or API key is required. Treat it as a temporary credential and
never log it. Verify file size and SHA-256, and deduplicate work using event ID.
The URL can be used more than once before expiration. Return 2xx to acknowledge
the event; that does not confirm the file was downloaded or processed.
Links last up to one hour, capped by file lifetime, webhook retention and
signing credentials. Always use downloadExpiresAt. Each retry or manual resend
renews only downloadUrl and downloadExpiresAt, with the same event ID and
manifest. This is an explicit exception to immutable-body retries for the other
event types. Do not reject a valid retry because its download URL changed.
A failed notification does not fail the completed export. Six delivery attempts,
backoff, history and manual resend apply as above. Admins can resend while the
original destination grant, creator membership, event and file remain valid.
Files remain available for 30 days, but current webhook retention may stop
resends earlier. Expired files require a new export with current data.
Pausing or editing URL/secret, removing export approval, or loss of creator
membership stops new links; reactivation does not restore a revoked grant.
Already authorized HTTP requests may arrive and issued links expire naturally.
After revocation, create a new export and explicitly select an approved receiver.
