Task Comment Events

The structure of the webhook events related to task comments.

Overview of DigiFi Task Comment Events

The task comment events deliver instant notifications to your external applications when specific events occur related to task comments. These events include "taskComment.created," "taskComment.updated," and "taskComment.deleted."

📘

Data Structure (Variables)

DigiFi enables customers to define custom variables to create a unique data structure. Therefore, the structure of the "variables" section of the events will differ by organization. The example below contains a basic set of variables for illustrative purposes.


Task Comment Created

The "taskComment.created" event occurs when a task comment is added, either manually on the platform or via APIs. The event data has the following structure:

{
  "object": {
    "id": "6a285a6689b1a1a24fe3603c",
    "message": "Initial review completed",
    "organizationId": "6a285ac2f0e97ed1fb271e2f",
    "taskId": "6a285ad9d0f0ace46f731731",
    "applicationId": "6a285af1df5e6f1da4946ca6",
    "referenceId": "6a285b0878fd92674196964f",
    "referenceType": "task",
    "productId": "6a285b218981085ee281cfd0",
    "authorType": "systemUser",
    "testing": true,
    "author": {
      "id": "6a285b40ab6a1f420beada9a",
      "email": "[email protected]",
      "color": "#88A8D1",
      "firstName": "Team",
      "lastName": "Member"
    },
    "createdAt": "2026-06-09T16:37:11.357Z",
    "updatedAt": "2026-06-09T16:37:11.357Z",
    "creationContext": null
  }
}

Task Comment Updated

The "taskComment.updated" event occurs when a task comment is updated, either manually on the platform or via APIs. The event data has the following structure:

{
  "object": {
    "id": "6a285a6689b1a1a24fe3603c",
    "message": "Initial review updated after additional checks",
    "organizationId": "6a285ac2f0e97ed1fb271e2f",
    "taskId": "6a285ad9d0f0ace46f731731",
    "applicationId": "6a285af1df5e6f1da4946ca6",
    "referenceId": "6a285b0878fd92674196964f",
    "referenceType": "task",
    "productId": "6a285b218981085ee281cfd0",
    "authorType": "systemUser",
    "testing": true,
    "messageEditedAt": "2026-06-09T16:42:47.926Z",
    "author": {
      "id": "6a285b40ab6a1f420beada9a",
      "email": "[email protected]",
      "color": "#88A8D1",
      "firstName": "Team",
      "lastName": "Member"
    },
    "createdAt": "2026-06-09T16:37:11.357Z",
    "updatedAt": "2026-06-09T16:42:47.926Z",
    "creationContext": null
  },
  "previousObject": {
    "id": "6a285a6689b1a1a24fe3603c",
    "message": "Initial review completed",
    "organizationId": "6a285ac2f0e97ed1fb271e2f",
    "taskId": "6a285ad9d0f0ace46f731731",
    "applicationId": "6a285af1df5e6f1da4946ca6",
    "referenceId": "6a285b0878fd92674196964f",
    "referenceType": "task",
    "productId": "6a285b218981085ee281cfd0",
    "authorType": "systemUser",
    "testing": true,
    "author": {
      "id": "6a285b40ab6a1f420beada9a",
      "email": "[email protected]",
      "color": "#88A8D1",
      "firstName": "Team",
      "lastName": "Member"
    },
    "createdAt": "2026-06-09T16:37:11.357Z",
    "updatedAt": "2026-06-09T16:37:11.357Z",
    "creationContext": null
  }
}

Task Comment Deleted

The "taskComment.deleted" event occurs when a task comment is deleted, either manually on the platform or via APIs. The event data has the following structure:

{
  "object": {
    "id": "6a285a6689b1a1a24fe3603c",
    "message": "Initial review updated after additional checks",
    "organizationId": "6a285ac2f0e97ed1fb271e2f",
    "taskId": "6a285ad9d0f0ace46f731731",
    "applicationId": "6a285af1df5e6f1da4946ca6",
    "referenceId": "6a285b0878fd92674196964f",
    "referenceType": "task",
    "productId": "6a285b218981085ee281cfd0",
    "authorType": "systemUser",
    "testing": true,
    "messageEditedAt": "2026-06-09T16:42:47.926Z",
    "author": {
      "id": "6a285b40ab6a1f420beada9a",
      "email": "[email protected]",
      "color": "#88A8D1",
      "firstName": "Team",
      "lastName": "Member"
    },
    "createdAt": "2026-06-09T16:37:11.357Z",
    "updatedAt": "2026-06-09T16:42:47.926Z",
    "creationContext": null
  }
}