I am trying to experiment with creating a Copilot within Copilot Studio that can create a FreshService support ticket based on the information provided by the user. The information from the Copilot would be passed a Connector Action using the FreshService Connector’s Create a ticket (V2) action. The most of the fields are easy enough to automatically fill in with variables gathered earlier or set them manually.
However, the snag I’ve hit is that the Create a ticket action has Requester Id as a mandatory number field. I imagine most (if not all) users who would want to create a support ticket via this way wouldn’t know their FreshService User-id. Is there a way I can use the information they provide (either full name or email?) to get their User-id from FreshService? Or is there an alternative I could use?
I’m not well versed enough to know how to totally do that yet. thanks, I will check it out. My issue is knowing how to get the email of the user and then run the API to translate it to the ID and pass that on!
Thank you. I’ve spent the last 2 hours trying to figure this out.
I can create a prompt to ask the user for their email, and store it. But how to query the API in Copilot, compare the email address and then pull the ID and store it… is not working well for me. I’m just not experienced enough.