Write an agent bot's N8N prompt
PUT/api/v1/accounts/:account_id/agent_bots/:id/prompt
Saves the prompt back into the N8N workflow. The change lands in N8N, not in AzChat — this endpoint is a pass-through to it.
Routed on PUT rather than PATCH, unlike the rest of the reference.
Request
Responses
- 200
- 404
- 422
Saved
Agent bot not found
N8N refused the write