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: action_log.completed
The completed action log object Unique identifier for the action log
Type of action: SYSTEM_NOTE, MESSAGE, FOLLOW_UP_MESSAGE, TOOL_CALL, DOCUMENT_UPLOAD, MANUAL_UPDATE
Status of the action: COMPLETED
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 if the action type is MESSAGE or FOLLOW_UP_MESSAGE Unique identifier for the message
Array of documents associated with the message Unique identifier for the document
MIME type of the document
ISO 8601 timestamp when the action was completed
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 <[email protected] >" ],
"from" : "Mark Ding <[email protected] >" ,
"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" : [
{
"id" : "2421bef7-95bc-4546-92a3-c7e5600fbb6a" ,
"filename" : "docs.pdf" ,
"mimeType" : "application/pdf" ,
"size" : 1000
}
]
}
],
"completedAt" : "2025-10-30T20:07:17.553Z"
},
"workspaceId" : "6048d78a-584a-4f1e-9e39-e011ca4cc48c"
}