I am trying to use my Rovo agent in my automation in this current way:
1. When a custom field 'Organization' is updated, ask the agent to look up that Organization name against a confluence document to return the corresponding email address of the user assigned to that Organization
2. Use the {{agentResponse}} to assign that user into the 'Request Participants' field in the work item
This works about 50% of the time because sometimes the agent will respond with just the email address (great), and sometimes it will return a long sentence like "The email address associated with <organization> is abc@123.com", which of course is not ideal.
Are there any ideas on how to get rovo to return only the email address every time? I've tried many things in the prompt all in the same vein of "only return the email address, do not type anything else" to no success.