Sending confirmation emails with SendGrid

Hello. Sorry if this has been asked before but I have searched for solutions and cannot find any that work for me. I am trying to send a confirmation email in my app using a custom action (sending a sendgrid email). I have followed the setup from this tutorial Email verification with SendGrid and when I press test it works. I checked my email and the test email was there and worked the way I expected. But then I added the custom action to a button so that the email would send on the click of the button and it doesn’t work in preview. I have tried the preview through multiple accounts and none of them receive an email.

I have checked for line breaks or any typos in anything but I can’t find anything. I thought that if I had done anything wrong then the test email would not have come through.

Any suggestions would be so helpful :smiling_face:

Thanks for your response. I am using sendgrid but thought it was ok to just use it directly as the tutorial says. Do I need to use a third party platform like make.com to run the sendgrid action through or is it ok to use sendgrid directly?

Do I need a paid plan on make.com to do this? I am not sure how to add the variables so that the email automatically sends to the logged in user. I also don’t know how to link the make.com scenario back to the Adalo app. I tried linking the webhook with a sendgrid module but not sure how I can add the variables here:


In Adalo I can just put it straight into the JSON text

I also tried it with an email module but not sure if I have done it correctly.

Either way I’m not sure how to link it back to my app.

Thanks for this suggestion it is very generous.
Sorry but I think due to being in different countries this call would cost us both money.

Is there any way that you could record the process and send a video that I can follow? This is the next best solution I can think of.

Hey @Way_Forward did you have time to record the video? No rush if you didn’t :smiling_face:

Hi @esemv,

In simple cases Make isn’t needed.

The problem might be with quotations ( " ) in the email body text. Try removing them and see if things work.

You can also debug it step-by-step. First add only text values to payload fields, no magic text, no long texts. See if sending works. Then try replacing email with an email with magic text, test again. Then try replacing name with magic text. On some step sending will break, so you will see the reason of it.

If you know how to use browser debug console (in Chrome: View → Developer → Javascript console), then you can open it, go to network tab, try sending an email and see what error does it return. Usually it’s possible to understand what’s happening.

And a final note: it is not a good idea to submit an API key using custom action parameters. Also it is not a good idea to expose API key to the public (which you did in your screenshot).

Best,
Victor.