Skip to main content
Best answer

Using Managed Users Email in Zap


  • How do I use an interface’s managed user email as a variable in a Zap?

    After the managed user adds a row to a table in an interface, I want to update a hidden field containing their email (used for a dynamic filter) so that other managed users won’t see the row they added. 

    I’m having trouble finding a way to use “current user’s email” as a variable in a zap that updates the hidden field in the table when they make a new row. 

    Feel free to ask clarifying questions if needed, Thank you!

Best answer by SamB

Hi there @jacob.mirth. Welcome to the Community! 😁

If you set the default value of the hidden field on the form to be {{currentUser.email}} that should populate the equivalent field in the table with the user’s email address:

818024769863d3a5d45bc8b3fc6d704c.png

Can you give that a try and let me know if that works as hoped?

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7597 replies
  • Answer
  • April 25, 2024

Hi there @jacob.mirth. Welcome to the Community! 😁

If you set the default value of the hidden field on the form to be {{currentUser.email}} that should populate the equivalent field in the table with the user’s email address:

818024769863d3a5d45bc8b3fc6d704c.png

Can you give that a try and let me know if that works as hoped?


  • Author
  • Beginner
  • 1 reply
  • April 25, 2024

Hey!

Thanks for the quick reply! So the way the user adds a row to the interface is through the “create new ___” button that comes with the table component by default, so there isn’t an actual form where I can edit these settings.

For now I’ll just remove that button and add a separate form component so I can use this fix. That should work just as well!

Thanks again


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7597 replies
  • April 26, 2024

Thanks for getting back to me, @jacob.mirth. Glad to hear adding a form component to the interface to allow you to set the default value will be a viable workaround for you here.

Seems like you’re all set for now but do let us know if you need any further help at all. In the meantime, happy Zapping! ⚡