What is the function to return the email of the current logged in user?

Does this exist? I know there was an FR way back when.

Is {{user.email}} valid?

You do it with {PX_user_identifier}

Like so:

UserIdGif

I hope that helps!

3 Likes

Ah! THANKS.

So whether I need to chain or insert that info into a database or whatever, that works in the prompts?

Is there a version of that to get the user’s email in Action code?

Wow, I didn’t know that trick, really useful! Are there any other commands we should know or that are interesting?

1 Like

You can also do {PX_user_memories} to get all the user memories associated with the current user where available.

That’s it for now, but more coming. Rough documentation here.

1 Like