Activity types

Version: 10.4

Activity types define the logic that the Marketing Automation Engine executes when it enrolls a contact 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 action

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.

Listener

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).

Do you have some feedback for us?

If you have suggestions for improving this article,