Hi @ondrej1!
I understand you are migrating your Rules to Actions!
- 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.
- You can access the
user_id
in an Action withevent.user.user_id
. Please see this doc for more information on theevent
object in a post-login Action: Actions Triggers: post-login - Event Object - To access the primary connection’s
user_id
, you can useevent.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