Is it possible to have my power virtual agent search google for anything and return results? Like top 10 results?
Hi @VeeLearnMSFT . Did you successfully implement it?
I played with a short flow to do the search, but haven't tried getting the data out of the XML that was returned. I haven't seen a blog post or video on it by anyone else either. There are actions that will search Bing directly, but those require an account and an API key. I'm not sure if there is a charge for that. But that might return info in an easier to use format.
The other possibility is to use a POST to send a JSON request to the Google Search API. This will return results as JSON data. It might be easier to parse that. He;s a post explaining it. Google Search API Tutorial: Capture & Record Search Results (rapidapi.com)
Very interesting, have you seen an example of this anywhere so I can see the structure by any chance? I would be interested to see if I can get it to work for a personal "fun" challenge 🙂
It takes a bit of work, but yes its possible. The bot will call a flow which will send an http get to retrieve query information. For example something like 'https://www.google.com/search?q=Paul+Stork+MVP' That will return an XML document. You can then pull the information out of the XML and create a string with the markdown language to return to the bot. The bot can then display the information.
Romain The Low-Code...
76
Pablo Roldan
61
stampcoin
10