Rules - EnrichedEvents

Hello would it be possible to resolve the UserID to the Username on the EnrichedEvent when configuring a Rule with Liquid?

All the Best

Matthias

The actor is the user id. It is either “subject:[USER_ID]” or “client:[CLIENT_ID]”

yes true, but the name of the actor or user would be great, so i can send a slack notification with that username. or is there a function to resolve the username?

There is also a user object, which is not serialized to JSON, but it is is accessible via Liquid and scripting:

event.user.name and event.user.email

1 Like

Thanks a Lot :slight_smile: