Skip to main content

Notifications

Calling Actions from Copilot Studio
Answered

Using VirtualAgent to trigger a Power Automate Workflow.

Posted on by

Hello, 

 

I recently created a Power Automate cloud flow to create ADO items dependent on the answers a user submits via Microsoft Form. 

 

Is there a way to have my Virtual Agent trigger this cloud flow, or grab the contents of the same form to prompt users to answer the same set of questions through chat and then trigger the existing flow?

 

Currently it's able to direct users externally to the form but would like to keep the interaction captive / native to the chat experience with the virtual agent.

Categories:
  • Verified answer
    Re: Using VirtualAgent to trigger a Power Automate Workflow.

    Hi @Burden323 ,

     

    I've made a test for your reference:

    1\My PVA

    vbofengmsft_0-1710310191547.png

    vbofengmsft_1-1710310202852.png

    Adaptive Card

    {
     "type": "AdaptiveCard",
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "version": "1.5",
     "body": [
     {
     "type": "Input.Text",
     "placeholder": "Q1 Answer",
     "id": "Q1",
     "label": "Q1",
     "isRequired": true,
     "errorMessage": "Q1 is required"
     },
     {
     "type": "Input.Text",
     "placeholder": "Q2 Answer",
     "id": "Q2",
     "label": "Q2",
     "isRequired": true,
     "errorMessage": "Q2 is required"
     }
     ],
     "actions": [
     {
     "type": "Action.Submit",
     "title": "Submit",
     "data": {
     "id": "Submit"
     }
     }
     ]
    }

    2\My flow

    vbofengmsft_2-1710310271188.png

    3\Result

    vbofengmsft_3-1710310292028.png

     

    vbofengmsft_4-1710310334690.png

     

    Best Regards,

    Bof

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics