diff --git a/pages/cloud/admin-dashboard/_meta.json b/pages/cloud/admin-dashboard/_meta.json index df4c2243..21979c57 100644 --- a/pages/cloud/admin-dashboard/_meta.json +++ b/pages/cloud/admin-dashboard/_meta.json @@ -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" } diff --git a/pages/cloud/admin-dashboard/events.mdx b/pages/cloud/admin-dashboard/events.mdx new file mode 100644 index 00000000..44e589aa --- /dev/null +++ b/pages/cloud/admin-dashboard/events.mdx @@ -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. diff --git a/public/content/events.png b/public/content/events.png new file mode 100644 index 00000000..b83e294a Binary files /dev/null and b/public/content/events.png differ