Initialize a new bot
Use the CLI to create a new bot project:- Project name
- Template (if multiple available)
Bot projects don’t require a workspace handle, unlike integrations and plugins.
Bot structure
A typical bot project contains:Create a bot definition
The bot definition specifies your bot’s structure, including actions, events, states, and integrations.bot.definition.ts
Type signatures
Add integrations
Integrations provide channels and functionality to your bot:Disable specific channels
You can disable specific channels from an integration:Add plugins
Plugins extend your bot with reusable functionality:Define bot resources
States
States store data scoped to conversations, users, bots, or workflows:Events
Define custom events your bot can trigger:Tables
Define database tables for your bot:Next steps
Bot configuration
Configure bot properties and metadata
Bot handlers
Implement message and event handlers
Conversations
Work with conversations and users
Messages
Send and receive messages