Share via


Transform scripting using AI-driven natural language

Enabled for Public preview Early access General availability
Admins, makers, marketers, or analysts, automatically Nov 12, 2023 - Apr 10, 2025

Business value

By using natural language and AI to generate code for scripting actions in Power Automate for desktop, you can enhance efficiency and save valuable time and resources. With this capability, you can describe your desired scripts, and AI automatically generates the necessary code. By streamlining your flows automation, you reduce the time and effort needed 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 in Power Automate for desktop that quickly generates code for scripting actions through a description. This capability is available in the Run PowerShell, Run VBScript, Run DOS command, Run Python, and Run JavaScript actions. Simply describe what you want to achieve, and the tool generates the script for you. With this feature, users who aren't familiar with scripting languages can easily automate their tasks.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Additional resources

Natural language to script powered by copilot (docs)