Actions112
- Account Actions
- Account AgentBot Actions
- Agent Actions
- Audit Log Actions
- Automation Rule Actions
- Canned Response Actions
- Contact Actions
- Contact Label Actions
- Conversation Actions
- Conversation Assignment Actions
- Custom Attribute Actions
- Custom Filter Actions
- Help Center Actions
- Inbox Actions
- Integration Actions
- Label Actions
- Message Actions
- Profile Actions
- Report Actions
- Account Conversation Metrics
- Account Reporting Events
- Agent Conversation Metrics
- Get Account Reports
- Get Account Reports Summary
- Get Conversation Statistics Grouped by Agent
- Get Conversation Statistics Grouped by Channel Type
- Get Conversation Statistics Grouped by Inbox
- Get Conversation Statistics Grouped by Team
- Get First Response Time Distribution by Channel
- Get Inbox-Label Matrix Report
- Get Outgoing Messages Count Grouped by Entity
- Team Actions
- Webhook Actions
Account AgentBot → Create an Agent Bot
AI-generatedSummary
Create a new agent bot in a specified ChatWoot account by providing the account ID and optional details like name, description, avatar image or URL, bot configuration, bot type, and webhook URL.
Inputs
- Account ID (required) — The numeric ID of the ChatWoot account where the agent bot will be created.
- Additional Options — Optional fields to include in the request such as the agent bot's name, description, avatar (binary or URL), bot configuration JSON, bot type (default is 0 for webhook), and outgoing webhook URL.
Output shape
a single JSON object representing the created agent bot's details
Returns the newly created agent bot object as returned by the ChatWoot API. The response structure depends on the API's standard output, including any properties specified in the request.
Examples
Example 1: Create an agent bot with just the required Account ID
Set Account ID to the target account number; leave all additional options empty.
Example 2: Create an agent bot with a name, description, and avatar URL
Set Account ID and provide name and description strings; set avatar_url to a valid image URL; optionally set bot_type and outgoing_url.