In this blog article we will see how we can call Power Automate in Power Virtual Agent. In continuation of my previous blog where we have seen how we can create Chatbot using Power Virtual Agents. In my previous blog, we have considered a scenario where the users or prospects browsing the company’s website for a specific product and later the users or prospects was interested in the product. Further, the system would capture a few details like “First Name”, “Last Name” and “Mobile Number” in the Dynamics 365 Customer Engagement environment as a Lead record. We have passed the parameters from the Power Virtual Agents to Power Automate to capture the information in Dynamics 365 Customer Engagement environment.

Let us move ahead and see how we can call Power Automate in Power Virtual Agent to capture the information in Dynamics 365 Customer Engagement environment.

  1. Login into the Power Virtual Agents environment.
  2. Open the Topics which you are configuring for the Chatbot.
  3. Configured the steps where Chatbot asking a few details or a few parameters to be passed onto the Power Automate (in my case, Chatbot seeking the information or parameters like “First Name”, “Last Name” and “Mobile Number”) (refer Fig. 1).

(Fig. 1)

  1. Click on the “Call an Action” and then click on “Create a flow” (refer Fig. 2).

(Fig. 2)

  1. Configure the Power Automate (parameters which were passed through Power Virtual Agents) (refer Fig. 3).

(Fig. 3)

  1. Click on “Choose an action” and click on “Create a new record” (I choose “Create a new record” as I want to create a Lead record. You can choose as per your business need) (refer Fig. 4).

(Fig. 4)

  1. Configure the “Create a new record” step and click on Save (refer Fig. 5).

(Fig. 5)

Hope this help!