Action

JGR Experience Validation

Download .md

Validate if there still are seats available and if the fan has enough points to redeem.

Custom Laila action. Step 1 of the Premium Experience flow.

Identity

FieldValue
Master labelJGR Experience Validation
Local developer nameJGR_Experience_Validation
Invocation targetJGR_Experience_validation
Invocation target typeflow
Confirmation requiredfalse
Show in progress indicatorfalse

Purpose

Validate if there still are seats available and if the fan has enough points to redeem.

The flow uses the active MessagingSession ID to find the fan's current Premium Experience attendance record and apply two checks:

  1. Seats are still available on the target Premium Experience.
  2. The attendee has enough points to redeem.

Used by

Inputs

NameTypeRequiredUser inputPIIDescription
inputMessagingSessionIDtextYesNo (planner-piped from RoutableId context variable)NoMessaging Session Id.

Outputs

NameTypeDisplayableUsed by plannerDescription
outputAttendeeIdtextNoYesPremium Experience Attendee record Id — fed into JGR_Confirm_Experience_Attendee and JGR_Slack_Notification.
outputPremiumExperienceIdtextNoYesPremium Experience record Id — fed into JGR_Slack_Notification.
outputMessagetextYesYesResult message from the action (e.g. "You have enough points and X seats remain").

Dependencies

  • Flow JGR_Experience_validation deployed.
  • Custom objects backing the flow: Premium_Experience__c and Premium_Experience_Attendee__c (or whatever the flow queries — verify by reading the flow on port).
  • Read access on those objects for the bot user.

Reuse notes

The contract is "given a Messaging Session, find the right attendee + experience and validate". When porting to another org you must:

  1. Recreate the data model — Premium Experience and its Attendees, plus a link from MessagingSession to the active attendee row.
  2. Re-deploy the flow JGR_Experience_validation.
  3. Bind the bot's RoutableId context variable (already part of the standard bot template).

Used in 1 agent

Used by (1 subagent)