Actions90
- Agent Actions
- Get Agents
- Get Agent By ID
- Create Agent
- Update Agent
- Get Agent Templates
- Get Voices By Language
- Toggle Favorite
- Update Agent Visibility
- Get Agent Prompt History
- Update Success Metric
- Update WhatsApp Notification
- Update Mail Notification
- Get Agent Documents
- Insert Agent Document
- Get AI Models
- Get Agent Actions
- Update Agent Reschedule
- Get Keyword Replacements
- Get Agent Keywords
- Add Keyword
- Update Keyword
- Delete Keyword
- Get Template
- Get Agent Samples
- Get Agent FAQs
- Manage Agent FAQ
- Analytics Actions
- Call Actions
- Campaign Actions
- Contact Actions
- Dashboard Actions
- Identity Actions
- Library Actions
- Marketplace Actions
- SIP Actions
- Wallet Actions
Agent → Add Keyword
AI-generatedSummary
Add keyword objects to a VocalLabs agent.
Inputs
- agent_id (required) — The ID of the agent
- objects — Array of keyword objects with agent_id, keyword, replacement fields
Output shape
Success status or updated agent object returned from the VocalLabs API.
Source function: dist/nodes/Vocallabs/actions/agent.actions.js::addKeyword
Examples
Example 1: Add a single keyword replacement to an agent.
Provide agent_id as a string, and objects as a JSON array containing one object with keyword and replacement fields.
