Call Outcome Webhook - Configuration and Data Payload

Permanently deleted user Permanently deleted user

Kixie’s “Call Outcome” event webhook allows you to send pertinent data to a webhook endpoint URL any time a call is saved with a particular Kixie call outcome.

 

Configuration

  • Sign in to your Kixie Dashboard (You must have Admin or Manager permissions to proceed) 
  • Navigate to Manage > Automations > Webhooks
  • Click + ADD to create a new webhook
  • Enter the name of your webhook
  • Enter the Endpoint URL. You may receive this from your automation platform, such as Zapier.
  • For "Event Name," select Call Outcome
  • Select the Call Outcomes that you want to trigger this webhook.
    • If you intend to use this webhook as a catch-all trigger, then we recommend you checkmark Select All. This will trigger the webhook when any call outcome is saved. This still applies even if you create new call outcomes in the future, so this option will future-proof your webhook process.
  • Optional: Enter the Header Name and Header Value, if this is required to pass your data through the endpoint.

Screen Shot 2023-08-24 at 3.20.20 PM.png

 

After you save changes, you may test this by starting a new Kixie phone call -- for example, use Kixie to call your personal phone, or call a colleague. At the end of that call, log one of the outcomes included in the Call Outcome Webhook that you created.

This should trigger the data to send to your webhook location.

 

Data Payload

Here is an example of the payload data that is passed through:

{
  "data": {
    "disposition": "Note",
    "purpose": "",
    "dispositionExternalid": "",
    "purposeExternalid": "",
    "subject": "",
    "callType": "outgoing",
    "note": "",
    "businessid": "995",
    "userid": "107742",
    "phone": "+18084899319",
    "contactid": "",
    "dealid": "",
    "externalid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
    "callid": "368131317",
    "timezone": "America/Chicago",
    "powerlistId": "105192",
    "powerlistContactEmail": "",
    "callDetails": {
      "callid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
      "businessid": "995",
      "calldate": "2024-07-17 15:09:30",
      "fromnumber": "+15209993116",
      "tonumber": "+18084899319",
      "duration": null,
      "amount": null,
      "externalid": "0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66",
      "calltype": "outgoing",
      "callstatus": "answered",
      "recordingurl": "https://calls.kixie.com/0c79d4ba-e54f-44d9-bfc6-bc3f4dfd2e66.mp3",
      "recordingsid": null,
      "tonumber164": "+18084899319",
      "fromnumber164": "+15209993116",
      "disposition": "Note",
      "fname": "Eddy",
      "lname": "Zone-7 (qa1)",
      "calleridName": "Eddy Zone-7",
      "email": "echau+n7@kixie.com",
      "destinationName": "PowerList",
      "cadenceactionprocessid": null,
      "powerlistid": "105192",
      "HScalltype": "outgoing",
      "powerlistsessionid": "1927544",
      "extensionDial": "0",
      "toExt": null,
      "fromExt": null,
      "answerDate": "2024-07-17 15:09:30",
      "callEndDate": null,
      "transcriptionXd": null,
      "transcriptionStatus": null,
      "transcriptionS3Key": null,
      "crmlink": "",
      "contactid": "",
      "dealid": "",
      "webhookurl": "https://webhook.site/dispowebhooktest",
      "outcome": "outgoing"
    },
    "activeCRM": {
      "meta": {
        "success": true
      },
      "result": {
        "crmName": "hubspot",
        "logo": "hubspot.png",
        "userAgent": "Kixie Integration - tech@kixie.com",
        "crmID": "16",
        "userid": "107742",
        "user": "",
        "token": "5571dba6-201b-4abf-acf7-9bbb8997767d",
        "refreshTokenExpiration": "",
        "pass": "",
        "accountid": "46741754",
        "location": "",
        "createdate": "2024-06-27 22:46:56",
        "updatedate": "",
        "errordate": "",
        "isActive": "1",
        "accessToken": "",
        "tokenupdate": "",
        "tokenvaliduntil": "",
        "externalEmail": "echau@kixie.com",
        "externalOwnerid": "67967150",
        "isDeleted": "0",
        "version": "",
        "customName": "",
        "customSearchEndpoint": "",
        "customDispositionEndpoint": "",
        "customActivityEndpoint": "",
        "customContactUpdateEndpoint": "",
        "customHeaders": "",
        "isAdmin": "0",
        "auditRequestId": "",
        "customDomainName": ""
      },
      "call": "call calls.getActiveCRM3(107742, 995);"
    },
    "powerlistContactDetails": {
      "result": {
        "powerlistContactId": "157727945",
        "powerlistId": "105192",
        "powerlistSpreadsheetId": "117646",
        "status": "enqueue",
        "rowNumber": "7",
        "phoneNumber": "18084899319",
        "phoneNumber164": "+18084899319",
        "email": "",
        "firstName": "Oahu",
        "lastName": "Kailua",
        "title": "",
        "companyName": "345 Hahani St, Kailua, HI 96734-2838",
        "externalOwnerId": "",
        "crmContactId": "",
        "targetTimeZone": "UTC-10",
        "attemptCount": "1",
        "lastAttemptDateTime": "2024-07-17 15:09:05",
        "retryAfterDateTime": "2024-07-17 15:12:37",
        "ownerUserId": "",
        "reservedForUserId": "",
        "reservedDate": "",
        "nextCallRefresher": "",
        "refresherCreatedBy": "107742",
        "refesherUpdateDateTime": "2024-07-17 15:09:37",
        "outcome": "",
        "outcomeCreatedBy": "107742",
        "outcomeUpdateDateTime": "2024-07-17 15:09:37",
        "ssData": "{}",
        "createdDate": "2024-07-17 15:07:59",
        "targetTimeZoneDst": "UTC-9",
        "dstStartDate": "2024-01-01 00:00:00",
        "dstEndDate": "2024-12-31 00:00:00",
        "dstNextUpdateTimestamp": "2024-12-31 00:00:00",
        "statAnswered": "0",
        "statConnected": "0",
        "statTalkTimeinSec": "7",
        "lastDialOutcome": "Answered - Note",
        "deferredReason": "Min. Duration Between Calls Applied",
        "machineDetected": "0",
        "machineNotDetected": "0",
        "mdAssisted": "0",
        "groupId": "6914f7a8-f5ae-4f97-876f-81cd751ec634",
        "auditRequestId": "7981"
      }
    },
    "hookevent": "disposition",
    "webhookurl": "https://webhook.site/dispowebhooktest",
    "webhookHeaders": null,
    "number": "+18084899319",
    "customernumber": "+18084899319",
    "businessnumber": "+15209993116"
  }
}