Task Comment Webhook | WeGoDoo Help

Task Comment Event

The Task Comment event is triggered whenever a new comment is added to a task in the WeGoDoo application. When this event occurs, a webhook will send the following JSON payload to the configured endpoint:


JSON Payload Example

Notes{
"event_type": "new_task_comment",
"timestamp": "2024-11-27T12:11:11",
"data": {
"task_id": "987654",
"list_id": "123456",
"list_name": "Team Project Tasks",
"task_name": "Prepare Monthly Report",
"task_url": "https://app.wegodoo.com/Home/Index?taskid=Ij90YXNraWQ9ODcxNDYmbGlzdGlkPTE5MTE4Ig==",
"comment_id": "789123",
"comment_content": "Please include the latest sales data in the report.",
"commented_by": {
"user_id": "jane.doe@example.com",
"username": "Jane Doe"
},
"note": "This task is a priority for management review.",
"due_date": "2024-12-01T18:00:00Z",
"mark_as_important": true,
"created_by": {
"user_id": "john.doe@example.com",
"username": "John Doe"
},
"assigned_to": {
"user_id": "mike.smith@example.com",
"username": "Mike Smith"
},
"verify_by": {
"user_id": "susan.lee@example.com",
"username": "Susan Lee"
}
}
}

Field Descriptions

  • event_type: The type of event that triggered the webhook (new_task_comment in this case).
  • timestamp: The time the event occurred in ISO 8601 format.
  • data: Contains detailed information about the task and the comment:
    • task_id: Unique identifier of the task.
    • list_id: Unique identifier of the list containing the task.
    • list_name: Name of the list containing the task.
    • task_name: Name of the task that received the comment.
    • task_url: A clickable URL or link to the task's detailed view
    • comment_id: Unique identifier of the comment.
    • comment_content: Content of the new comment.
    • commented_by: Information about the user who added the comment:
      • user_id: Email ID of the user who commented.
      • username: Name of the user who commented.
    • note: Additional notes or context for the task.
    • due_date: The due date for the task in ISO 8601 format.
    • mark_as_important: Boolean flag indicating if the task is marked as important.
    • created_by: Information about the user who originally created the task:
      • user_id: Email ID of the task creator.
      • username: Name of the task creator.
    • assigned_to: Information about the user to whom the task is currently assigned:
      • user_id: Email ID of the assigned user.
      • username: Name of the assigned user.
    • verify_by: Information about the user responsible for verifying the task:
      • user_id: Email ID of the verifier.
      • username: Name of the verifier.