An Action state performs a task in a ZIS flow. For example, you can use an Action state to transform data in a flow or make a REST API call.

"TransformTicketIdToString": {  "Type": "Action",  "ActionName": "zis:common:transform:Jq",  "Parameters": {    "expr": " | tostring",    "data.$": "$.input"  },  "ResultPath": "$",  "Next": "NextState"}

Action types

The Action state supports two types of actions:

  • Built-in actions
  • Custom actions

Built-in actions are predefined requests for common tasks. For example, you can use a built-in action to load data from a ZIS config or transform data using jq. For more information, see ZIS built-in actions.

A custom action is a wrapper for an HTTP request. You can use a custom action to perform a task not covered by a built-in action. For example, you can make a request to a Zendesk API or a third-party service, such as Slack or Shopify. To use a custom action, you must define the action as a separate resource in the ZIS bundle. For more information, see ZIS custom actions.

Supported properties

In addition to common state properties, an Action state supports the following properties.

Name Type Mandatory Description
ActionName string true Name of the action. For built-in actions, the name is predefined. For custom actions, the name is based on the action definition
Parameters object false Parameters to pass to the action. For built-in actions, supported parameters are predefined. For custom actions, you define supported parameters in the action definition. Parameters values can be a mix of static JSON and JSONPath
Catch array of objects false Contains a fallback state to run if the Action state encounters a runtime error. See Flow states retry and error handling
TimeoutSeconds number false Maximum runtime for the state. If the state exceeds this limit, it returns a runtime error. Must be a positive, non-zero integer


  • A ZIS Action state doesn't support the Retry property from the Amazon States Language's Task state. Instead, ZIS uses a built-in retry logic for failed flows. Alternatively, you can use a Catch block to handle runtime errors in an Action state. See Flow states retry and error handling.