Activity types

Activity types define the logic that is executed by the Marketing Automation Engine when a contact is enrolled in an activity. All activities ultimately implement Sitecore.Xdb.MarketingAutomation.Core.Activity.IActivity.

Note

Built-in activity types inherit Sitecore.Marketing.Automation.Activity.BaseActivity or Sitecore.Marketing.Automation.Activity.BaseListener. There is no need to inherit these base classes when creating your own activity types.

Activity types can perform generic or specific functions. For example:

  • The default Sitecore.Marketing.Automation.Activity.Conditional activity type executes any condition and returns true or false.
  • The default Sitecore.Marketing.Automation.Activity.IncreaseEngagementValue increases a contact’s engagement value by a set amount.

There are a number of built-in activity types that cover most basic scenarios. You can create custom activity types and custom conditions. See also:

Activity type classification

The following table lists the default classifications for activity types and describes the type of functions they perform.

Classification Description
Marketing actions Performs an action such as subscribing a contact to a mailing list or updating the contact’s consent information. There are multiple marketing action activity types.
Listeners Waits a specified period of time for a contact to trigger a particular event or match a certain condition, before returning either true or false. There are multiple listener activity types.
Decision Point Evaluates a condition and returns true or false. By default, there is a single decision point activity type that covers most scenarios.
Campaign Entry Defines how a contact should be enrolled in a campaign (plan) - for example, by triggering a particular goal or outcome. By default, there is a single campaign entry activity type that covers most scenarios.
Other Activity types that perform generic tasks such as removing a contact from a campaign (plan).