What should an AI agent audit trail log?
Start with the evidence a manager would need after the fact.
The request or trigger
Record what started the workflow: a scheduled run, form submission, CRM stage change, inbound email, manual request, support ticket, report deadline, or website check.
The user, workflow, and agent role
Log the person, team, or system that requested the work, the workflow name, and the agent role. “Sales follow-up prep agent” is clearer than a generic “AI task”.
Sources and business data used
Record the approved sources the agent used: CRM notes, public website pages, policy documents, support tickets, proposal templates, spreadsheets, Xero exports, knowledge-base articles, or meeting notes. Use references or summaries where sensitive raw data is not needed.
Tool calls, integrations, and permissions
Log which tools the agent called and what authority it had: read, draft, recommend, create task, update field, send, publish, delete, or blocked. Use the AI Agent Permissions Checklist NZ to decide those boundaries before build.
Draft output or action prepared
Keep the output the agent prepared: draft email, CRM note, page observation, report summary, task list, question set, or recommended next action.
Approval, rejection, edit, or escalation
Record who reviewed the output and what happened next: approved as-is, edited then approved, rejected, escalated, or paused.
Errors, exceptions, and overrides
Capture missing data, failed tool calls, unusual outputs, permission blocks, reviewer overrides, and risk-based stops.