Send Grid
Node: sendGrid · Full type: n8n-nodes-base.sendGrid · Version: 1
Credentials
sendGridApi (alias: @send)
CREDENTIAL @send = sendGridApi "My Send Grid"
Operations
upsert
| Parameter |
Type |
Default |
Details |
email |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: addressUi, alternateEmails, city, country, firstName, lastName, ... |
delete
| Parameter |
Type |
Default |
Details |
ids |
string |
"" |
|
deleteAll |
boolean |
false |
|
get
| Parameter |
Type |
Default |
Details |
by |
options |
"id" |
required; id, email |
contactId |
string |
"" |
required |
email |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
100 |
|
filters |
collection |
{} |
keys: query |
Resource: list
create
| Parameter |
Type |
Default |
Details |
name |
string |
"" |
required |
delete
| Parameter |
Type |
Default |
Details |
listId |
string |
"" |
required |
deleteContacts |
boolean |
false |
|
get
| Parameter |
Type |
Default |
Details |
listId |
string |
"" |
required |
contactSample |
boolean |
false |
|
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
100 |
|
update
| Parameter |
Type |
Default |
Details |
listId |
string |
"" |
required |
name |
string |
"" |
required |
Resource: mail
send
| Parameter |
Type |
Default |
Details |
fromEmail |
string |
"" |
|
fromName |
string |
"" |
|
toEmail |
string |
"" |
|
subject |
string |
"" |
|
dynamicTemplate |
boolean |
false |
required |
contentType |
options |
"text/plain" |
text/plain, text/html |
contentValue |
string |
"" |
required |
templateId |
options |
[] |
|
dynamicTemplateFields |
fixedCollection |
{} |
groups: fields |
additionalFields |
collection |
{} |
keys: attachments, bccEmail, categories, ccEmail, enableSandbox, ipPoolName, ... |
Parameter Details
filters children:
| Parameter |
Type |
Default |
Details |
query |
string |
"" |
|
additionalFields children:
| Parameter |
Type |
Default |
Details |
addressUi |
fixedCollection |
{} |
groups: addressValues |
alternateEmails |
string |
"" |
|
city |
string |
"" |
|
country |
string |
"" |
|
firstName |
string |
"" |
|
lastName |
string |
"" |
|
postalCode |
string |
"" |
|
stateProvinceRegion |
string |
"" |
|
listIdsUi |
fixedCollection |
{} |
groups: listIdValues |
customFieldsUi |
fixedCollection |
{} |
groups: customFieldValues |
dynamicTemplateFields children:
fields group:
| Parameter |
Type |
Default |
Details |
key |
string |
"" |
|
value |
string |
"" |
|
Example
NODE "sendGrid" @send AS "Send Grid" {
resource: "contact",
operation: "get",
name: {{ $json.name }},
listId: {{ $json.listId }},
email: {{ $json.email }}
}