-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from botpress/rk-events
added events
- Loading branch information
Showing
3 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"details": "Chatbot Details", | ||
"details": "Overview", | ||
"messaging-channels": "", | ||
"logs": "Admin Logs", | ||
"config-variables": "Configuration Variables", | ||
"analytics": "Chatbot Analytics", | ||
"chat": "Chat with your Bot", | ||
"logs": "Production Logs", | ||
"conversations": "Conversations", | ||
"analytics": "Analytics", | ||
"events": "Events", | ||
"usage": "Resources Usage Metrics", | ||
"managing-workspaces": "" | ||
"managing-workspaces": "", | ||
"config-variables": "Configuration Variables" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Events | ||
|
||
![Misunderstood](/docs/content/events.png) | ||
|
||
Botpress provides a comprehensive system for managing and inspecting events that occur within your bot. This system is essential for understanding how your bot interacts with users and for troubleshooting any issues that may arise. | ||
|
||
**Events** represent anything that happens within the bot, such as messages from users, bot replies, and various system-level occurrences. By examining these events, builders can debug triggers, inspect payloads, and monitor the health and activity of their bot. | ||
|
||
## Filtering Events | ||
|
||
The Events page allows you to filter events by the following criteria: | ||
|
||
- **Event**: The type of event that occurred. | ||
- **Conversation**: The conversation to which the event belongs. You can filter by conversation ID. | ||
- **User**: The user who triggered the event. You can filter by user ID. | ||
- **Message**: The message content. You can filter by message ID. | ||
|
||
Each event in Botpress has a specific type and status. These characteristics provide detailed information about what the event represents and the state of its processing. | ||
|
||
### Types of Events | ||
|
||
- `message_created`: Generated when a new message is created by a user. | ||
- `state_expired`: Indicates that a conversation state has expired. | ||
- `task_update`: Reflects changes in the status of a task. | ||
- `webhook:event`: Triggered by a webhook event. | ||
- `webchat:conversationStarted`: Marks the beginning of a new conversation. | ||
- `webchat:trigger`: Indicates that a trigger has been activated. | ||
- `botready`: Signifies that the bot is ready to receive messages. | ||
- `botpublished`: Occurs when the bot is published. | ||
|
||
### Event Statuses | ||
|
||
Events can have one of the following statuses: | ||
|
||
- `Processed`: The event has been successfully handled by the bot. | ||
- `Failed`: The bot encountered an error while processing the event. | ||
- `Pending`: The event is in the queue, awaiting processing. | ||
- `Ignored`: The event has been deliberately ignored, usually by design. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.