Can you search for a profile by Email and get just the Profile ID?
Quick scenario rundown: We have an Employee Off-boarding workflow I put together. Our process is to set the Requester as the person's manager. One of the fields in the form is for their Employee Email, which HR inputs when they fill out the form.
Here's what I'm trying to do. Since the Employee Email is in the ticket form, I need to set up a trigger to use the email address to search for the user profile and pull back the user's Profile ID. It then needs to put the Profile ID and copy it into another dedicate custom field I have. This field will be hidden and used to update user profile fields, such as which buildings they have access to, whether they're VIP, etc.
Any advice or direction would be extremely appreciated.
Thanks!
-
Hi Chris,
If you mean is it possible to do this only using triggers? the answer is no. You need a webhook to call Zendesk API to get the profile ID, but not through Zendesk webhooks. You need a middleware that can parse the response and get the profile ID from the response. Zendesk Integration Services provides a free set of tools to do so.
-
Thanks for the response Ahmed. It confirms my suspicion that I couldn't accomplish this with Zendesk webhook alone. I will check the link out and do some learning.
Please sign in to leave a comment.
2 Comments