MC1561862 High

Run Python code as a workflow step

  • User
  • Admin
  • Copilot License

Summary AI-generated

Copilot Studio now supports Python code steps in workflows for advanced data transforms and API calls, reaching general availability on December 1, 2026.

Written by Azure OpenAI (gpt-4.1) from the text of the post below. It can be incomplete or wrong; the original post is authoritative.

  • MC1442981 Microsoft Copilot Studio - Invoke agents as workflow steps with the agent node

    Microsoft Copilot Studio - Invoke agents as workflow steps with the agent node Makers can now invoke agents as workflow steps using the agent node in Copilot Studio, enabling automated reasoning and streamlined end-to-end workflows. ...ability to invoke agents as workflow steps with the agent node in Microsoft Copilot StudioThe agent node,.

  • MC1557509 Copilot Studio - Service principal authentication for workflows

    Copilot Studio - Service principal authentication for workflows Service principal authentication for workflows in Copilot Studio allows workflow ownership via Entra app registration, enhancing compliance and lifecycle management. We are announcing service principal authentication for workflows in Copilot Studio. This feature will reach general.

  • MC1391903 Microsoft Power Automate - Run Python scripts using current Python versions in desktop flows

    Microsoft Power Automate - Run Python scripts using current Python versions in desktop flows Power Automate for desktop adds support for running Python scripts with current versions, enhancing compatibility and flexibility. Existing scripts remain supported. We are announcing the ability to run Python scripts using current Python versions in.

  • MC1165633 Microsoft Copilot Studio – Draft with Copilot

    Microsoft Copilot Studio – Draft with Copilot The Draft with Copilot feature in Copilot Studio lets users improve prompts and generate test data, available January 31, 2026. Update: Release of this feature has been updated. We are introducing the Draft with Copilot feature for Copilot Studio. This featur... The Draft with Copilot feature in.

  • MC1442234 Microsoft Copilot Studio - New workflows designer

    Microsoft Copilot Studio - New workflows designer Microsoft Copilot Studio introduces a visual designer for advanced agentic automations, enabling no-code workflows that use AI and connect to Microsoft 365 apps, generally available August 3, 2026. ... using the new workflows designer in Microsoft Copilot StudioMicrosoft Copilot Studio introduces.

  • MC1403393 Microsoft Copilot Studio - Evaluate AI action outcome in workflows

    Microsoft Copilot Studio - Evaluate AI action outcome in workflows Copilot Studio will allow evaluation of AI action outcomes for inline Agent actions in workflows, enabling improved troubleshooting and workflow reliability starting June 30, 2026. We are announcing the ability to evaluate AI action outcomes for the inline... Copilot Studio will.

Original post from Microsoft

We are announcing the ability to use the Code node to run Python as a step in a workflow for logic that expressions and connectors cannot handle in Copilot Studio. This feature will reach general availability on December 1, 2026.

How does this affect me?
Makers can add Python steps to workflows for data transforms, file parsing and conversion (e.g. PDF to text, CSV, or XML), and calls to APIs that don't have a connector. The code can be generated using natural language using AI, or Makers can write and edit the code by hand.

Code runs in a Microsoft-managed sandbox environment and consumes Copilot Credits. Code steps are unable to make outbound API calls.

What action do I need to take?
This message is for awareness, and no action is required.