Returning one user from Bubble based on email address

I am using Outlook modules to retrieve a particular email that has been sent to a Outlook mailbox.

I want to use that email address to look up the user ID of an individual user in my Bubble application.

I am trying to do this using the HTTP module to query my Bubble app’s API.

I can query the API, but my API response gives me every single user from my app.

Can anyone advise how to do this properly? I have never worked with the Bubble API before. In fact, I have never worked with any API before…

Here is my API query:

https://myapp.com/version-test/api/1.1/obj/user?constraints=[{"key":"email","constraint_type":"equals","value":"{{3.sender.emailAddress.address}}"}]

and here is the error message

OK, I worked this out. I was trying to put the whole query into the URL in make.com

I didn’t realise I needed to put the constraint but into the “query string” section.

I got it to work with one result so I am very happy now!

Also I now just search all the fields for the relevant email address, as searching specifically the email field does not seem to work.

1 Like