SendGrid Email Send
  • 04 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

SendGrid Email Send

  • Dark
    Light
  • PDF

Article summary

This is an email send adaptor for SendGrid, which enables sending personalized emails from prebuilt templates. A template of an email can be created with variables that can be personalized per person so each email can address a person by name or have specific content that is relevant to them.

This is a parameterized graph template in which SendGrid has different pricing models depending on the amount of emails sent and contacts stored. There is a free trial account that allows for 100 emails to be sent per day, which never expires. 

Package contents

Graphs

  • SendGrid Email Send

Schema

{
	"sendgrid": {
		"inputs": {
			"subject": "",
			"toEmail": "",
			"fromEmail": "",
			"templateId": "",
			"substitutions": ""
		},
		"results": "",
		"emailBody": ""
	}
}

Setup 

  • Save the key in a password manager because SendGrid will not show it to you again later on
  • Configure the SendGrid Email connection with the following details:


  • Insert the the API key into the appParams table using the following SQL:
INSERT INTO appParams(paramKey, paramValue, paramType, description) VALUES
('sendGridApiKey', 'API KEY GOES HERE', 'string', 'This is the API key for SendGrid');
  • Drop the graph into a project and populate the parameters required by the graph

  • parameters are string values except for substitutions
  • substitutions need to be a JSON array of the variables, and the replacement values
{
	"%body%": "Hello World!",
	"%name%": "John Doe"
}

Is it helpful? React and share your comment

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence