Example: Run on Trigger

An online retailer has a cross-sell campaign that runs on a trigger, so that when a customer makes a purchase, it triggers cross-sell offers.

Specifically, when the customer makes a purchase:

  • The website runs the unica_actrg executable, passing the campaign code and the trigger name (web_purchase).
  • The Unica Campaign listener checks that the campaign is active and the trigger name exists, then runs the Schedule process, and the campaign flowchart is triggered.

    For more details about triggers, see the Unica Campaign Administrator's Guide.