We’ve moved!
Our Help Center has a new home and our URLs have changed. Please update your bookmark to this page before April 30, 2026
Ruby Connector
Execute custom Ruby code within runbook workflows for data transformation and custom logic.
🔌 Ruby Connector
This connector provides the ability to execute custom scripts for operations that cannot be achieved with standard actions.
⚡ Actions
Evaluate Ruby Code
Executes custom Ruby code with dynamically defined input and output schemas.
📥 Input Parameters
- proc (Ruby, required): The actual Ruby code to be executed.
- input_schema (Array[Schema Field], optional): Defines input fields available to the Ruby code.
- output_schema (Array[Schema Field], optional): Defines output fields the Ruby code will produce.
- input (Object, optional): Input values matching the defined
input_schema.
📤 Output
- results: An object containing output values matching the defined
output_schema.
📌 Use Cases
- Custom Data Transformations: Reformatting data between different connector types.
- Complex Business Logic: Implementing logic not supported by standard flow actions.
- Scripting Operations: General scripting needs within a runbook workflow.
⚠️ Notes
- Schema Definition: Input and output schemas are defined dynamically using the
schema_fieldtype. - Code Access: The Ruby code has access to an
inputhash and sets values on anoutputhash (e.g.,output[:greeting] = "Hello #{input[:name]}!").
Open Modal
