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 / How could my flow be i...
Power Automate
Answered

How could my flow be improved?

(1) ShareShare
ReportReport
Posted on by 9
I have created the following flow below. The first AI builder action (second action down) reads emails from  a shared inbox and decides using my custom prompt whether the email concerns a single manuscript with ethical issues. If it does, it outputs the word "single", if it does not it outputs an explanation of why it believes the email does not concern a single manuscript with ethical issues. The output text is used as a string variable.
 
If it outputs "single" it goes along the first flow on the left and creates a report from the email along with a teams message and excel log. If not, it goes to the default path and logs the email details and explanation.
 
I am very new to PowerAutomate and I now wonder whether I used the best AI model for the first AI builder (create text using GPT). Can I train this model somehow? I can't see any option to. Should I have used the prediction model instead? I can't figure out how to train my model and have relied on adjusting the prompt. Does anyone think I should use a different AI builder model and if so, where do I train it?
 
Thanks for any help! I'm really enjoying creating but just am a total newbie. 
 
Categories:
I have the same question (0)
  • Verified answer
    Ravi-Prajapati Profile Picture
    416 Moderator on at

    You're on the right track using AI Builder's "Create text with GPT" model for classification based on email content. However, this model is not trainable in the traditional sense—its behavior is refined through prompt engineering.

    If you need a model that can be trained and improved over time, you might consider using the Prediction model in AI Builder. This model allows you to label past emails manually, train a custom classifier, and improve accuracy with more data.

    To train an AI Builder Prediction model:

    1. Go to AI Builder in Power Automate or Power Apps.
    2. Create a new Prediction model and choose "Category classification."
    3. Upload past emails and label them as "single" or "not single."
    4. Train and publish the model.
    5. Use it in your flow by replacing the GPT action with "Predict" from AI Builder.

    If your use case involves structured data rather than free-form analysis, the Prediction model could offer better control.

  • JS-20021447-0 Profile Picture
    9 on at
    Thank you Ravi, I really appreciate you taking the time to help me out. I will train up the prediction model and see if I can get that to work a little more reliably. Thank you!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard