Transform scripting using AI-driven natural language

Important

This content is archived and is not being updated. For the latest documentation, go to Microsoft Power Automate documentation. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.

Important

Some of the functionality described in this release plan has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview Early access General availability
Admins, makers, marketers, or analysts, automatically Nov 12, 2023 - Sep 2024

Business value

You can enhance efficiency and save valuable time and resources by using natural language and AI to generate the code in the scripting actions in Power Automate for desktop. This added capability allows you to describe your desired scripts and have AI automatically generate the necessary code for you. By doing so, you can streamline your flows automation and reduce the time and the effort required to write code for simple tasks, such as running PowerShell, VB, CMD scripts or executing SQL statements.

Feature details

Natural language to Code is a new AI capability that we are adding in Power Automate for desktop that allows you to quickly generate code that is used in the scripting actions by just describing it. This feature is available in the "Run PowerShell," "Run VBScript," "Run DOS command," "Run Python," and "Run JavaScript" actions. You can simply describe what you want to achieve, and the tool will generate the script for you. This feature makes it easy for users who are not familiar with scripting languages to automate their tasks.

Geographic areas

This feature will be released into the following Microsoft Azure geographic area:

  • United States

See also

Natural language to script powered by copilot (preview) (docs)