Subagent (Topic)
Premium Experience
Download .mdValidate Premium Experience, confirm Attendee and solve inquiries.
Part of Fan_Agent. The Laila-specific differentiator — lets a fan redeem points for better seats and notifies operations on Slack. All three actions are custom (not from the Service Agent template).
Identity
| Field | Value |
|---|---|
| API name | Premium_Experience_16jKY000000CeFO |
| Local developer name | Premium_Experience |
| Master label | Premium Experience |
| Plugin type | Topic |
| Language | en_US |
| Can escalate | false |
Purpose
Validate Premium Experience, confirm Attendee and solve inquiries.
Trigger
The planner enters this topic when the fan asks to:
- "Upgrade my seats."
- "Redeem points for the premium experience."
- "Confirm my premium experience seat."
The topic relies on the active MessagingSession ID (the RoutableId context variable) to resolve which Premium Experience the fan is currently entitled to.
Instructions
instruction0_179KY0000000OtK— You are an AI Agent and your Job is to help customers redeem to better seats.
Actions (executed in this order)
| Order | Action | Confirmation | Mutates data | Doc |
|---|---|---|---|---|
| 1 | JGR_Experience_Validation_179KY0000000OtK | No | No (read) | JGR_Experience_Validation.md |
| 2 | JGR_Confirm_Experience_Attendee_179KY0000000OtK | No | Yes | JGR_Confirm_Experience_Attendee.md |
| 3 | JGR_Slack_Notification_179KY0000000OtK | No | Yes (sends Slack message) | JGR_Slack_Notification.md |
End-to-end flow
- Validate —
JGR_Experience_Validationis called with the currentMessagingSession.Id(RoutableId). The flow checks (a) seats still available and (b) the fan has enough points; it returns the matchingoutputAttendeeId,outputPremiumExperienceId, and a user-facingoutputMessage. - Confirm attendee —
JGR_Confirm_Experience_Attendeeis called withoutputAttendeeIdand returns anOutputConfirmationCodeto display to the fan. - Notify ops —
JGR_Slack_Notificationis called with bothoutputAttendeeIdandoutputPremiumExperienceIdto post a notification to the Premium Experience Slack channel.
Note: none of the three custom actions has
isConfirmationRequired = true. The flows themselves are responsible for any business validation (seat count, points balance, idempotency on duplicate confirms). When porting, audit the flows to keep that contract.
External dependencies
- Flow
JGR_Experience_validation— reads Premium Experience + Attendee data based on Messaging Session. - Flow
JGR_Confirm_Premium_Experience_Attendee— updates the attendee record to a confirmed state. - Flow
JGR_Send_Slack_Message_Premium_Experience— sends a Slack message via a Slack named credential / connected app. - Custom objects expected:
Premium_Experience__candPremium_Experience_Attendee__c(or whatever objects the flows query — verify on port).
Used in 1 agent
Actions in this subagent
JGR Experience Validation
Validate if there still are seats available and if the fan has enough points to redeem.
JGR Confirm Experience Attendee
Confirm that the fan has confirmed to redeem the offer to get better seats. The flow updates the Premium Experience Attendee record to a confirmed state and returns a transaction confirmation code.
JGR Slack Notification
Send a message to the Premium Experience Slack channel to notify the fan transaction.
