Configure the webhook
In Trellus, create a webhook with:Required data
The webhook needs:- A call ID in
session_id,unique_id, orcustom_id. - A prospect identity in
contact_name,target_number, or both. - Call text in
transcriptor, as a fallback,summary.
Example payload
Rep, Contact, and Prospect are mapped automatically. Rep and contact names are also recognized when they appear as transcript labels.
Response
A successful request returns:What appears in Agnost
- One session for the Trellus call.
- Conversation events created from user and rep turns.
- Call metadata such as direction, disposition, sentiment, duration, summary, rep, and contact fields.
- Safe
httporhttpsaudio, transcript, and platform links when provided.
Troubleshooting
422for a missing header: addX-Org-Idto the Trellus webhook.400for the organization ID: confirmX-Org-Idis a valid UUID.400for identity: include a call ID and eithercontact_nameortarget_number.422for an empty transcript: includetranscriptorsummary.- The call has no events: confirm transcript turns use
Speaker: textlines. Agnost recognizesRep,Contact,Prospect, and the rep/contact names.
