I am trying to obtain the email of a user to send them an email via SendGrid.
I have a KeyID in the URL (ID of the user) and I want to look in the database for that user - and detect the email address. Then, send the email using SendGrid API.
Note that the Sendgrid variable works with a normal email address - meaning that the issue is not in the API, it’s with the email variable call
Here’s an example:
In my page URL, I have this KeyID (unique for each product):
In my User database, I have this entry - which is the same number as the KeyID in the URL:
I would then like to search the correct user with the “Expert_id” in my database and send an email.
I have therefore:
I also tried with “each item’s email” instead of “first item’s email” but no luck.
I think type of expert_id field is not text, it is probably an Expert if you have this data type. It looks like ID in the database though. That’s why it doesn’t work maybe.
Thank you for your suggestion. That it’s great to know - however it wouldn’t work in this case as the “expert_id” field is not the same as UniqueID.
This is because I have 2x types of users:
Normal users (UniqueID)
Experts (UniqueID and expert_id, which is the UniqueID of the users)
Therefore if “expert_id” has a value, it means they are an exper
Also please note that the User expert_id = Expert UniqueID
You were right! It was the privacy rules that was an issue.
I am new to Bubble and didn’t this was a thing. Thank you for suggesting this - it now works perfectly.