Skip to main content

When a Harmony call ends

This monday trigger runs after each Harmony call to a contact enrolled from monday. It doesn't run when the contact's item has left the trigger's board, for test calls from the agent builder, or for transferred calls.

Inputs​

  • Board (required): the board mapped in Harmony.
  • Voice agent (optional): run only for this agent's calls. Leave empty to include every agent.

Outputs​

Each of these outputs copies one call details field:

  • Call ID: callId (text)
  • Contact ID: contactId (text)
  • Voice agent ID: agentId (text)
  • Voice agent name: agentName (text)
  • Direction: direction (text)
  • Start time: startTime (text)
  • End time: endTime (text)
  • Duration (seconds): durationSeconds (number)
  • Attempt: attempt (number)
  • Call result: callResult (text)
  • Contact status: contactStatus (text)
  • End reason: endReason (text)
  • Last call: isLastCall (true or false)
  • Call summary: summary (text)

Call details​

{
"callId": "0196f0b4-2a1c-7d3e-8f40-5b6c7d8e9f0a",
"contactId": "0196f0a2-8c1e-7b3a-9d41-2f6e5a7c8b90",
"direction": "outbound",
"agentId": "0196e8c1-4b2a-7c3d-9e5f-6a7b8c9d0e1f",
"agentName": "Sales qualifier",
"agentPhoneNumber": "+12125550123",
"startTime": "2026-10-10T14:03:12.000Z",
"endTime": "2026-10-10T14:06:41.000Z",
"durationSeconds": 209,
"attempt": 1,
"callResult": "qualified",
"contactStatus": "qualified",
"endReason": "hang_up",
"isLastCall": true,
"summary": "The contact asked for a callback next Tuesday morning.",
"contactFields": {
"firstName": "Dana",
"lastName": "Levi",
"phone": "+12125550199",
"timezone": "America/New_York",
"externalId": "1234567890",
"sourceKind": "monday",
"customFields": { "company": "Acme" }
},
"collectedFields": { "meeting_time": "Tuesday 10:00" }
}
  • callId: the Harmony call ID. Use it to read the transcript.
  • contactId: the Harmony contact ID.
  • direction: outbound (outgoing) or inbound (incoming).
  • agentId and agentName: the agent that took the call.
  • agentPhoneNumber: on outgoing calls, the number the agent called from. Can be null.
  • startTime and endTime: ISO 8601 timestamps in UTC. Can be null.
  • durationSeconds: the call length in seconds. Can be null.
  • attempt: the attempt number of an outgoing call. null for incoming calls.
  • callResult: the result of the call, such as answered or no_answer. See call result values. Can be null.
  • contactStatus: the contact's status when the trigger runs. See contact status values. Can be null.
  • endReason: why the call ended, such as hang_up, call_dropped, call_timeout, or error. null when the call never connected, as for most unanswered calls.
  • isLastCall: true when Harmony has no further call scheduled for the contact, false when it will call again.
  • summary: a one-sentence summary of the call. null when Harmony couldn't summarize it.
  • contactFields: the contact's fields. externalId is the monday item ID, sourceKind is monday, and customFields holds the fields you added in the column mapping, by identifier.
  • collectedFields: values the agent collected during the call, by field name, leaving out values that match the contact fields Harmony gave the agent. Values keep their JSON type, so a value can be a string, number, boolean, array, or object. Empty when the agent collected none.

Call result values​

new, neutral_value_call, unknown, busy, no_answer, invalid_number, carrier_blocked, wrong_language, wrong_number, do_not_call, voicemail, ivr, message_left_with_gatekeeper, contact_verified, not_interested, disqualified, callback_requested, human_busy, qualified, converted, answered, identified.

Contact status values​

new, invalid, paused, unanswered, unreachable, connecting, answered, contact_verified, disqualified, qualified, converted, dont_call, dnc_blocked, not_assigned, assigned, not_answered, not_reached, reached, dnc.