I have a flow triggered whenever a new Zendesk ticket is created. I need to get the user of the assignee and requester to grab some more information from the user. However, when I try to do this using the Get Item or Get Items actions, I run into problems.
To get the user record of the assignee, I did this:
When the flow runs, it throws this error:
"message": "Could not retrieve more than 1000 records from the Zendesk Search API. For more details please see connector limitations.\r\n inner exception: Web.Contents failed to get contents from 'https://<myorg>.zendesk.com/api/v2/search.json?page=11&query=type%3Auser' (422): Unprocessable Entity\r\n inner exception: Web.Contents failed to get contents from 'https://<myorg>.zendesk.com/api/v2/search.json?page=11&query=type%3Auser' (422): Unprocessable Entity\r\nclientRequestId: 8b4fce15-136d-45ee-b0b1-08d0a1b11f0e",
I'm not trying to get 1000 records, just 1, so I don't understand the issue.
I then tried using the get items action with id = assignee_id as the filter. It runs this way but returns no users.
I did some digging, and it looks like assignee id and the other ids returned from the trigger are not the same as the ids used in the User table. The id returned from the trigger is 10 digits, and the one in the User table is 14 digits. I don't understand what the point of the returned assignee_id is if I can't actually use it to get the assignee. Why return it at all if it's unusable?
How can I get the users who are connected to the flow's trigger? Do I need a different id? If so, how do I get it? If not, how can I get the user with the id from the trigger?