Under what conditions is `event.transaction (optional)` part of the event?

Thank you for posting your question, @mherzig !
I appreciate you describing the border context and the steps you have already verified.

After investigating what’s available, I want to check with you if the following workaround will address your use case:

In your post-user-registration Action, you can initialize the Auth0’s Management API client and call the GET /api/v2/users/{id}/organizations endpoint to retrieve the organization the user registered.

Working with the Management API in Actions requires some steps on your side and these resources can be relevant for you:

There is a product request feature (on accessing the organization ID from the pre/post user registration flow) that you could upvote.

Please let me know if you are any other questions on this topic I could help with!