Triggered when an action log completes successfully.
Event Type
action_log.completed
Description
This event is fired whenever an action log (such as a message, tool call, or follow-up) completes successfully. Use this event to track agent activity and respond to completed actions in real-time.
Payload Structure
The event type, always “action_log.completed”
The completed action log object Unique identifier for the action log
Type of action (e.g., “MESSAGE”, “TOOL_CALL”, “FOLLOW_UP_MESSAGE”)
Status of the action, always “COMPLETED” for this event
ID of the lead associated with this action
Brief summary of the action
Input data for the action (varies by action type)
Output data from the action (if applicable)
Array of messages associated with this action
ISO 8601 timestamp when the action was completed
ISO 8601 timestamp when the event occurred
ID of the workspace this event belongs to
{
"event" : "action_log.completed" ,
"actionLog" : {
"id" : "59ac65a5-33fe-43a6-924b-134c582a285e" ,
"type" : "MESSAGE" ,
"status" : "COMPLETED" ,
"leadId" : "4cc8af99-b313-4c1f-b98b-009f38a4721a" ,
"summary" : "Incoming email: docs" ,
"input" : {
"channel" : "EMAIL" ,
"direction" : "INBOUND" ,
"metadata" : {
"agentMailData" : {
"to" : [ "Mark Ding <mark-local@agent.getomni.ai>" ],
"from" : "Mark Ding <markdingkl@gmail.com>" ,
"subject" : "docs"
}
}
},
"output" : null ,
"messages" : [
{
"id" : "2421bef7-95bc-4546-92a3-c7e5600fbb6a" ,
"body" : "<div dir= \" ltr \" ><br></div> \n " ,
"channel" : "EMAIL" ,
"subject" : "docs" ,
"direction" : "INBOUND" ,
"documents" : []
}
],
"completedAt" : "2025-10-30T20:07:17.553Z"
},
"occurredAt" : "2025-10-30T20:07:17.567Z" ,
"workspaceId" : "6048d78a-584a-4f1e-9e39-e011ca4cc48c"
}