Actions33
- Agent Actions
- Appointment Actions
- Call Actions
- Contact Actions
- Conversation Actions
- Dataset Actions
- Listing Actions
- SMS Actions
- Task Actions
- WhatsApp Actions
Agent → Update
AI-generatedSummary
Update a Mihu AI agent by sending a PATCH request with the configured agent fields. Select the required agent by name or UUID, then provide any details to update, including its profile, scheduling flags, guidelines, notes, training, procedures, or settings.
Inputs
- Agent Name or ID (required) — Select the agent to update, or provide its ID using an expression.
- Name — Agent name. Sent only when non-empty.
- Description, Company Name, Role, Objective, Tone, Behavior Guidelines, Company Service, Topic, Language, Speed, Timezone, Status, Custom Prompt, Custom LLM URL — Optional agent fields. Non-empty values are included in the update; Language defaults to en, Speed to Normal, and Status to Pending.
- Appointment Scheduling Enabled; Appointment Scheduling Randomly — Boolean scheduling flags. Both are sent in the request, defaulting to false.
- Guidelines; Notes — Optional lists of items, each with Content and Order. Each list is included only when it has at least one item.
- Training — Optional list of training items with Content and optional Intent and Response. Included only when at least one item is provided.
- Procedures (JSON) — A JSON array of procedures; included only when non-empty. Invalid JSON raises an error.
- Settings (JSON) — A JSON object of voice and text settings; included only when non-empty. Invalid JSON raises an error.
Output shape
One output item per input item, containing the API response data as JSON.
Uses the response's data field when present; otherwise returns the full response. Errors stop execution unless Continue On Fail is enabled, in which case that item's output contains an error field. Empty optional strings and empty lists or JSON values are omitted from the update, so this operation does not clear existing values through those fields.