Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Automation → AgentUpdate

AI-generated

Summary

Update an existing automation agent in the Zen ERP system by specifying its properties in JSON format.

Inputs

  • Body (required) — A JSON object containing the agent update details. This must include the agent's 'id' (integer) and can include 'description' (string), 'uri' (string), 'tags' (string), and 'properties' (object) to update the agent's attributes.

Output shape

a single record

Returns the updated agent object in JSON format upon success. If the operation fails and 'Continue On Fail' is enabled, an error object with message, description, and stacktrace details is returned.

Examples

Example 1: Update an Automation Agent

Provide a JSON body with the 'id' of the agent to update and any other fields to modify, such as 'description' or 'uri'. For example, to change the description and URI of an agent, include those fields in the JSON body.

Discussion