Sendgrid generate personalized content while sending - node.js

I need to send an email to my user list in Sendgrid. The emails should include a personalised link to my website. These links can't be pre-generated.
Can Sendgrid call a Cloud Function, or make an API call to generate the personalised links?

I am missing some context to understand exactly what you're trying to do.
It sounds like you are using SendGrid Contact Lists/Segments, and you want to use a single send to email them. Is that accurate?
Using Single Sends, you can use handlebars templating to generate your emails, however, handlebars does not let you make HTTP requests or call Cloud Functions. You can pull data from the SendGrid Contact, so if you need to have a personalized link to your website, that URL will need to be composed of data in the SendGrid Contact.
If the data you need in the URL is not stored in the Contact yet, you can update the contact and store the data in a custom field, then pull the data from the contact in your Handlebars template.
If you aren't using SendGrid Contacts, but instead, you're pulling your contacts from somewhere using node.js, then you can use personalization with either Substitution Tags or Dynamic Email Templates in the SendGrid node.js library.

Related

Is it possible to send a DocuSign template via sms delivery?

As the title suggests, I'm wondering how I can send a template defined within Docusign via SMS delivery. However, I'm only seeing documentation on how to send a document from storage outside of docusign. Am I missing something?
Yes, for the recipients specified in a template, your API program can choose for them to be notified by SMS only, SMS and email, or email only.
This live example via the API Request Builder uses a template to send an SMS-only notification to a recipient.
This live example via the API Request Builder uses a template to send SMS and email notifications to a recipient.
If you want to know how to replace a template's document with a different document when you send the envelope, here's a live example for that.
The API Request Builder can create the examples in C#, Java, PHP, Node.JS, Ruby, or Python.

how can i get the rendered template, with the dynamic parameters embedded, from Sendgrid response?

I'm using SendGrid API v3 with Node.js
I send emails thru the API, with my custom templates and dynamic parameters embedded.
I want to get the email HTML content from SendGrid as a result, with the parameters I passed, so I can save it.
how can I do this?

Injecting data into Docusign Template to create document and capture signature

I created a template and to use that I upload a excel with list of user's name and email. Then docusign send the email to recipients and signature is captured.
I want to automate part of it. Have a link in application that should fetch the document to sign [ parameter for templates - logged in user's name and email ] and then display the document for user to sign. How this can be achieved in java web application... we are using Oracle ADF for application.
This Code Example Launcher should help.
If you are looking to have your end-users sign via email, you can
(1) Utilize Bulk Send functionality to send a DocuSign template to a list of different users. See this guide
If, however, you are hoping to embed Docusign in your app, I would suggest you investigate
(2) Building embedded signing with a template. Specifically, Check out example #13.

Sending order email confirmation using mailchimp

Fairly new to mailchimp and nodejs. I'm trying to send an email using mailchimp after a user places order in my website entirely using nodejs. However document states there is no real way to send one-to-one email using mailchimp but only possible to send bulk list of emails. How would I achieve this using nodejs? I've installed mailchimp package and ready to go with API key. I need a function that sends email to every user upon completing an order with a template.
I think that MailChimp is a bulk email sender.
If you want to do one-to-one email, then you should try Mailgun from Mailchimp.
A popular alternative is Sendgrid and they have a good, easy-to-use NPM package.

Sending email to lists via MailChimp API v3.0?

So it's not possible to create campaigns via MailChimp API v3.0 at this moment. But is it possible to send emails to lists/groups/segments via API v3.0? Or should I use API v2.0 for this functionality?
I have seen this one already: MailChimp send email v3.0
It's now possible to create and send a campaign through the V3.0 API.
See the this page
You can send to a saved segment, but as far as I can tell, there's no way to create a saved segment via the API, or to send to any subset of the list members.

Resources