Can I build my email template in Sendgrid and trigger it via Novu?
Also how can I pass on variables to be used in the email template within Sendgrid?
7 Replies
Hi Erez 👋
Currently we don't support the template import from email provider feature
You will need to copy the html content from template and paste into email code editor
We use handlebars variables
https://docs.novu.co/content-creation-design/handlebars-helpers
Hi @erez0573
We have found a solution to use sendgrid templates from novu itself.
i will keep you posted about this
@Pawan Jain any updates?
Hi @Erez
PR is up
https://github.com/novuhq/novu/pull/4209
I am hoping to be included this in 0.20.0 that is going to release tomorrow
Hi,
Is it now available?
Hi @Erez
We could not deploy 0.20.0 last week due to broken pipeline and npm version publishing issue.
We are working on resolving this issue.
@Pawan Jain any updates?
Hi @Erez
We have released 0.20.0 version and support of sending customData in email overrides.
However a minor bug fix is pending.
Apologies from my side for taking this so long
https://github.com/novuhq/novu/pull/4504
If you use our api to trigger the workflow then it will work, but if you are using nodejs sdk, above PR will fix the bug
An example curl using our api
Make sure your sendgrid api key have access of reading template