SendGrid Email Send

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 which can be personalized per person so each email can address a person by name or have specific content which is relevant for them. This is a parameterized graph template which 

SendGrid has different pricing models depending on the amount of emails sent and contacts stored. There is a free trial account which 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 

  • Create a SendGrid account
  • Create an API key for your project 
    • 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:
  • Follow the instructions for the setup of the Application Parameters Graph Template
    • 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 needs to be a JSON array of the variables and the replacement values
{
	"%body%": "Hello World!",
	"%name%": "John Doe"
}

Privacy Policy
© 2022 CSG International, Inc.