When building a Trigger, you must define the Action that the platform takes when the trigger definition occurs. Loyalty supports a wide range of possible Actions. See below for more details on how to configure the different Action types.
The following Action Types relate to granting or using Rewards.
Action Type: Award Reward An "Award" refers to a Reward granted to a Member, without the Member having to deduct any of their points. An Award is essentially a "free" Reward (as opposed to a "Redemption," which is a Reward that a Member earns and purchases with the appropriate number of points). The "Award Reward" Action type allows you to award a Reward to a Member.
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types relate to managing a Member's Challenges.
Action Type: Grant Challenge To grant a Challenge to a Member:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types relate to managing a Member's Punch Cards.
Action Type: Create Punch To have the Trigger create a "punch" on a Member's Punch Card:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types relate to managing a Member's Badges.
Action Type: Expire Badge To expire a Member's Badge:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
Action Type: Grant Badge To grant a Badge to a Member:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types relate to managing a Member's Offers.
Action Type: Grant Offer To grant an Offer to a Member:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types relate to managing a Member's Gift Cards.
Action Type: Grant Gift Card To issue a Gift Card to a Member:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
The following Action types are used to integrate Marigold Loyalty with other systems.
Action Type: Send Marigold Engage+ Email To trigger the deployment of a Marigold Engage+ Email Campaign:
Hello, {(name_first)} {(name_last)} The values in these Merge Symbols must reference existing fields in the Campaign's source table in Messaging. Otherwise, the Messaging application will display an error message when you try to save or launch the Campaign. Then, within the "Name" field in the "Custom Parameters" section, you would need to enter those same values (without the brackets), as used in the Merge Symbols.
getMemberValue('<attribute_internal_name>') The value within the parentheses must contain the name of the corresponding Member Attribute within the Loyalty database. Be sure to use the Attribute's internal name, not its display name.
Add Content TokensAdd Content Tokens To add Content Tokens to a Trigger action:
|
Action Type: Send Webhook (Basic) To trigger the deployment of a webhook message to an external system:
Frequently, Webhook calls include a JSON object in the request body, consisting of one or more key /value pairs. When defining the Request Body parameters, the platform allows you to enter these key / value pairs directly into the user interface. Optionally, you can also enter the "raw" JSON object. If you don't submit the raw JSON object, the platform submits the request as form data. Please note that in order to include double-quotes in a JSON value, you must escape the double-quote with a backslash. For example: {"test": "<strong style=\"font-style: italic\">Hello World</strong>"}
|
Action Type: Send Webhook (Advanced) The Advanced version of the Send Webhook Action expands on the Basic version (described above) to provide support for entering URL and query parameters. To trigger the deployment of a webhook message to an external system:
Note: Query parameters must be included within the URL field above. The syntax is to use a percentage sign (%) followed by the "Name" in curly brackets. For example: https://api.eccmp.com/services2/api/SearchRecords?crm_id=%{id}
Frequently, Webhook calls include a JSON object in the request body, consisting of one or more key /value pairs. When defining the Request Body parameters, the platform allows you to enter these key / value pairs directly into the user interface. Optionally, you can also enter the "raw" JSON object. If you don't submit the raw JSON object, the platform submits the request as form data. Please note that in order to include double-quotes in a JSON value, you must escape the double-quote with a backslash. For example: {"test": "<strong style=\"font-style: italic\">Hello World</strong>"}
|
Action Type: Invoke Connector To invoke a Connector to an external system:
Note: Query parameters must be included within the URL field above. The syntax is to use a percentage sign (%) followed by the "Name" in curly brackets. For example: https://api.eccmp.com/services2/api/SearchRecords?crm_id=%{id}
Frequently, Webhook calls include a JSON object in the request body, consisting of one or more key /value pairs. When defining the Request Body parameters, the platform allows you to enter these key / value pairs directly into the user interface. Optionally, you can also enter the "raw" JSON object. If you don't submit the raw JSON object, the platform submits the request as form data. Please note that in order to include double-quotes in a JSON value, you must escape the double-quote with a backslash. For example: {"test": "<strong style=\"font-style: italic\">Hello World</strong>"}
|
Additional Action types are described below.
Action Type: Create Activity To have the Trigger create an Activity record for a Member:
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|
Action Type: Grant Dynamic Response To support loyalty programs that want to grant Offers by passing an Offer reference dynamically via an Activity, you can use the "Grant Dynamic Response" Action type. This Action supports generating an Offer Response.
Note: Future releases of Marigold Loyalty will support additional content types, such as Reward, Challenges, and Punch Cards.
Add Custom ParametersAdd Custom Parameters To add custom parameters to a Trigger action:
|