MEGA icon

MEGA

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

Actions417

Agent → Create

AI-generated

Summary

Create a new agent under a specified account by providing agent details and role information.

Inputs

  • Account (required) — Select the account to associate the new agent with, either from a searchable list or by specifying its ID.
  • Name (required) — Specify the full name of the agent.
  • Email (required) — Provide the email address of the agent.
  • Role Name or ID (required) — Choose an agent role from a dynamically loaded list filtered by the selected account, or specify the role ID using an expression.
  • Additional Fields — Optionally set extra properties for the agent such as full name, auto offline status (default true), and availability status (Available, Busy, Offline).

Output shape

a single JSON object representing the newly created agent

The output contains the details of the agent created in the specified account, including assigned role and statuses. All inputs marked as required must be provided to successfully create the agent. Additional optional fields enhance the agent's configuration at creation.

Links

Discussion