MC1561862 - Run Python code as a workflow step

Message Center

Discussionpowered by zap.ms

Published

Nov 20, 2026

Service

Microsoft Copilot (Power Platform)

Tag

New feature

More information

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.