# Decision models

Decision models are scalable and reusable assets that streamline and centralize complex conditional business logic. They allow teams to improve consistency and reduce maintenance by building logic once and reusing it across multiple recipes and projects.

Each decision model includes the following components:

  • An input schema that defines the expected input fields.
  • An output schema that defines the values the model returns.
  • A decision table that provides a single-page view of the business rules.

Refer to the following sections for more information:

# Decision tables

Each row in a decision table defines a set of conditions and an output. When a recipe calls a decision model using the Decision Models by Workato connector, the model evaluates each row in the decision table sequentially, from top to bottom. If the input values meet every condition in the row, the evaluation stops and the model returns that row's Outcome values. You can configure a Default outcome to return for each output field if the input values don't match the conditions in any row.

Example decision table for routing marketing leadsExample decision table for routing marketing leads

# Limitations

Decision tables have the following limitations:

  • Decision tables support a maximum 2,000 rows, 50 input columns, and 50 output columns per table.
  • Each decision model supports a maximum of one decision table.

# Available operators

The operators available for a condition vary depending on the column's data type.

String

The following operators are available for the String data type:

  • Any
  • Contains
  • Does not contain
  • Starts with
  • Does not start with
  • Ends with
  • Does not end with
  • Equals
  • Does not equal
  • Is not empty
  • Is empty
Integer

The following operators are available for the Integer data type:

  • Any
  • Equals
  • Does not equal
  • Greater than
  • Greater than or equal to
  • Less than
  • Less than or equal to
  • Is not empty
  • Is empty
  • Is between
  • Is not between
Decimal

The following operators are available for the Decimal data type:

  • Any
  • Equals
  • Does not equal
  • Greater than
  • Greater than or equal to
  • Less than
  • Less than or equal to
  • Is not empty
  • Is empty
  • Is between
  • Is not between
Boolean

The following operators are available for the Boolean data type:

  • Any
  • Is true
  • Is false
Date

The following operators are available for the Date data type:

  • Any
  • Equals
  • Does not equal
  • Is before
  • Is after
  • Is on or before
  • Is on or after
  • Is not empty
  • Is empty
  • Is between
  • Is not between
Date time

The following operators are available for the Date time data type:

  • Any
  • Equals
  • Does not equal
  • Is before
  • Is after
  • Is on or before
  • Is on or after
  • Is not empty
  • Is empty
  • Is between
  • Is not between

# Decision Models by Workato connector

The Decision Models by Workato connector allows you to integrate decision models into your recipes.

# How to connect to Decision Models by Workato

No configuration is required to set up this connector.

# Make decision action

The Make decision action evaluates inputs using your selected decision model.

# Input

Input field Description
Model name Select the model to call.
Input values Provide values for the model's input fields.

# Output

Output field Description
Output Contains the outcome values defined in the first row that met all conditions.
Visited Contains information about the decision process such as the Input provided by the recipe and the decision model's ID.

# Role-based access control

You can configure the following decision model permissions using collaborator and project roles:

  • Full access

  • Grants all decision model permissions.

  • View

  • View decision models and decision tables.

  • Edit

  • Edit decision models and decision tables.

  • Create

  • Create decision models and decision tables.

  • Delete

  • Delete decision models and decision tables.

The following permissions are provided by Workato's default system roles:

# Create a decision model

Complete the following steps to create a decision model:

1

Create a new project or select an existing project.

2

Click Create.

3

Select Decision model. Select Decision modelSelect Decision model

4

Enter a Decision model name. Enter a Decision model nameEnter a Decision model name

5

Use the Location drop-down menu to select the project where you plan to store the decision model.

6

Click Start building. The decision model builder opens.

# Edit a decision model

You can access decision models from Assets > Decision models or from within a specific project.

Refer to the following guides to edit a decision model:

Create an input field

Complete the following steps to create an input field:

1

Select a decision model and click Edit model. Click Edit modelClick Edit model

2

Select the Input node you plan to configure.

3

Click + Add field if there are no existing fields. Otherwise, click + (Create field). Create a new fieldCreate a new field

4

Enter a Field name and Field label that identifies the field. New field configurationNew field configuration

5

Select the field's Data type.

6

Optional. Enter a Hint that explains the field.

7

Optional. Click the Set as required toggle to make the field mandatory.

8

Click Create field.

9

Click Save.

Create an output field

Complete the following steps to create an output field:

1

Select a decision model and click Edit model. Click Edit modelClick Edit model

2

Select the Output node you plan to configure.

3

Click + Add field if there are no existing fields. Otherwise, click + (Create field). Create a new fieldCreate a new field

4

Enter a Field name and Field label that identifies the field. New field configurationNew field configuration

5

Select the field's Data type.

6

Optional. Enter a Hint that explains the field.

7

Click Create field.

8

Click Save.

Remove a field

Complete the following steps to remove an input or output field:

1

Select a decision model and click Edit model. Click Edit modelClick Edit model

2

Select the node you plan to configure.

3

Hover over the field you plan to remove.

4

Click (Remove field). Remove fieldClick (Remove field)

5

Click Delete in the confirmation modal.

6

Click Save.

Configure a Decision Table node

Complete the following steps to configure a Decision Table node:

1

Select a decision model and click Edit model. Click Edit modelClick Edit model

2

Select the Decision Table node you plan to configure.

3

Optional. Edit the automatically generated table Name. Decision model node configurationDecision model node configuration

4

Optional. Enter a Description for the table.

5

Click Save to save your changes or click Configure table to open the decision table. The decision table must have at least one input and output field before you can open it.

Configure a decision table rule

Complete the following steps to configure a decision table rule:

1

Select a decision model and click Edit model. Click Edit modelClick Edit model

2

Select the Decision Table node you plan to configure. Decision model node configurationDecision model node configuration

3

Click Configure table to open the decision table. The decision table must have at least one input and output field before you can open it.

4

Create a new rule using one of the following methods:

  • Click +.
  • Press Shift and Enter.
  • Press Ctrl and click on a row's number, then click Insert rule above or Insert rule below.

Create a new ruleCreate a new rule

5

Optional. Enter a name for the rule in the Rule name column.

6

Complete the following steps to configure each cell in the Conditions section:

1

Select the cell you plan to configure.

2

Select an operator from the drop-down menu. Cells default to the any operator, which matches any inputs provided.

Select an operator from the drop-down menuSelect an operator from the drop-down menu

3

Enter a value to compare against the input using the operator.

7

Enter an output value for each cell in the Outcomes section.

8

Optional. Enter a Default outcome to return for each output field if no rules match the inputs provided.

Enter a Default outcome for each output fieldEnter a Default outcome for each output field


Last updated: 8/25/2025, 2:57:26 PM