Procedures: Code blocks

Run Python code inside Procedures for exact, consistent results

Apr 2026available-to-all
Procedures: Code blocks
Procedures can now execute Python code blocks for calculations, date math, data transformations, and conditional checks that need to be deterministic.
Python in Procedures: Create Python code blocks, test them independently, and call them from any instruction step for precise, repeatable logic when accuracy matters.Deterministic results: Calculations, date comparisons, and data transformations produce consistent outputs every time, with no variability in the parts of your Procedure that need to be exact.Precision where it matters most: Combine natural language instructions with code blocks to handle complex workflows, using each approach where it performs best.