How can I get Zendesk ticket comments into a workflow?

I’m trying to set up a workflow that gets the comments from a Zendesk ticket (so basically the whole interaction between the agent and customer) and then uses an AI model to classify the ticket. However, when getting the ticket data I can get all the ticket fields, but can’t find the “comment” field. Am I missing something?

Thanks!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Welcome to the community @pjpamz !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


To get the comments of the ticket you need to query a different API endpoint. It looks like this has not been implemented in Zendesk node yet. However, you still should be able to get the comments with generic HTTP Request node.

Here’s Zendesk API Ticket Comments documentation, Ticket Comments.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.