# Sendgrid plugin not substituting variables

**URL:** <https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470>\
**Category:** Plugins\
**Created:** [January 19, 2021, 10:53pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470 "2021-01-19T22:53:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 19, 2021, 10:53pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/1 "2021-01-19T22:53:32Z")

</div>

Hi,

I am trying to create a welcome email with some dynamic information on it. However, bubble is not substituting the variables on the Sendgrid dynamic template with the information, it just leaves it blank. What am I doing wrong? I am attaching 3 pictures to show you whats happening.

PLEASE HELP.

 ![what I get on my email, no substitution made](https://us1.discourse-cdn.com/bubble/original/3X/3/b/3b874f9e08ab90ac5d0fd854eacebc23a81c86bd.png) ![sendgrid copilot plugin settings](https://us1.discourse-cdn.com/bubble/original/3X/c/d/cd42ec12b1b3b02a974175af9d2dfc43ec3dd96b.png) ![sendgrid template](https://us1.discourse-cdn.com/bubble/original/3X/1/4/142c2d0a452cbfec9f55cf37ca470a366d0cfd62.png)

---

<div class="post-metadata">

**Author:** ![copilot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/copilot/32/32859_2.png) [@copilot](https://forum.bubble.io/u/copilot)\
**Post date:** [January 19, 2021, 11:56pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/2 "2021-01-19T23:56:14Z")

</div>

Hey @pachocastillosr,

You don’t need to encapsulate your tags with curly brackets in the _Send email_ action. 🙂

---

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 20, 2021, 12:01am UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/3 "2021-01-20T00:01:16Z")

</div>

Hi! @copilot thanks for the response.  
I tried without the curly brackets in the Send email action and I get the same email without the variables, still doesnt work. I attached new screenshots:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/2/f2db78688252709b8bf89855c6867c1747b5b783.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/e/7e86c3a3c043b0d61facbcaef691d31e8b4f18d9.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/0/30beb57a3b3f0fdae5c0b1db072e357539d062b2.png)

---

<div class="post-metadata">

**Author:** ![copilot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/copilot/32/32859_2.png) [@copilot](https://forum.bubble.io/u/copilot)\
**Post date:** [January 20, 2021, 12:07am UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/4 "2021-01-20T00:07:39Z")

</div>

That seems rather odd! Give us a shout at [plugins@withcopilot.com](mailto:plugins@withcopilot.com) and we can take a look. 😉

---

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 20, 2021, 12:13am UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/5 "2021-01-20T00:13:50Z")

</div>

I just emailed you! Thanks!

---

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 20, 2021, 5:38pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/6 "2021-01-20T17:38:03Z")

</div>

Haven’t got yet any response from the email I sent. If anybody knows how to fix this I would appreciate your help A LOT! This has gotten me stuck from launching my landing page! 🥴

---

<div class="post-metadata">

**Author:** ![afterthoughtsystem](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/afterthoughtsystem/32/95007_2.png) [@afterthoughtsystem](https://forum.bubble.io/u/afterthoughtsystem)\
**Post date:** [January 20, 2021, 5:50pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/7 "2021-01-20T17:50:53Z")

</div>

Hey @pachocastillosr,

Perhaps maybe try 3 curly brackets?

Eg: `{{{ var1 }}}`

Regards,  
Johnny

---

<div class="post-metadata">

**Author:** ![pachocastillosr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pachocastillosr/32/154570_2.png) [@pachocastillosr](https://forum.bubble.io/u/pachocastillosr)\
**Post date:** [January 20, 2021, 6:13pm UTC](https://forum.bubble.io/t/sendgrid-plugin-not-substituting-variables/131470/8 "2021-01-20T18:13:41Z")

</div>

Hey! I don’t know if you did it or they fixed the plugin today but it is working now! THANKS!
