Run Python code from function inputs

Recipe ToolsData ParserMarketingUtilitiesDeveloper Tool

What it does

When someone calls a Recipe Function with data inputs, this automation parses the payload and runs Python code with those values. The result is logged and returned to the caller.

Who it's for

Engineering teams who need to run Python logic triggered by function calls without managing separate infrastructure.

How teams use this

Process data transformations in real time

Call the function with raw data and get back transformed Python results instantly. Teams use this to validate or convert data without writing separate services.

Embed Python logic into larger workflows

Include this function in other automations so Python calculations run as a step. Other workflows can call it and use the output in downstream steps.

Validate inputs before processing

Add checks in the Python code to verify the integer and boolean values meet requirements before the automation continues. Invalid inputs can be rejected and logged.

How it works

  1. Receive the function call. A function call arrives with data containing example integer and boolean values that the automation will process and use in Python execution.
  2. Parse the data document. Json Parser extracts the input values from the payload so they can be used in the Python execution step that follows.
  3. Execute Python code with inputs. Py Eval runs Python code that processes the parsed values and generates a result based on the example integer and boolean logic.
  4. Return the result. Send the Python execution result back to the caller so the function completes with the computed output.