Configuring Workflow Start/Stop Conditions

In addition to settings you can apply for your workflow blocks, you can set up start/stop configurations for your workflow.

To open the Start/Stop configuration menu:

  1. In your account, go to Automation → Workflows and select the type of workflows in the left-hand side menu:
  • All workflows
  • Active
  • Not active
All workflows
  1. Click the launch conditions of the required workflow.
Launch conditions

The Start/stop configuration menu opens, where you can configure the start/stop conditions for a workflow.

Setting Up Start Configuration

  1. Enable the Start Configuration slide button.

  2. Select one of the following conditions:

  • Event-based
  • Regular
  • On contact field change
  1. Select the settings specific to the selected condition, as described below, then click Apply.
Start configuration

Selecting Event-based settings

The event-based settings in the start configuration allow you to start the workflow upon the occurrence of a specified event.

When you select Event-based, make the following settings in the workflow start configuration:

  • Event
  • Process unique events

Selecting event

Select an event to start a workflow.

Event-based settings

The workflow will start when the selected event occurs.

Selecting Process unique events

The process-unique events define whether to:

  • Repeat the workflow every time when an event occurs.
  • Stop the workflow after the selected event occurs once.
  • Run the workflow only once during the specified time, no matter how many times the specified event occurs during that time.

To select the required condition, select the radio button beside Process unique events.

If you select the no more than condition, enter the value in the field and select its definition from the dropdown list.

Workflow condition

Selecting Regular settings

When you select Regular, you can choose from the following settings in the workflow start configuration:

  • Segment. It allows you to select a segment of contacts.
  • Start. This setting defines the workflow start date.
  • Start schedule. This setting defines the frequency of a workflow.
  • Allowed start days. This setting allows you to set the specific days of a week for running a workflow.
  • Start time. This setting allows you to run the workflow for 1 hour within the specified period of time.
  • End. This setting allows you to set the workflow end date.
  • Process unique events. See Selecting Process Unique Events.
Regular settings

Selecting On contact field change settings

When you select the On contact field change option, the workflow starts every time when the selected field changes for a selected contact.

The workflow starts when the contact field changes as the result of the contact importing or using the following API methods:

Setting Up Stop Configuration

To set up stop configuration for a workflow:

  1. Enable Stop Configuration slide button.

  2. Select one of the following conditions:

  • Event-based
  • Included in a segment
  • Order-based
  1. Select the settings specific to the selected condition, as described below, then click Apply.

Selecting Event-based settings

The event-based condition stops the workflow when the selected event occurs (or happened before the workflow was started).

To configure the stop on the event option:

  • select event,
  • specify the event unique key,
  • if you want to check events that occurred before the workflow was started, specify the registration period.
Stop configurations

Selecting Included in a segment settings

The Included in a segment condition stops the workflow when the contact is included in a specified segment.

To configure the Included in a segment options:

  1. Expand the dropdown list and select the segment.
  2. Enter either of the following values:
  • Phone
  • Email
  • Contact ID
Included in a segment condition

Selecting Order-based settings

The Order-based condition stops the workflow if an order-related event occurs before the workflow starts or during a specified time after the workflow starts.

The system searches first for the Contact ID. If it is not specified, it searches for externalCustomerId if this is present in the event parameters.

To configure the Order-based options, enter either of the following values:

  • Phone
  • Email
  • Contact ID

If you want to check orders that occurred before the workflow was started, specify the registration period.

Order-based settings