cancel
Showing results for 
Search instead for 
Did you mean: 
N__A

Exploring AI Prompts in Power Automate

The Power Platform empowers makers with prebuilt AI prompts for generating AI-driven responses in Power Automate flows and Power Apps, which can be utilized in common business scenarios such as summarizing, classifying, extracting data, translating, assessing sentiment, or drafting a reply.

 

How is AI Builder prompts in cloud flows different from Copilot?

The AI Builder prompts lets you use the GPT-3.5 Turbo model powered by Azure OpenAI Service directly in your Power Automate flows, by adding a prompt as an action, provide the text you want to analyze, and the AI generates the desired output. To learn more about prebuilt prompts, go to Available prebuilt prompts

 

Copilot in cloud flows is designed to help you create and edit Power Automate flows just by describing them in everyday language, providing helpful guidance along the way.

 

Now let’s explore AI Builder prompts in cloud flows in action

  1. Sign in to Power Automate
  2. Select +Create > Instant cloud flow.

N__A_0-1720310924560.png

 

3. Name the flow, select “Manually trigger a flow”, and then click “Create”.

N__A_1-1720310924566.png

 

4. In the designer, select “Manually trigger a flow”. This will open the Parameters tab on the left. Then, select “+Add an input”

N__A_2-1720310924569.png

 

5. Select Text, and then enter a name.

N__A_3-1720310924573.png

 

6. In the designer, select “+Insert a new step” after Manually trigger a flow, and then select “Add an action”

N__A_4-1720310924574.png

 

7. On the left pane in the Search field, enter GPT and then select the action “Create text with GPT using a prompt”.

N__A_5-1720310924576.png

 

8. On the left pane in the Prompt, choose one of the available prebuilt prompts that is suitable for your business scenario, or select ‘+New custom prompt’ to create your own custom prompt.

 

N__A_6-1720310924578.png

9. In the Input Text field, select “Text” from the Dynamic content list to pass the input text from the manual trigger to the prompt.

 

N__A_7-1720310924581.png

 

10. The ‘Create text with GPT using a prompt’ action generates a flow variable called ‘Text,’ which represents the output of the prompt generated by the GPT model. This variable can be utilized in subsequent actions, such as sending a Teams message or an email that incorporates the ‘Text’ variable.

N__A_8-1720310924582.png

 

11. After saving the flow, you will receive a warning stating, “The ‘Create text with GPT using a prompt’ action doesn’t have a content approval action after it.” This warning suggests adding a ‘Start and wait for an approval of text’ action following the ‘Create text with GPT using a prompt’ action. This step ensures that a human review the GPT-generated output to verify its quality.

N__A_0-1720312162491.png

12. To test your flow, select “Test” in the top right toolbar, choose “Manually,” and then click “Test.”

N__A_10-1720310924586.png

 

13. A “Run Flow” dialog will display where you enter the input parameter and then click “Run Flow.”

N__A_11-1720310924588.png

 

14. After the flow runs successfully, the GPT-generated output will be generated and sent.

N__A_12-1720310924593.png

 

I hope you found this blog helpful. Please don’t hesitate to share any comments or questions you may have 😊

 

Comments
About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: https://ganeshsanapblogs.wordpress.com/about MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: https://linkedin.com/in/manueltgomes and twitter http://twitter.com/manueltgomes. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/