Skip to main content
  • 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!

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?


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


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! ⚡️