I am trying to connect Google Dialogflow to Microsoft flow. To do this without coding, Microsoft flow has to respond to a JSON POST request from Dialogflow with the required data (in the same request).
With the help of Integromat this is possible; this tool gives the ability to split the receival of the POST request and the data in the response, so you can add the desired data in the response.
Anyone know if this is possible in flow? Or maybe with an other connector?
Thanks!
Solved! Go to Solution.
Hi @Elowy
You simple need to use the response action in end of your flow:
Best Regards,
Gustavo Moraes
Gustavo Moraes, o astronauta brasileiro do Flow!
Pff. Found the solution within another post. Somehow the URL is parsed not well when the call is performed from Dialogflow. When I change the encoded slashes with actual slashes, it works fine. So:
Change:
@Elowy ,
Yes you can send an http response back. Just use the HTTP action.
If this answers your question please give kudos and mark as the solution!
Thanks,
Dan
Hi @Elowy
You simple need to use the response action in end of your flow:
Best Regards,
Gustavo Moraes
Gustavo Moraes, o astronauta brasileiro do Flow!
Great Gustavo!
That was exactly what I needed! Thanks!
Unfortunately I still have a problem (other problem I guess):
I receive the following 401 message when I perform the JSON call from Dialogflow: "{"error":{"code":"AuthorizationFailed","message":"You do not have permissions to perform action 'run' on scope '/triggers/manual/paths/'. Verify you are making the request with the appropriate HTTP method. See http://aka.ms/logic-trigger for details."}}"
When I perform the call from Postman, I don't receive any error. Do you have a suggestion? Or shall I start a new thread?
Thanks again,
Elowy.
What http Method you are using, you need to use POST method, if you can print your call wiil be great!
Best Regards
Gustavo Moraes
Gustavo Moraes, o astronauta brasileiro do Flow!
Hi Gustavo,
Here is a screenshot of the Post when I send it to Webhook.site and the Flow I'm using. The header that comes default from Dialogflow is huge by the way. I cut some charset definitions away in the image.
Pff. Found the solution within another post. Somehow the URL is parsed not well when the call is performed from Dialogflow. When I change the encoded slashes with actual slashes, it works fine. So:
Change:
Hey, Thank you so mucchhh for this solution.
We're very frustated when the curl-php cant working but on postman it's work well.
And then your solution for change to "/triggers/manual/run" it's help us. Thanks.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
13 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
14 | |
12 | |
11 | |
10 |