Clients

This guide explains the Client Webhook Payload data format for Client Added, Client Tag Added, and Client Tag Removed triggers in Whautomate. Stay up-to-date and optimize your workflow today!

Client Added

(i) Payload Format: Client Added Payload data format and content that Whautomate will transmit to the configured endpoint.

{
  "event": {
    "id": "{{event.id}}",
    "type": "{{event.type}}",
    "timeStamp": "{{event.timeStamp}}",
    "key": "{{event.key}}"
  },
  "client": {
    "id": "{{client.id}}",
    "clientId": "{{client.clientId}}",
    "fullName": "{{client.fullName}}",
    "preferredName": "{{client.preferredName}}",
    "contactType": "{{client.contactType}}",
    "countryCode": "{{client.countryCode}}",
    "phone": "{{client.phone}}",
    "email": "{{client.email}}",
    "registrationDate": "{{client.registrationDate}}",
    "dob": "{{client.dob}}",
    "addressType": "{{client.addressType}}",
    "address": "{{client.address}}",
    "identificationNumber": "{{client.identificationNumber}}",
    "gender": "{{client.gender}}",
    "preferredLanguage": "{{client.preferredLanguage}}",
    "maritalStatus": "{{client.maritalStatus}}",
    "tags": "{{client.tags}}",
    "notes": "{{client.notes}}",
    "referralSource": "{{client.referralSource}}",
    "photo": "{{client.photo}}",
    "primaryStaff": {
      "id": "{{client.primaryStaff.id}}",
      "name": "{{client.primaryStaff.name}}"
    },
    "primaryLocation": {
      "id": "{{client.primaryLocation.id}}",
      "title": "{{client.primaryLocation.title}}"
    },
    "emergencyRelationType": "{{client.emergencyRelationType}}",
    "emergencyName": "{{client.emergencyName}}",
    "emergencyCountryCode": "{{client.emergencyCountryCode}}",
    "emergencyPhone": "{{client.emergencyPhone}}",
    "customFields": "{{client.customFields}}",
    "createdAt": "{{client.createdAt}}",
    "updatedAt": "{{client.updatedAt}}"
  }
}

(ii) Client Added test Payload data 👇


Client Tag Added

(i) Payload Format: Client Tag Added Payload data format and content that Whautomate will transmit to the configured endpoint.

(ii) Client Tag Added test Payload data 👇


Client Tag Removed

(i) Payload Format: Client Tag Removed Payload data format and content that Whautomate will transmit to the configured endpoint.

(ii) Client Tag Removed test Payload data 👇

Last updated