How to send dynamic content in sendGrid mail template?

How can we send dynamic content with sendGrid template for sending mails. For example when user submits a form, a mail would be send through sendGrid template, and through this template we want to send a link, and link contains unique Id for each submit request. So will it be possible?

mvp_badge
MVP

Hi Neha,

If I understand your question correctly, you want to use sendgrid's dynamic transactional template and send it with the data filled in OutSystems form.

For this you have to consume and call sendgrid API in OutSystems to send data and trigger email. I think usual way of sending email using SMTP will not work.

Here is the reference link to find the details of the sendgrid API for sending email using dynamic template

https://sendgrid.com/docs/ui/sending-email/how-to-send-an-email-with-dynamic-transactional-templates/

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.