Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ type AgentMessageEvent struct {

// Sequence identifies which agent message this is in the current turn.
Sequence int `json:"sequence,omitempty"`

// Intent is the most recent intent that was classified from the customer's
// conversation, if any.
Intent string `json:"intent,omitempty"`
}

// ConversationHandOffEvent contains the data for a `conversation.hand_off` event.
Expand Down
Loading