The structure of the webhook events related to tasks.
Overview of DigiFi Task Events
The task events deliver instant notifications to your external applications when specific events occur related to tasks. These events include "task.created," "task.updated," and "task.deleted." For more details about the payload structure, please refer to this article.
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 Created
The "task.created" event occurs when a task is created, either manually on the platform or via APIs. The event data has the following structure:
{
"object": {
"id": "6a625181e0967f249a2d3b1a",
"title": "Task Title",
"status": "Not Done",
"productId": "643d84784de828452597f064",
"applicationId": "69ef496a5e26190a2774a5f0",
"applicationDisplayId": "100101",
"labelIds": [
"69a9be5b349fa1757634cba1"
],
"assignedTeamMemberIds": [
"64e5cd64078c37h40ff87105"
],
"version": 0,
"externalAssignee": {
"id": "642ab3b0fy7bcca2f040718f",
"assigneeType": "borrower",
"name": "John Doe",
"borrowerType": "person"
},
"dueDateAndTime": "2026-08-18T09:00:00.000Z",
"createdAt": "2026-07-23T17:38:09.329Z",
"updatedAt": "2026-07-23T17:38:09.329Z",
"description": "Task Title",
"shouldSendAssignmentEmail": true,
"internalInstructions": "Complete the document review.",
"internalInstructionsSource": {
"content": [
{
"content": [
{
"text": "Complete the document review.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"externalInstructions": "please upload the documents.",
"externalInstructionsSource": {
"content": [
{
"content": [
{
"text": "Please upload the documents.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"blockedApplicationStatusIds": [
"643d84aa4de8284e3597f071"
],
"autoPassCondition": {
"formula": "verified == true",
"formulaCompilation": {
"ast": "{\"a\":4,\"h\":\"==\",\"c\":{\"a\":0,\"d\":\"verified\"},\"b\":{\"a\":6,\"d\":true},\"minified\":true}",
"version": 1,
"astCompressed": false,
"customInputNames": [
"verified"
],
"systemInputNames": []
}
},
"sendExternalAssignmentEmail": true,
"testing": true,
"variables": [],
"organizationId": "6329ba6f1864390aba71c2a8e",
"metadata": {},
"templateId": "6a625138542916bc0dc84003",
"assigneeType": "borrower",
"dueDate": "08/18/2026",
"application": {
"id": "69ef496a5e23678a2740a5f0",
"displayId": "100101",
"borrower": {
"id": "642ab3b09y54cca2f040718f",
"type": "person"
},
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe"
},
"teamMembers": [
"64e5cd64078c78d8ff87105"
]
},
"blockedStatuses": [
{
"id": "643d84aa4d78jd452597f070",
"name": "Approved"
}
],
"assignedBorrower": {
"id": "642ab3b0f03456a2f040718f",
"type": "person",
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe",
"borrower_email": "[email protected]"
}
},
"createdBy": null,
"updatedBy": null
}
}Task Updated
The "task.updated" event occurs when a task is updated, either manually on the platform or via APIs. The event data has the following structure:
{
"previousObject": {
"id": "6a625181e8654f249a2d3b1a",
"title": "Task Title",
"status": "Not Done",
"productId": "643d84aa4de965352597f064",
"applicationId": "69ef7855e26190a2740a5f0",
"applicationDisplayId": "100101",
"labelIds": [
"69a9be5b429f89677634cba1"
],
"assignedTeamMemberIds": [
"64e5cd64078y0e40ff87105"
],
"version": 1,
"externalAssignee": {
"id": "642ab3b0f08653a2f040718f",
"assigneeType": "borrower",
"name": "John Doe",
"borrowerType": "person"
},
"dueDateAndTime": "2026-08-18T09:00:00.000Z",
"createdAt": "2026-07-23T17:38:09.329Z",
"updatedAt": "2026-07-23T18:16:23.879Z",
"description": "Task Title",
"shouldSendAssignmentEmail": true,
"internalInstructions": "These are old instructions.",
"internalInstructionsSource": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "These are old instructions."
}
]
}
]
},
"externalInstructions": "Please upload the documents.",
"externalInstructionsSource": {
"content": [
{
"content": [
{
"text": "Please upload the documents.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"blockedApplicationStatusIds": [
"643d84aa445438452597f071"
],
"autoPassCondition": {
"formula": "verified == true",
"formulaCompilation": {
"ast": "{\"a\":4,\"h\":\"==\",\"c\":{\"a\":0,\"d\":\"verified\"},\"b\":{\"a\":6,\"d\":true},\"minified\":true}",
"version": 1,
"astCompressed": false,
"customInputNames": [
"verified"
],
"systemInputNames": []
}
},
"sendExternalAssignmentEmail": true,
"testing": true,
"variables": [],
"organizationId": "6329ba6f567430aba71c2a8e",
"updatedById": "64e5cd64078c3784h5ff87105",
"metadata": {},
"templateId": "4673513dee1916bc0dc84003",
"assigneeType": "borrower",
"dueDate": "08/18/2026",
"application": {
"id": "69ef496e434190a2740a5f0",
"displayId": "100101",
"borrower": {
"id": "642ab3b067rhcca2f040718f",
"type": "person"
},
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe"
},
"teamMembers": [
"64e5cd64078c30e40ff87105"
]
},
"blockedStatuses": [
{
"id": "643d86743de828452597f070",
"name": "Approved"
}
],
"assignedBorrower": {
"id": "64256730f08bcca2f040718f",
"type": "person",
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe",
"borrower_email": "[email protected]"
}
},
"createdBy": null,
"updatedBy": {
"id": "64e5cd64078c7845f87105",
"email": "[email protected]",
"color": "#0EB0CE",
"firstName": "Nick",
"lastName": "Brown"
}
},
"object": {
"id": "6a624567e0397f249a2d3b1a",
"title": "Task Title",
"status": "Not Done",
"productId": "643d45rt4de828452597f064",
"applicationId": "69ef45675e26190a2740a5f0",
"applicationDisplayId": "100101",
"labelIds": [
"69a9be54543fa1757634cba1"
],
"assignedTeamMemberIds": [
"64e5cd64532c30e40ff87105"
],
"version": 2,
"externalAssignee": {
"id": "642ab3b5432bcca2f040718f",
"assigneeType": "borrower",
"name": "John Doe",
"borrowerType": "person"
},
"dueDateAndTime": "2026-08-18T09:00:00.000Z",
"createdAt": "2026-07-23T17:38:09.329Z",
"updatedAt": "2026-07-23T18:18:49.476Z",
"description": "Task Title",
"shouldSendAssignmentEmail": true,
"internalInstructions": "These are new instructions.",
"internalInstructionsSource": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "These are new instructions."
}
]
}
]
},
"externalInstructions": "Please upload the documents.",
"externalInstructionsSource": {
"content": [
{
"content": [
{
"text": "Please upload the documents.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"blockedApplicationStatusIds": [
"643d84aa4de467352597f071"
],
"autoPassCondition": {
"formula": "verified == true",
"formulaCompilation": {
"ast": "{\"a\":4,\"h\":\"==\",\"c\":{\"a\":0,\"d\":\"verified\"},\"b\":{\"a\":6,\"d\":true},\"minified\":true}",
"version": 1,
"astCompressed": false,
"customInputNames": [
"verified"
],
"systemInputNames": []
}
},
"sendExternalAssignmentEmail": true,
"testing": true,
"variables": [],
"organizationId": "63297865f100090aba71c2a8e",
"updatedById": "64e5cd64078c8764ff87105",
"metadata": {},
"templateId": "6a6754dee1916bc0dc84003",
"assigneeType": "borrower",
"dueDate": "08/18/2026",
"application": {
"id": "69ef496a786590a2740a5f0",
"displayId": "100101",
"borrower": {
"id": "642ab3b07864cca2f040718f",
"type": "person"
},
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe"
},
"teamMembers": [
"64e5cd64078c30e67537105"
]
},
"blockedStatuses": [
{
"id": "643d84aa4de786432597f070",
"name": "Approved"
}
],
"assignedBorrower": {
"id": "642ab3b0f78463a2f040718f",
"type": "person",
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe",
"borrower_email": "[email protected]"
}
},
"createdBy": null,
"updatedBy": {
"id": "64e5cd64067430e40ff87105",
"email": "[email protected]",
"color": "#0EB0CE",
"firstName": "Nick",
"lastName": "Brown"
}
}
}Task Deleted
The "task.deleted" event occurs when a task is deleted, either manually on the platform or via APIs. The event data has the following structure:
{
"object": {
"id": "6a625181e0765349a2d3b1a",
"title": "Task Title",
"status": "Not Done",
"productId": "643d84aa78658452597f064",
"applicationId": "69ef496a5e78650a2740a5f0",
"applicationDisplayId": "100101",
"labelIds": [
"69a9be5b429f7657634cba1"
],
"assignedTeamMemberIds": [
"64e5cd68758c30e40ff87105"
],
"version": 2,
"externalAssignee": {
"id": "642ab3b0765cca2f040718f",
"assigneeType": "borrower",
"name": "John Doe",
"borrowerType": "person"
},
"dueDateAndTime": "2026-08-18T09:00:00.000Z",
"createdAt": "2026-07-23T17:38:09.329Z",
"updatedAt": "2026-07-23T18:18:49.476Z",
"description": "Task Title",
"shouldSendAssignmentEmail": true,
"internalInstructions": "Review the uploaded documents.",
"internalInstructionsSource": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Review the uploaded documents."
}
]
}
]
},
"externalInstructions": "Please uploaded the documents.",
"externalInstructionsSource": {
"content": [
{
"content": [
{
"text": "Please uploaded the documents.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"blockedApplicationStatusIds": [
"643d84aa4de6754352597f071"
],
"autoPassCondition": {
"formula": "verified == true",
"formulaCompilation": {
"ast": "{\"a\":4,\"h\":\"==\",\"c\":{\"a\":0,\"d\":\"verified\"},\"b\":{\"a\":6,\"d\":true},\"minified\":true}",
"version": 1,
"astCompressed": false,
"customInputNames": [
"verified"
],
"systemInputNames": []
}
},
"sendExternalAssignmentEmail": true,
"testing": true,
"variables": [],
"organizationId": "6329ba6f564730aba71c2a8e",
"updatedById": "64e5cd64043530e40ff87105",
"metadata": {},
"templateId": "6a62513dee453bc0dc84003",
"assigneeType": "borrower",
"dueDate": "08/18/2026",
"application": {
"id": "69ef496a5e65430a2740a5f0",
"displayId": "100101",
"borrower": {
"id": "642ab3b04564cca2f040718f",
"type": "person"
},
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe"
},
"teamMembers": [
"64e5cd64078c4567ff87105"
]
},
"blockedStatuses": [
{
"id": "643d84aa443258452597f070",
"name": "Approved"
}
],
"assignedBorrower": {
"id": "642ab3b0f08b4576040718f",
"type": "person",
"variables": {
"borrower_first_name": "John",
"borrower_last_name": "Doe",
"borrower_email": "[email protected]"
}
},
"createdBy": null,
"updatedBy": {
"id": "64e5cd64078c34567ff87105",
"email": "[email protected]",
"color": "#0EB0CE",
"firstName": "Nick",
"lastName": "Brown"
}
}
}