web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using ChatGPT on Micro...
Power Automate
Answered

Using ChatGPT on Microsoft teams[UPDATED VERSION]

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to connect ChatGPT to Microsoft Teams using Power Automate. I've been following some online videos, but they all seem to be a few months old, dating back to about 5 months ago. I tried following the steps mentioned in the videos, but with the updated documentation from OpenAI, I encountered an error during the API call. I've included some screenshots below that show the steps I've taken and the error I'm encountering. Could someone please help me troubleshoot this issue and update me on any recent changes that might have been made to the Power Automate configuration for ChatGPT? Thank you in advance for your assistance!

sirmad95_0-1689603895316.pngsirmad95_1-1689603984765.png

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,499 on at

    Hey @Anonymous 

     

    If you look carefully in the body you have an extra single quote at the end.

    Sundeep_Malik_0-1689615393906.png

     

    Probably it gave an error because of that.

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    oops, yep, tht's indeed an error, but not the one blocking me, I've tried other tutorials too, but none of them seems to be able to work. There is something with the API, I think, because there are two cases: 1. It gives me an error. 2. it simply stays there without giving me any error, but without doing anything as if it's trying to connect to the API. This thing happens with every tutorial I try to follow

    sirmad95_0-1689664536147.pngsirmad95_1-1689664564880.png

    Here other screenshot to visualize the actual state

    sirmad95_0-1689666024215.pngsirmad95_1-1689666039696.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Finally after 21 min it's failed giving me this: 

    sirmad95_2-1689666306396.png

     

  • Sundeep_Malik Profile Picture
    6,499 on at

    @Anonymous 

     

    For free chat gpt gives limited amount of tokens. Did you use all?

     

    Or probably I think its because you passed your daily number of api calls.

     

    So what exactly is happening. The http request is failing and its going into retry. Not sure why it did 8 times, because normally its 3 times. Once check in every retry did you get any other error.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    every single one of those 8 are like this ,i think it's not possible for me to have passed my daily numer of calls

     

    sirmad95_1-1689666811569.png

    sirmad95_2-1689666844869.png

     

     

  • 3NIX Profile Picture
    4 on at

    Hey, Might be a shot in the dark. But did you set up your api to be billed?
    So you have gone to https://platform.openai.com/account/billing/overview

    and clicked [Set up Paid Account]?
    This is different from GPT4 even though i think you need the membership to be able to pay for extra API calls.

    Screenshot 2023-07-18 231947.jpg
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    nono i havben't done that, is it necessary?

  • 3NIX Profile Picture
    4 on at

    I believe so, If im incorrect I hope someone will correct me.

    I think they need a seperate payment method for API calls.

  • Verified answer
    fraenK Profile Picture
    2,125 on at

    You need to check if your credits are empty or expired. If yes, then you'll need to add a payment method.

     

    Also, try to use this connector, much easier:

    https://learn.microsoft.com/en-us/connectors/openaigpt4ip/

    and the gpt-3.5-turbo model instead of davinci

    https://platform.openai.com/docs/models/gpt-3-5

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard