Migration fields from rules to actions

Hi @ondrej1!

I understand you are migrating your Rules to Actions!

  1. You can add a secret to any action by following the steps under the “Add a Secret” section: Write Your First Action. Unlike Rules, you cannot add global variables that all Actions can access. You will need to add any variable an Action requires to each Action’s secrets.
  2. You can access the user_id in an Action with event.user.user_id. Please see this doc for more information on the event object in a post-login Action: Actions Triggers: post-login - Event Object
  3. To access the primary connection’s user_id, you can use event.user.identities[0].user_id.

Please let me know if you have any additional questions or run into any issues migrating to Actions!

Best,

Mary Beth