Hello,
I have a trigger for phrases such as "What's the weather"
I need to evaluate this trigger phrase to identify if it contains a City or Country entity
if it does then it should set the associated variables
if it doesn't then it will call an action to set a default location (meaning the user should never be asked explicitly for City and Country).
Has anyone found a way to do this?
Hi , @machoufleur
As searched , it seems has no way to extract entity from trigger. If we want to extract the entity we need to use the "Ask a question" action in my understanding.
And for the same case you can refer to :
Solved: How to detect entities from trigger phrases - Power Platform Community (microsoft.com)
Or you can also try to use the Dynamic Chaining feature if it can realize your need:
Copilot Studio Dynamic Chaining and Generative Actions in Power Virtual Agents (youtube.com)
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang