# Sending confirmation emails with SendGrid

**URL:** <https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [October 26, 2024, 11:44pm UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791 "2024-10-26T23:44:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![esemv](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@esemv](https://forum.adalo.com/u/esemv)\
**Post date:** [October 26, 2024, 11:44pm UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/1 "2024-10-26T23:44:30Z")

</div>

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](https://www.youtube.com/watch?v=Ss6ow34uM38&ab_channel=PaoloMontemurro) 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.

 ![Screenshot 2024-10-27 at 10.41.00 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/9/7/97e117102a197fb6830a023b829ecac75f7ef4f1.png)

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 ☺

---

<div class="post-metadata">

**Author:** ![esemv](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@esemv](https://forum.adalo.com/u/esemv)\
**Post date:** [October 27, 2024, 7:53pm UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/4 "2024-10-27T19:53:37Z")

</div>

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](https://make.com) to run the sendgrid action through or is it ok to use sendgrid directly?

---

<div class="post-metadata">

**Author:** ![esemv](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@esemv](https://forum.adalo.com/u/esemv)\
**Post date:** [October 30, 2024, 10:01pm UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/6 "2024-10-30T22:01:11Z")

</div>

Do I need a paid plan on [make.com](https://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](https://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:

 ![Screenshot 2024-10-31 at 8.46.46 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/8/189c5073d6c4ad74839befcf4b5cf57189985d83.jpeg)  
In Adalo I can just put it straight into the JSON text  
 ![Screenshot 2024-10-31 at 8.47.16 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/4/6/46e5ed6d06bb45ad0a41019df4621e24fbce31ce.png)  
I also tried it with an email module but not sure if I have done it correctly.  
 ![Screenshot 2024-10-31 at 8.55.00 AM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/b/6b98bbbf43e82cb453853e800d3559a691505346.jpeg)  
Either way I’m not sure how to link it back to my app.

---

<div class="post-metadata">

**Author:** ![esemv](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@esemv](https://forum.adalo.com/u/esemv)\
**Post date:** [October 30, 2024, 11:13pm UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/8 "2024-10-30T23:13:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![esemv](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@esemv](https://forum.adalo.com/u/esemv)\
**Post date:** [November 12, 2024, 5:14am UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/12 "2024-11-12T05:14:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 12, 2024, 7:00am UTC](https://forum.adalo.com/t/sending-confirmation-emails-with-sendgrid/50791/13 "2024-11-12T07:00:36Z")

</div>

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.
