I’m encountering the same issue. Here’s another request for the same feature: User object in actions is missing groups
It looks like groups and group_ids are still only available in Rules. The docs say:
Note: The
event.user
object will not include any top-level attributes added by an external identity provider.
Does that mean that groups and group_ids will never be coming to Actions and that we need to stick with Rules for this feature?