Funnel automation action that awards a recognition badge to the lead associated with the triggering event. Looks up the configured RecognitionTopic and RecognitionBadge by name, then awards the badge to the event's lead entity via RecognitionManager. Does nothing but log a warning if the lead, topic or badge cannot be resolved, or if the badge has already been awarded. Registered under the action type id "badgeAward" via BadgeAwardFunnelActionType.

Group: Journeys

Implements: FunnelAction, Serializable


Properties

PropertyReturnsDescription
badgeNameStringName of the badge to award, looked up within the configured topic.
fieldsList<Pair<ExtraField,Object>>Builds the configuration fields shown for this action in the automation editor, pairing each ExtraField definition with its current value.
funnelActionTypeIdStringThe fixed action type identifier for this action, used to look up its BadgeAwardFunnelActionType registration.
topicNameStringName of the RecognitionTopic that owns the badge to award.

Methods

getFunnelActionTypeId()

Returns: String

The fixed action type identifier for this action, used to look up its BadgeAwardFunnelActionType registration.

getFields()

Returns: List<Pair<ExtraField,Object>>

Builds the configuration fields shown for this action in the automation editor, pairing each ExtraField definition with its current value.

getBadgeName()

Returns: String

Name of the badge to award, looked up within the configured topic.

getTopicName()

Returns: String

Name of the RecognitionTopic that owns the badge to award.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.