--- title: "Workflow configuration" slug: "workflow-configuration" description: "The user manual provides comprehensive guidance on using the Antavo Management UI for managing loyalty programs." updated: 2026-11-18T11:57:50Z published: 2026-11-18T11:57:50Z canonical: "docs.antavo.com/workflow-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.antavo.com/llms.txt > Use this file to discover all available pages before exploring further. # Workflow configuration ## Create workflows To create a new workflow, click the **Create new general workflow** or the **Create new campaign** button on the sidebar depending on the workflow [type](/v1/docs/basic-concepts) you plan to configure. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/workflow-creation-options-highlighted.png) Campaigns require [fundamental settings](/v1/docs/workflow-module-tabs#settings) that you need to define before creating the course(s) of workflow(s) within the newly added campaign. In contrast, the general workflow configuration, as there’s no campaign level, starts with defining the [Workflow settings](/v1/docs/workflow-configuration#configure-workflow-settings) right away. --- ## Configure campaign settings > [!NOTE] > Remember, while general workflows define one single workflow running long-term, campaigns can include multiple workflows running in parallel. - Enter the **name** of the campaign - Add a **description** to provide context - Set the **start date and end date** of the campaign in the UTC timezone All workflows under this campaign will inherit these dates. The help text displays the dates converted to the [workspace timezone](/v1/docs/general-settings#localization-information). - **Max bonus points** This value determines the maximum number of points awarded throughout the entire campaign. Enter a positive number or zero. Zero value overrides all campaign bonuses, resulting in no bonus points. All restrictions are removed if this field is left empty. - **Max customer points** This value sets the maximum number of points awarded to a single customer during the campaign. Enter a positive number or zero. Zero value means no bonus points will be awarded to individual customers. All restrictions are removed if this field is left empty. - **Limit** behavior Choose one of the following options to determine the campaign bonus behavior when an action exceeds the bonus limit: - Soft limit: All bonus points are assigned only for the **last** action below the limit, even if the limit is exceeded. - Dynamic limit: The number of bonus points assigned for the **last** action is dynamically reduced to ensure the limit is not exceeded. - Hard limit: No bonus points are assigned for an action that would exceed the limit. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/campaign_config.png) - **Campaign Loyalty Card** You might want to display your campaigns on your membership site to inform customers about the point-earning option. The information that you provide under this section is available through the `/customers/{customer_id}/activities` and `/customers/{customer_id}/activities/earn` endpoints of the Display API. - Card enabled: If unchecked, this campaign won’t be included in the API response. - Card title: Title displayed on the loyalty card. - Card description: Description shown on the loyalty card. - Card image: Image associated with the loyalty card - Segments: The campaign will only be included in the response if the customer belongs to any selected segments. Click **Create** to proceed with workflow configuration. You can revisit and **modify campaign settings** anytime by clicking the [**Edit button**](/v1/docs/workflow-module-tabs#campaign-actions) next to the campaign under the Campaigns tab. --- ## Configure workflow settings Workflow configuration starts with selecting the **workflow template**. Currently, only the blank template is available. Select the blank template and click **Next**. The next step is to configure three basic workflow settings: - **Name** the workflow - Set the **priority** of the workflow By setting a priority, you can define the order of workflow execution if more than one workflow is triggered at the same time, by the same event. The workflow with the highest priority will run first. If all workflows have the same priority, the order of workflow execution will depend on how background applications process them. - Check the **Prevent loop box** if you want to disable self-triggered workflows A loop evolves when the workflow uses the same type of event as the [trigger](/v1/docs/triggers) and an [action](/v1/docs/actions) it triggers. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/workflow_cofig.png) You can **modify these settings** anytime under the Settings tab of the workflow configuration page or on the workflow editor canvas. ## Workflow editor After workflow settings are defined, you are directed to the editor page of the workflow where you can create the branching logic of the workflow. This interface is called the **workflow canvas**. ### Operations on the workflow canvas #### Add workflow nodes Add workflow nodes to the canvas by dragging and dropping nodes from the right side of the page. You can use the **search field** at the top of the page to find an node more easily. Double-click on any of the nodes placed on the canvas to **edit the name** to help identify each node's purpose in the workflow. [screen-capture-20-1.5x.mp4](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/screen-capture-20-1.5x.mp4) #### Set up the branching logic Connect nodes to create the **branching logic** of the workflow by clicking on the inputs and outputs of nodes. [screen-capture (21).webm](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/screen-capture%20(21).webm) ### Configure node settings Configure the settings of workflow nodes by double-clicking them on the canvas. You can find all the configuration fields of every workflow node under the **Nodes** section of the user manual. **Date, variables, and volt expressions** can be used in free text configuration fields. The usage of these expressions is indicated by displaying the following icons at the end of the input field: - **V** for volt functions (eg. *volt: {{ customer.spendable % 10 == 0 }}* - if the number of spendable points is divisible by 10) - **D** for dates (eg. *Date: 2023-02-13* or Date: *+2 weeks*) - **E** for variable expressions (eg. *{customer.first_name}*) #### Transported attributes Data passed between connected workflow nodes is called transport data. It can include entities and workflow variables. The **Transport section** at the bottom of a node’s settings shows the entities and workflow variables available to that node. - **Entities**, such as the customer or the triggering event, provide attributes that later nodes can use. - **Workflow variables** are named values created with a [Variable assign](/engine/docs/flow-control#:fc2:-Variable-assign) workflow node. You can assign a fixed value or use data available to the node, such as an attribute from a transported entity. The variable is passed to later nodes on the same branch during the current workflow run. In free-text fields marked with **E** , use braces (`{}`) to reference an entity attribute or an assigned workflow variable. Type the entity name inside the braces to see its available attributes in a dropdown. > [!WARNING] > Challenge attributes are transported as `activity` attributes during data transmission. Please consider this when using them to ensure correct operation. #### Static and dynamic values Some action fields let you choose how the workflow selects a list, reward, challenge, contest, audience, or trusted site: - **Static value:** Set the target directly when configuring the action. For dropdown fields, the selected target stays the same each time the action runs. The [**Revoke from contest**](/engine/docs/actions#:revoke:-Revoke-from-contest) action node retains its free-text **Contest ID** field, including support for existing expressions. - **Dynamic value:** Choose a variable created by an earlier [**Variable assign**](/engine/docs/flow-control#:fc2:-Variable-assign) node. The action reads its value when it runs, so the target value can differ between workflow executions. **Static value** is selected by default. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/static_value(1).png) *Static value: The customer list is selected directly in the action settings.* ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/add_to_list(2).png) *Dynamic value: The action uses a workflow variable to select the customer list.* The following actions support dynamic values: | Action | The variable must contain | | --- | --- | | [Add to list](/engine/docs/actions#:a10:-Add-to-list) | The ID of the customer list to add the customer to | | [Remove from list](/engine/docs/actions#:a11:-Remove-from-list) | The ID of the customer list to remove the customer from | | [Webhook message](/engine/docs/actions#:a3:-Webhook-message) | The ID of the trusted site to use in the **Site** field | | [Complete challenge](/engine/docs/actions#:a13:-Complete-challenge) | The ID of the challenge to complete | | [Reward claim](/engine/docs/actions#:a18:-Reward-claim) | The ID of the reward to claim | | [Participate in contest](/engine/docs/actions#:a17:-Participate-in-contest) | The ID of the contest to enter | | [Revoke from contest](/engine/docs/actions#:revoke:-Revoke-from-contest) | The ID of the contest whose entries should be revoked | | [Add to audience](/engine/docs/actions#add-to-audience) | The Antavo ID of the audience to add the customer to | | [Remove from audience](/engine/docs/actions#remove-from-audience) | The Antavo ID of the audience to remove the customer from | To configure a dynamic target: - Add a [Variable assign](https://docs.antavo.com/docs/flow-control#variable-assign) node before the action on the branch leading to it. - Give the variable a name and define its value. It must contain the target's ID, rather than its display name or a complete entity record. - Open the action and select **Dynamic value** for the target field. Select the variable from the dropdown, or, for **Participate in contest** and **Revoke from contest**, enter its name in the free-text field. Where a dropdown is provided, it lists variables defined by **Variable assign** nodes earlier on the branch leading to the current node. For **Participate in contest** and **Revoke from contest**, enter the name of a variable defined earlier on that branch. A variable defined after the action or on a different branch is not available. The workflow validates dynamic variable references when it is saved. To use customer data, event data, or a value returned by **Entity lookup**, first assign the required value to a variable with **Variable assign**. Then select that variable in the action. See the [reward-to-list example](/engine/docs/flow-control#example-add-customers-to-different-lists-based-on-the-claimed-reward1). #### Copy and delete workflow nodes and links To delete a node, hover over it and click the **X** button that appears. To **delete** a connection, click on the link and then click the **X** button that appears. To clone the node, right-click on its icon and select **Copy**. Then, right-click on the canvas and select **Paste**. All the node settings will be copied to the new node. [screen-capture (22).webm](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/screen-capture%20(22).webm) ### Action bar Workflows have five action buttons above the canvas: ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/workflow-toolbar-highlighted.png) #### Import and export workflows **Importing and exporting** workflows is useful when you need to migrate workflows across different Management UI environments. Workflows are exported to your device in JSON file format, and the same file format is required for importing. #### Clone workflows The **Clone button** replicates the functionality of the [**Clone action button**](/v1/docs/workflow-module-tabs#workflow-actions) on the Campaigns of General workflows tab. You can also find the Clone button on the top right corner of the Workflow settings page. #### Revert an operation Click the arrow button to **undo all canvas operations** made since the last save. #### Save Don’t forget to save your workflow settings before leaving the page. Saving will fail if required node settings are missing, or the workflow nodes are not connected properly. A warning message will be displayed reminding you to complete the workflow configuration. The unconnected node(s) are indicated with a red highlight. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/workflow-saving-error.png) ### Activate and inactivate a workflow First, your workflow will be saved with *inactive* status. Click the **Set active** button on the top right corner of the page to activate the workflow**.** If you decide to inactivate a workflow, click the **Set inactive** button. Please confirm your action in the dialog that appears. > [!WARNING] > If the workflow contains a [**Wait node**](https://docs.antavo.com/docs/flow-control#wait), inactivating it will stop new runs, but workflows already waiting will still continue. [active_inactive.mp4](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/active_inactive.mp4) ### Edit a workflow You can return and change the workflow settings anytime through the **Edit** option under the hamburger menu of the workflow in the **Campaigns** or **General Workflows** tab. Use the search bar at the top of these pages to find a specific workflow to edit. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/edit_workflow.png) After making your changes, click the **Save** icon to apply them. > [!WARNING] > If the workflow contains a [**Wait node**](https://docs.antavo.com/docs/flow-control#wait), changes will only apply to new runs. Workflows already waiting at a Wait node will continue based on the version they started with. ### Archive a workflow You can **archive** inactive workflows by clicking the **Archive** button on the top right-hand side of the page. If the workflow is archived, you cannot retrieve it anymore. When a workflow is archived, its name gets updated so you can use it again. Archiving campaigns is not possible.