Skip to main content
Feedback

Configuring action logic step

Actions in Data Integration Logic lets you communicate with any REST service during the Logic’s run.  You can:

  • Run an action that returns variables passed to other Logic steps.
  • Run an action that uses variables created in other Logic steps as inputs.

For example, you can create a Logic River to monitor marketing campaigns and open a ZenDesk support ticket for any campaign that reaches the low performance limit. To do this, you can:

  • Add a step that queries all low-performance campaigns and stores the results in a variable.
  • Add an Action Logic step that sends a REST API request to open a ZenDesk ticket using that variable.

Adding an action step to a logic river

Procedure

  1. Navigate to the Data Integration console.
  2. Click the River tab from the left-hand menu.
  3. Click ADD River to choose Logic River or open an existing one.
  4. Select the Action from the step type.
  • If no Action exists, refer to guidelines for creating Action Rivers.
  1. When you select an Action, its connection is available in the connection input.
  • You can change the selected connection or create a new one.
  • When you do not select any connection, the Action uses its original connection.
  1. All associated input and output variables are available after selecting the Action.

Using action variables in a logic river

You can use variables between steps in a Logic River. For example, you can:

  • Add a step that calls an Action to connect to the Mixpanel API, returning an array of event data into a variable.
  • Add another Action step that uses this array and sends it to another action.

image.png

Passing variables to an action step

  • Select the required Action in the Logic step.
  • If the action has some variables (that are not private), all variables are visible under its Input variables.

If the variable has a value configured in the Action, it is available here. Insert any other value to pass to the action. It is also possible to pass in Logic variables (see example below).

For example, you can send a Logic Variable to an Action Step.

You can pass a Num logic variable to the action variable Page_val`. The other input variables are left blank, letting the Action run with its default values.

To learn more about creating and configuring Action Rivers, refer to the REST Action.

On this Page