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

Community site session details

Session Id :
Power Automate - AI Builder
Unanswered

Question for everyone : How are you using Create Text GPT in AI Builder?

(2) ShareShare
ReportReport
Posted on by Moderator

Hi everyone, 👋 From the AI Builder product group we want to hear from you.

 

👉Have you tried Text Generation in AI Builder already? How are you using it? For what use case? Is there anything you would like to see added or changed to make it even better?

 

👉We are interested in knowing about your AI Builder experience. Please share your story!

 

Thank you!

Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    I have explored some of the possibilities of the AI options (getting data from receipts and sentiment analysis) within the Power Platform, but I don't think it is ready for real-world use yet. I have also used ChatGPT to get assistance with developing flows when I am struggling with an expression. It often makes up its own commands. For example, yesterday I wanted an expression to get the current week number and determine if it was an odd or even week. It kept providing false information. Attached is the transcript of the conversation I had with the AI.

     

    I was eventually able to figure out an expression by what the AI was trying to do (even if some of the commands were not in Power Automate), so it is helpful from that perspective. And when I showed it my result, it did a good job of breaking out the expression and explaining it.

     

    Additionally, I am in a heavily regulated industry. I am concerned about the data processed by the AI being used to train it further and then that information getting used outside of the company. I have read some articles in the news already where companies have used AI and it has caused issues. I've seen that Microsoft plans to release a private version of the AI tools, but initial reports say this will be 10 times more expensive than the current version. See Microsoft could offer private ChatGPT to businesses for “10 times” the normal cost | Ars Technica for more information.

     

    This is the expression I ended up with:

     

    if(equals(mod(add(div(dayOfYear(utcNow()),7),1),2),0),'Even','Odd')

     

     And this is the explanation of it from ChatGPT:

    Here's how the expression works:

    • dayOfYear(utcNow()): This function gets the current day of the year.

    • div(dayOfYear(utcNow()), 7): This expression divides the current day of the year by 7 to get the current week number.

    • add(div(dayOfYear(utcNow()), 7), 1): This expression adds 1 to the current week number to ensure that the first week of the year is considered week 1, not week 0.

    • mod(add(div(dayOfYear(utcNow()), 7), 1), 2): This expression calculates the remainder of dividing the adjusted week number by 2, which will be 0 for even weeks and 1 for odd weeks.

    • equals(mod(add(div(dayOfYear(utcNow()), 7), 1), 2),0): This expression uses the equals function to check if the remainder is equal to 0, which indicates an even week. If it is, the expression returns 'Even'. If it is not, the expression returns 'Odd'.

    Attached is the complete transcript with ChatGPT for creating the expression and at the end it tells why it didn't provide this expression to me in the first place.

     

    If I have any advice for people using AI to help with workflow development, be persistent with the AI even if at first it gives you erroneous information. Feed it the error messages and analyze what it is trying to do. Additionally, always feed it generic information and nothing personalized or with company data unless you really know how it is being used and shared by the AI.

  • JoeF-MSFT Profile Picture
    on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    Hi @David_MA - thank you for sharing this feedback! Nice use of ChatGPT to help you build Power Platform solutions.

     

    Keep the feedback coming!

  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?
    For the sentiment analysis, I tried putting text from different news articles through the AI engine. The results seemed mixed at best to me. A couple articles I thought were positive it ranked as negative, and a couple I thought were negative it rated neutral. I thought this might be useful for analyzing things such as social media posts so a marketing/public relations team could be notified of very negative or highly positive posts. I am not sure the AI is ready for this. I suppose this type of thing is highly subjective, so I don't know how reliably AI could handle something like this.
     
    For processing receipts, it did quite well on this but not good enough for production use I thought. It had a very hard time with figuring out the taxes as that was where the majority of errors were found. I thought this could be useful for setting up a hot folder where people could upload their receipts and the AI could process them. Attached is a PDF of the receipts I used (downloaded images from the Internet) and a spreadsheet where I wrote the processed data to. I highlighted fields in yellow where it got the result wrong.
     
    It only got one date wrong, and I think it was because the receipt had the date in the format of mm-dd-yyyy rather than the usual North America format of mm/dd/yyyy.
  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    Regarding using the feature to describe a flow and then let the AI build it, I have never had much luck with this feature. It may be good for basic workflows or for beginners, but I have found so far that what it creates requires too much rework than if I had just started it from scratch or it cannot create anything.

     

    For example, I asked it to build this: When a new MS Forms response is submitted, check to see if it is a request for deleting an account. If it is, then check to see if it is for deleting the account of the user who submitted the request, or another user as specified in the request. If it is for a user specified in the request, then check to make sure the account is valid in Azure AD. If the account cannot be found, Post and adaptive card in a Teams channel so the IT team can look up the account and provide the correct e-mail. Finally, send a confirmation e-mail to the requester. If the user account cannot be found for the other user, the confirmation email needs to tell the submitter to contact IT to review the request.

     

    It came back with this:

    David_MA_0-1684177418038.png

    All of the actions to do what I want exist, as I have built this flow, which is the following so far:

    flow-detailed.png

  • willtwilson Profile Picture
    4 on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    I'm keen to try it but sadly it doesn't appear to be available yet in our region. Is there a list of Preview regions? I couldn't easily find this information.

     

    Thanks.

     

  • plarrue Profile Picture
    Moderator on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    Hi @willtwilson ,

    Thanks for reaching out - At present, access requires a Power Platform environment located in the United States. However, we are actively striving to ensure accessibility for everyone.

     

    Regards.

  • takolota1 Profile Picture
    4,944 Moderator on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    GPT PDF & Image data extraction template: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-GPT/td-p/2201345

     

    It doesn’t require specifying certain document areas, wordings, styles, data, etc. It just OCRs the file, converts it to a replica text (txt), and passes it to a GPT prompt where you can ask GPT to do whatever you want with the document data.

     

    Even if you have some documents where the traditional models work better, you could set some criteria for your fields that may indicate a mistake & have it then run this method on it to double check if the custom model results agree with these results.

  • JoeF-MSFT Profile Picture
    on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    This is incredibly cool! Thank you for sharing @takolota! The spectrum of possibilities that GPT brings to the table is nothing short of spectacular!

  • ARB_wcc Profile Picture
    283 Super User 2024 Season 1 on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    Hi @JoeF-MSFT,

     

    Se below 2 prompts as an example, the use cases are endless but I find myself mostly using it to extract data or even for cognitive analysis like reading email body and evaluating which invoices have been approved or declined. The model is good but I think it can be improved, but that's probably because I'm used to GPT4 now!

     

    Prompt 01.pngPrompt 02.png

     

  • JoeF-MSFT Profile Picture
    on at
    Re: Question for everyone : How are you using OpenAI GPT in AI Builder?

    Thanks for sharing @ARB_wcc. Really powerful prompts! And love the use of emojis. 😍

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard