Skip to main content
Community site session details

Community site session details

Session Id : ed5dXhAnTPFTGsSXihhXrl
Power Apps - Building Power Apps
Answered

Integrating Power Virtual Agent and OpenAI no code path

Like (0) ShareShare
ReportReport
Posted on 29 May 2023 20:17:08 by

I'm setting up a simple POC to create a conversation that includes integration with OpenAI using PVA and power Automate Connector. I seem to have setup the flow correctly but when I enter the branch of the conversation that hits OpenAI, I get the following error. It seems so close. After the error I have seen a valid response come back, albeit seldom. It seems a timing issue somewhere?

 
Error Message: The flow ‘Power Virtual Agents Flow Template’ (‘038e1baa-56fe-ed11-8f6e-000d3a5b13bd’) failed to run with response code ‘BadRequest’, error code: TriggerInputSchemaMismatch. Error Code: FlowActionBadRequest Conversation Id: baadc424-90af-4d16-a5cf-fc47789b9164 Time (UTC): 2023-05-29T20:08:15.619Z
Categories:
  • Alfred_wang Profile Picture
    3 on 28 Jun 2023 at 03:18:19
    Re: Integrating Power Virtual Agent and OpenAI no code path

    I already integrated azure openai with Teams using PVA.And it works,we made this feature available to our business department .They are able to chat with it but ,sometims it also returns this error "flow action timedout conversation...." how could I resolve.

  • Community Power Platform Member Profile Picture
    on 30 May 2023 at 16:42:40
    Re: Integrating Power Virtual Agent and OpenAI no code path

    Yes it was. I formatted the key wrong. On to the next challenge 🙂

  • v-xiaochen-msft Profile Picture
    on 30 May 2023 at 02:57:34
    Re: Integrating Power Virtual Agent and OpenAI no code path

    Hi @Anonymous ,

     

    Glad to see you solved the issue.

    Is it an issue caused by API Key?

     

    Best Regards,

    Wearsky

  • Verified answer
    Community Power Platform Member Profile Picture
    on 30 May 2023 at 00:26:19
    Re: Integrating Power Virtual Agent and OpenAI no code path

    Problem solved!

  • Community Power Platform Member Profile Picture
    on 30 May 2023 at 00:14:13
    Re: Integrating Power Virtual Agent and OpenAI no code path

    Error Message: The flow with id 038e1baa-56fe-ed11-8f6e-000d3a5b13bd has timed out . Error Code: FlowActionTimedOut Conversation Id: 5e0327e8-d18a-45df-8d34-3414c863f4b7 Time (UTC): 2023-05-30T00:12:48.935Z

  • Community Power Platform Member Profile Picture
    on 30 May 2023 at 00:13:23
    Re: Integrating Power Virtual Agent and OpenAI no code path

    seems the issue was the api key to openai. that issue seems to be fixe, but now it just times out

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete