NooviChat icon

NooviChat

Interact with NooviChat — manage conversations, contacts, pipeline CRM, lead scoring, campaigns and WhatsApp

Actions264

Agent → Update

AI-generated

Summary

Update an existing agent's details within a specified NooviChat account by providing the account ID and the agent's unique identifier, modifying properties such as their role, availability status, and optionally assigning a custom role ID for granular permissions.

Inputs

  • Account ID (required) — Numeric identifier of the NooviChat account where the agent belongs; supports expressions for workflows managing multiple accounts.
  • Agent ID (required) — Unique string identifier of the agent to update.
  • Role — Set the permission level of the agent; choose between 'Agent' (standard limited permissions) or 'Administrator' (full account access). Defaults to 'Agent'.
  • Availability — Set the current availability status of the agent: 'Online' (available), 'Busy' (may not respond immediately), or 'Offline' (unavailable). Defaults to 'Online'.
  • Custom Role ID — Numeric ID of a custom role within the same account to assign to the agent, providing granular permissions layered on top of the base role. Use 0 to skip assignment; foreign-account IDs are ignored.

Output shape

a JSON object representing the updated agent record

The response includes the updated agent data after the changes are applied. Input validation requires a valid account ID and agent ID. The custom role ID is optional and must be from the same account if provided.

Links

Discussion