Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Get Zendesk User ID based on Dynamics CRM name/email in order to set correct ticket requester



We have a flow from a Dynamics CRM opportunity to creating a new Zendesk ticket.


What I want to achieve is that the owner of the opportunity becomes the requester of the ticket. I am unable to query the Zendesk user ID (which I need to set the requester_id) using the Zendesk Get Item action. 


The corresponding part of the flow:


From Dynamics I can get the owner's first name, last name or email address in order to lookup the user in Zendesk.


I tried entering stuff at "Item key" like "Primary Email", email="Primary Email", {Primary Email} etc. where Primary Email is a Dynamic Dynamics CRM field but that always returns a error like:

Invalid Mashup Expression using supplied values.
 inner exception: We couldn't convert to Number.
 clientRequestId: fc3a2fd1-970d-490e-92de-2dc6994ad8e1


Is my syntax wrong? What should I enter at "Item key" in order to get an Zendesk user ID with any of the info I have available in Dynamics CRM (name, email)?


The flow fully works when I enter e.g. "1" as requester_id, but that sets the connector account as ticket requester...

Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,828)