Skip to main content

Global Variables

Global Variables in Boltic Workflow allow you to define and manage variables that can be accessed throughout the workflow. It reduces repetitive configuration and simplifies updates when a certain value is repeatedly used across different parts of your workflow.

Example

You have a workflow configured to capture user interactions (such as adding to cart, placing an order, logging in, and completing registration) and send this data to Facebook’s Conversion API (CAPI). Typically, this involves sending data multiple times to a URL endpoint like:

https://graph.facebook.com/v22.0/{Pixel_ID}/events

Instead of manually configuring this URL in every action, you can leverage the Global Variables in your workflow.

Steps

Define Global Variables

  1. Navigate to your workflow where you need to add a variable.
  2. Click Global Variables from the sidebar.

Global Variables

  1. Provide a clear and concise name. Here, we have used fb_capi_url as the name.
  2. Select data type.
  3. Set the value. Here, we have used https://graph.facebook.com/v22.0/{Pixel_ID}/events as a value.
https://graph.facebook.com/v22.0/{Pixel_ID}/events
  1. Click Save Global Variables.

Add Globale Variables

Use Global Variables

  1. Click on the node that requires the Facebook CAPI endpoint URL.
  2. Click to add the endpoint URL.
  3. Click global_variables and select fb_capi_url from the list.
  4. Save the node.

use-globale-variable

Updating the Global Variables

If the end-point URL changes in the future, simply modify the value of the fb_capi_url. Changes will propagate automatically to all workflow actions referencing these Global Variables.