Skip to content
Draft
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
10 changes: 9 additions & 1 deletion docs/building-chatbots/developers/hooks/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,12 @@ Location: `data/global/hooks/before_suggestions_election`

Parameters: `bp`, `event`, `suggestions`, `sessionId`

A typical operation here is to add a new (elected) suggestion when there is no elected winner.
A typical operation here is to add a new (elected) suggestion when there is no elected winner.

### After event Processed

This hook is called after the sending event(message, payload, content-type) to the user. It's called after the conversation.

Location: `data/global/hooks/after_event_processed`

Parameters: `event`: IncomingEvent