-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Description
Describe the bug
The zendesk-new-ticket-comment-added
webhook trigger is not properly parsing/returning the complete ticket comment data. The event emitted contains incomplete information compared to the raw webhook data received.
To Reproduce
Steps to reproduce the behavior:
- Set up a workflow using the
zendesk-new-ticket-comment-added
trigger - Add a comment to a Zendesk ticket to trigger the webhook
- Observe the event data emitted by the trigger
- Compare with the raw webhook data received
Expected behavior
The trigger should emit complete ticket comment data including:
- Correct
ticket_id
matching the actual ticket ID (e.g., "32" not "30064054559517") - Complete
value
field containing the full comment text - All other relevant fields properly parsed from the webhook payload
Current behavior
The trigger currently emits incomplete/incorrect data:
{
"id": 30064117810589,
"account_id": "[REDACTED]",
"parent_id": 30064117810461,
"ticket_id": 30064054559517,
"author_id": "[REDACTED]",
"created_at": "2025-09-03 12:56:17.000000000 +0000",
"via_id": 5,
"via_reference_id": null,
"is_public": false,
"type": "Comment",
"value": "\"Beste [NAME]",
"value_previous": null,
"value_reference": null,
"updated_at": "2025-09-03 12:56:17.000000000 +0000",
"notification_sent_at": null
}
Issues:
ticket_id
should be "32" (the actual ticket ID) not "30064054559517"value
is truncated to just"Beste [NAME]"
instead of the full comment text
Raw webhook data received
The webhook payload contains the correct information in the body.ticketId
field and full comment data in body.ticketComments
:
{
"body": {
"ticketId": "32",
"ticketComments": "[#<Comment id: 30064117810589, account_id: [REDACTED], parent_id: 30064117810461, ticket_id: 30064054559517, author_id: [REDACTED], created_at: \"2025-09-03 12:56:17.000000000 +0000\", via_id: 5, via_reference_id: nil, is_public: false, type: \"Comment\", value: \"Beste [NAME],\\n\\nBedankt voor je bericht en je geduld....\", value_previous: nil, value_reference: nil, updated_at: \"2025-09-03 12:56:17.000000000 +0000\", notification_sent_at: nil>, ...]"
}
}
Additional context
- The trigger appears to be parsing some internal Zendesk ID instead of the user-facing ticket ID
- Comment text is being truncated instead of returning the complete value
- This affects workflows that need to process complete ticket comment data
- The full comment data is available in the webhook payload but not properly extracted
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done