Workflows & Actions

While Formulas define the logic for creating Segments (filtered lists of items + custom properties), Workflows define the automated Actions you want to perform on those segments and the Schedule (Frequency) on which those actions should run.

(Note: Currently, saving a Formula requires configuring an associated Workflow, even if the action is minor or the schedule is set to "Manual".)

Workflow Components

  1. Action: The specific task you want Merch Jar to perform on the items within your calculated Segment. The available actions depend on the Dataset selected as the source for your Formula.
  2. Schedule: How often Merch Jar should evaluate the Formula, generate the Segment, and attempt to run the configured Action on the resulting items.

Available Actions by Dataset

Here are the common actions available for primary datasets:

Campaigns Dataset

  • Change Daily Budget: Increase, decrease, or set the campaign's daily budget. Can use fixed values or values from Custom Properties defined in your formula (see Using Custom Properties in Actions).
  • Set State: Change the campaign status to enabled, paused, or archived.

Ad Groups Dataset

  • Change Default Bid: Increase, decrease, or set the ad group's default bid. Can use fixed values or Custom Properties.
  • Set State: Change the ad group state to enabled, paused, or archived.

Targeting Dataset

  • Change Bid: Increase, decrease, or set the bid for individual keywords or targets. Can use fixed values or Custom Properties.
  • Set State: Change the keyword/target state to enabled, paused, or archived.

Configuring Actions

When setting up an action like "Change Bid" or "Change Daily Budget":

  • You typically choose an operation (e.g., "Increase by (%)", "Decrease by ($)").
  • You enter a fixed value OR select the option to use a value "from variable" (referring to a Custom Property defined with let in your Formula). This enables dynamic actions based on your formula's calculations.

Schedule Options

You can choose how often the Workflow runs:

  • After every data sync: Runs multiple times per day after fresh data is available.
  • Once per day: Runs daily at a set time.
  • Manually: Only runs when you explicitly trigger it.
  • On Certain Days / Dates: Allows for more specific scheduling.

Connecting Formulas, Segments, and Workflows

The process flows like this:

  1. Formula: Defines the logic (filtering + custom properties).
  2. Segment: The result of applying the Formula to the source Dataset at a given time.
  3. Workflow (Action + Schedule): Executes the defined Action on the items currently in the Segment, according to the specified Schedule.

Understanding which actions are available for your chosen dataset is key to building effective automation.

PREVIOUS ARTICLE
NEXT ARTICLE