Option | Executes | Reusable | Example |
---|---|---|---|
Actions | When an Autonomous Node decides to (based on the conversation’s context) | ✅ | Make an API call to a weather service whenever the user asks for the weather |
Execute Code Cards | At a specific point in a Workflow | ❌ | Perform a one-time operation on some data provided by a user |
Hooks | At a specific stage of the bot’s operation | ✅ | Every time a bot responds, add the total AI spend for its response to a table |
Name | Description | Usage |
---|---|---|
Axios | HTTP client for making API requests. | Available globally as axios |
Lodash | Utility library for data manipulation. | Available globally as _ |
Luxon | Library for date/time manipulation. | Available globally as luxon |
botpress/client | Official Botpress HTTP client to query the Botpress API. | Available globally as client |
bpinternal/zui | A fork of Zod with additional features. | Available globally as z / zui |
botpress/zai | Botpress utility library that uses AI to manipulate and generate Zui schemas and objects. | Available globally as zai |