Actions10
- Agent Actions
- Call Actions
- Contact Actions
- Workspace Actions
Agent → Create Agent
AI-generatedSummary
Create a new agent within a specified workspace by providing required details and optional configuration.
Inputs
- Workspace (required) — Select the workspace in which to create the agent (loaded dynamically).
- Name (required) — Specify the agent's name.
- Agent Type (required) — Select the type of agent to create: Inbound Voice, Outbound Voice, Chat, or Widget.
- Additional Fields — Optionally specify extra settings including system prompt, language (English, Spanish, French, German, Portuguese, Dutch, Chinese, Japanese), active state, and for voice agents voice provider ID, opening line, background sound, voicemail and voicemail message, HIPAA compliance setting, call duration (1-60 minutes), and voice speed multiplier (0.5-1.5).
Output shape
a single JSON object representing the newly created agent's details as returned from the API
The returned data includes all agent attributes assigned by the API upon creation. Errors throw a NodeApiError unless 'Continue On Fail' is enabled, which outputs error messages per item.
Examples
Example 1: Create an outbound voice agent
Set workspace, name, select 'Outbound Voice' agent type, optionally configure voice settings and activate the agent.
