Integrations
LoginSign Up

Logic

This family groups a set of actions related to custom Logic, build forms with different paths and behaviors based on user response or backend checks.

Go to the next form step

This action finalizes the flow. Actions placed after this one will not be executed.

Allows the user to continue to the next form step, if there are no more steps, it will submit the form inhering the success message or redirect URL of your form settings.

This action is only available in validation flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.

Jump to a form step

This action finalizes the flow. Actions placed after this one will not be executed.

Modifies the predetermined form navigation, by jumping to a determined form step, skipping any form steps in between.

This action is only available in validation flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Form (required) The target form, to which the next step will jump.
Step (required) The target step, to which the next step will jump.

Submit the form

This action finalizes the flow. Actions placed after this one will not be executed.

Finalizes all the form logic by submitting the form.

This action is only available in validation flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Success message A success message that will be displayed to the user once the form is submitted.

Show error message

This action finalizes the flow. Actions placed after this one will not be executed.

Displays a custom error message to the user.

This action is only available in validation flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Error message An error message that will be displayed to the user.

Store state variable

Stores variables in a private state that will be available in your form and across its flows.

You can reference these state variables using {{state.variable_name}} syntax.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Data fields The variables you want to store in a private state. Use the left field to name the variable key, and the right field to set its value.

Set cookies

Defines cookies or inherits them from previous actions, in order to automatically set them in the user’s browser. This is especially useful for authentication or tracking purposes. 

This action is only available in validation flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Name (required) The name for the cookie.
Value (required) The value of the cookie.
Duration (seconds) (required) The duration of the cookie in seconds.
Domain The domain where the cookie is set.
Inherit cookies Inherits the output cookies of a previous flow action.

Output object

Property Type Description
name String The given name of the cookie.
value String The given value of the cookie.
domain String The domain where the cookie is set.
secure Boolean The attribute of the cookie that returns true if it comes from a secure context (HTTPS) or false if not (HTTP).
maxAge Number The maximum duration of the cookie in seconds.
path String The URL path where the cookie was set.
sameSite String The value from the property SameSite of the cookie.

Output object example

{
  "cookies": [
    {
      "name": "wordpress_logged_in_48710e2158d9b8fae9f226f79fc0b3d3",
      "value": "johndoe@email.com|1589461058|TPQVLecUmmdylr7rEzPTHWUhF7PVz6VyL5Gzgs93LE0|2f116f274e31be7ff86fa1ee977ea4ad84af6a8dfdeab168911d10ac69822552",
      "domain": "arengu.com",
      "secure": true,
      "maxAge": 7200,
      "path": "/",
      "sameSite": "LAX"
    }
  ]
}

If/then condition

Adds a conditional action with different branches in order to trigger different actions accordingly.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Condition Customizable conditional action that triggers two different branches depending on its result. AND or OR joints can be used to nest different conditions.

Output object

Property Type Description
result Boolean Returns true or false depending on whether or not the conditions are met.

Output object example

{
  "result": true
}

Input value mapping

Maps an input variable to an output based on its values.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Input value (required) The input variable.
Mapping table Links the inputs with the outputs. Use the left field to enter the input and the right field to select the output.
Default output value Sets a default output value. It will be shown when no output value is set in the mapping table.

Output object

Property Type Description
result String Returns the value mapped from an input.

Output object example

{
	"result": "Please enter a valid email address."
}

Delay

Delays the execution of the next flow action by a specific amount of time.

This action is only available in integration flows.

Input settings

Parameter Description
ID (required) Action ID. It is used to reference the output values of the action.
Alias Short description to be displayed in the action.
Unit (required) The unit of time:
  • Days
  • Hours
  • Minutes
  • Seconds
Value (required) The value of time.
Table of contents

Logic guides & tutorials

Discover our step-by-step guides and tutorials to learn using Arengu with Logic.

No items found.