MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

🌐 Platform: Agent Bot → Create

AI-generated

Summary

Create an agent bot on the MEGA Platform by specifying its name and optionally associating it with an account and providing additional details such as description and outgoing event URL.

Inputs

  • Account — Optionally associate the agent bot with an existing account by selecting from a searchable list or providing the account ID.
  • Name (required) — Specify a name for the new agent bot.
  • Additional Fields — Add optional fields including a description of the agent bot and an outgoing URL where bot events will be sent.

Output shape

a single JSON object representing the newly created agent bot, including its identifier and all provided and default fields

The output structure depends on the MEGA Platform's API response. The newly created agent bot's details including any server-generated fields are returned.

Examples

Example 1: Create a new agent bot named 'Support Bot' associated with account ID 12345, with a description and a webhook URL for event callbacks.

Set 'Name' to 'Support Bot'; set 'Account' by ID to '12345'; add 'Description' and 'Outgoing URL' under additional fields.

Links

Discussion