MC1561862 Run Python code as a workflow step
Primary service: M365 Copilot
ChangePilot summary
- Copilot Studio workflows will gain a new Code node option to run Python as a workflow step when expressions and connectors are insufficient.
- Makers can use Python for data transformation, file parsing/conversion, and calling APIs that do not have a connector.
- Code execution runs in a Microsoft-managed sandbox and consumes Copilot Credits; outbound API calls from code steps are not supported.
- This is an informational announcement for Copilot Studio makers and administrators; no configuration or remediation is required.
What it means for you
What admins need to do
No proactive IT action is required. If your organization uses Copilot Studio, you may want to brief makers on the new Python code step, update internal guidance for workflow design, and remind them that code runs in a Microsoft-managed sandbox and consumes Copilot Credits.
Impact on users
End users should not see a direct change unless they use apps or workflows built in Copilot Studio. In those cases, workflows may become more capable by handling data parsing, transforms, or API-related logic that previously required workarounds.
If you miss it
If missed, there is little operational risk because no admin action is required. The main downside is that makers may not take advantage of the new Python step, potentially limiting workflow automation options in Copilot Studio and delaying adoption of more efficient solutions.
- Admin controls available
- No
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
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.
Details
In weekly changes
Services
- M365 Copilot
- Power Platform
Category
- Stay informed
Microsoft tags
- New Feature