Triggered Action Type - Grant Dynamic Response

The Grant Dynamic Response Action type supports loyalty programs that want to grant Offers (and generate Offer Responses) by passing an Offer reference dynamically via an Activity. 

This Action requires the following Custom Parameters:

  • Content Type: To define the Content Type as "Offer," enter either of the following as a Custom Parameter:

    • In the Name field, enter "content_type." In the Value field, enter "offer." Check Static.

    • In the Name field, enter "content_type." In the Value field, enter a dynamic Groovy expression that evaluates to "offer." Uncheck Static

  • Content Name: To dynamically identify the Offer to issue, enter either of the following as a Custom Parameter:

    • If the Activity passes the Offer ID, in the Name field, enter "content_id." In the Value field, enter the getActivityValue(“<attribute_name>”) function that specifies the internal name of the Activity attribute as the argument. Uncheck Static.

    • If the Activity passes the Offer internal name, in the Name field, enter "content_name." In the Value field, enter the getActivityValue(“<attribute_name>”) function that specifies the internal name of the Activity attribute as the argument. Uncheck Static.

Enter any additional Custom Parameters as described below.

This Triggered Action type supports the use of custom parameters. To define a custom parameter, click Add within the Custom Parameters section, then enter the following information. 

  • Check Enabled.

  • Within the Name field, enter the name of the parameter.

  • Value: Enter either:

    • A static value to assign to every Member.

    • A Content Token or a Groovy expression to populate this parameter.

  • If you entered a static Value, check Static. Otherwise, uncheck Static.

Repeat this step as needed to define additional custom parameters. To remove a parameter, click the Delete icon next to it.