Best answer

How to find the email of a user in Firebase

  • 10 February 2021
  • 2 replies
  • 193 views

Userlevel 1

Hello, I am trying to create a zap that will locate the users email using the id of the user contained in the record from the trigger.  I have added the index on rule to my database, although I do not think it is necessary to just get a simple value.  My data is like this:

 

Users

         (User id)

                    name: example

                    email: example

 

In the step in my zap, I have defined the path as "users" 

 

In the next feild, I have selected the user id as the inject from the trigger

 

Now all I need to do is enter the search value.  

 

Can someone please help me.

 

Thank you.

 

 

 

 

 

icon

Best answer by Wik 10 February 2021, 21:31

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +10

Hi @Wik 

Which apps are you connecting here?

If you could show us some screenshots of your setup, that would be useful.

Userlevel 1

I'm sorry, it was very late and I was tired...lol..

I actually solved the issue just by changing my app to send all the info I need to one collection, which I can also use to build an internal list and keep a log.  I am using firebase and Gmail.  It would be nice to know how to structure queries for future zaps though. My only issue was the search value field.  I couldn't find anything on the logic of that feild for firebase realtime queries, which to me seems like it should just be a reference, but anywho....