Events and Activities Summarization

Use Flow Builder to create a summary for Alumni Engagement Metrics that describes the participation of an alumnus in events and activities that are designed to foster connection and pride within the alumni community.

Required Editions
Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions with Education Cloud
User Permissions Needed  
To configure Alumni Engagement Metrics:

Education Cloud Full Access

AND

Einstein for Education Cloud Access

AND

Data Cloud Architect

AND

Prompt Template Manager

Create a template-triggered prompt flow and add and configure these elements. See Build a Flow.

Element

Configuration
Start
  1. Select Automatic Inputs as the input type.

  2. Select Engagement Visualization Template Capability as the prompt template type.

Get Records
  1. In Label, enter Get Contact, and then press Tab to automatically populate the API name.

  2. Select Salesforce Object as the data source.

  3. Select Contact as the object.

  4. Select All Conditions Are Met (AND) as the condition requirement.

  5. In Field, find and select Id.

  6. Select Equals as the operator.

  7. In Value, select $Input > ContextRecord > Contact ID.

  8. Select Only the first record.

  9. Select Automatically store all fields.

Add Prompt Instructions
  1. In Label, enter Add Contact Name to the Prompt, and then press Tab to automatically populate the API name.

  2. In Prompt Instructions, enter { "Name" : "{!Get_Contact.Name}", "Details": [.

Get Records
  1. In Label, enter Get Engagement Actions, and then press Tab to automatically populate the API name.

  2. Select Data Cloud Object as the data source.

  3. Select default as the data space.

  4. Select Engagement Action as the object.

  5. Enter 1 AND 2 AND 3 as the condition logic.

  6. Set these conditions.

    • ssot__IndividualId__c Equals $Input > ContextRecord > Contact ID

    • ssot__EngagementCategory__c Equals ExperientialCategory

    • ssot__EngagementDateTime__c Greater Than or Equal CurrentYear

  7. Select All Records.

  8. Select Automatically store all fields.

Loop
  1. In Label, enter Loop Through Engagement Actions, and then press Tab to automatically populate the API name.

  2. Select Get Engagement Actions as the collection variable.

  3. Select First item to last item as the direction.

Assignment
  1. In Label, enter Set Channel Engagement Ids, and then press Tab to automatically populate the API name.

  2. Select ChannelEngagementIds as the variable.

  3. Select Add as the operator.

  4. In Value, select Engagement Actions > Channel Engagement.

Get Records
  1. In Label, enter Get Channel Engagements, and then press Tab to automatically populate the API name.

  2. Select Data Cloud Object as the data source.

  3. Select Default as the data space.

  4. Select Channel Engagement as the object.

  5. Select All Conditions Are Met (AND) as the condition requirement.

  6. In Field, find and select ssot__Id__c.

  7. Select In as the operator.

  8. In Value, find and select ChannelEngagementIds.

  9. Select Not Sorted as the sort order.

  10. Select All Records.

  11. Select Automatically store all fields.

Loop
  1. In Label, enter Loop Through Engagement Action, and then press Tab to automatically populate the API name.

  2. Select Get Engagement Actions as the collection variable.

  3. Select First item to last item as the direction.

Loop
  1. In Label, enter Loop Through Channel Engagements, and then press Tab to automatically populate the API name.

  2. Select Get Channel Engagements as the collection variable.

  3. Select First item to last item as the direction.

Decision
  1. In Label, enter Match Channel Engagement, and then press Tab to automatically populate the API name.

  2. Select Match and enter these details.

    1. In Label and Outcome API name, enter Match.

    2. Select All Conditions Are Met (AND) as the outcome.

    3. Select Engagement Action > Channel Engagement as the resource.

    4. Select Equals as the operator.

    5. Select Channel Engagements > Channel Engagement Id as the value.

Add Prompt Instructions
  1. In Label, enter Add Channel Engagement to Prompt, and then press Tab to automatically populate the API name.

  2. In Prompt Instructions, enter { "Date" "{!Loop_through_Each_Engagement_Action.ssot__EngagementDateTime__c}", "Subject" : "{!Loop_through_Channel_Engagements.ssot__Subject__c}" },.

Add Prompt Instructions
  1. In Label, enter Add Ending Prompt, and then press Tab to automatically populate the API name.

  2. In Prompt Instructions, enter ]}..

Events and Activities Summarization flow