Run Python code from a function call

Recipe ToolsDeveloper ToolMarketing

What it does

When someone calls a function, Py Eval executes Python code and returns the result in real time. The output goes back to the caller so downstream steps can use it.

Who it's for

Engineering teams who need to run Python scripts as part of larger workflows without building custom infrastructure.

How teams use this

Transform data with Python logic

Call the function from a workflow to run Python code that converts or processes data, then use the result in downstream steps. The function handles the computation without extra tools.

Reuse Python code across workflows

Build the function once and call it from multiple workflows so teams do not duplicate Python logic. Each call runs the same code and returns consistent output.

Add error handling to the code

Include try-catch blocks or validation logic in the Python code so the function returns an error message when input is invalid. That makes the function more robust for production use.

How it works

  1. Receive a function call. A function is called with input parameters from another workflow or application, starting this automation.
  2. Execute the Python code. Py Eval runs the Python code convert-token to process the input and generate a result that gets returned to the caller.