interface SendGridNodeParameters {
additionalFields?:
| {
addressUi?: {
addressValues: {
address1?: string;
address2?: string;
};
};
alternateEmails?: string;
city?: string;
country?: string;
customFieldsUi?: {
customFieldValues: {
fieldId?: string;
fieldValue?: string;
}[];
};
firstName?: string;
lastName?: string;
listIdsUi?: { listIdValues: { listIds?: unknown[] } };
postalCode?: string;
stateProvinceRegion?: string;
}
| {
attachments?: string;
bccEmail?: string;
categories?: string;
ccEmail?: string;
enableSandbox?: boolean;
headers?: {
details: { key?: string; value?: string }[];
};
ipPoolName?: string;
replyToEmail?: string;
sendAt?: string;
};
by?: "id"
| "email";
contactId?: string;
contactSample?: boolean;
contentType?: "text/plain" | "text/html";
contentValue?: string;
deleteAll?: boolean;
deleteContacts?: boolean;
dynamicTemplate?: boolean;
dynamicTemplateFields?: {
fields: { key?: string; value?: string }[];
};
email?: string;
filters?: { query?: string };
fromEmail?: string;
fromName?: string;
ids?: string;
limit?: number;
listId?: string;
name?: string;
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upsert"
| "send";
resource?: "contact"
| "list"
| "mail";
returnAll?: boolean;
subject?: string;
templateId?: string;
toEmail?: string;
}
Properties§
Source§readonly additional Fields?:
| {
addressUi?: {
addressValues: {
address1?: string;
address2?: string;
};
};
alternateEmails?: string;
city?: string;
country?: string;
customFieldsUi?: {
customFieldValues: {
fieldId?: string;
fieldValue?: string;
}[];
};
firstName?: string;
lastName?: string;
listIdsUi?: { listIdValues: { listIds?: unknown[] } };
postalCode?: string;
stateProvinceRegion?: string;
}
| {
attachments?: string;
bccEmail?: string;
categories?: string;
ccEmail?: string;
enableSandbox?: boolean;
headers?: {
details: { key?: string; value?: string }[];
};
ipPoolName?: string;
replyToEmail?: string;
sendAt?: string;
}
readonly additional Fields?:
| {
addressUi?: {
addressValues: {
address1?: string;
address2?: string;
};
};
alternateEmails?: string;
city?: string;
country?: string;
customFieldsUi?: {
customFieldValues: {
fieldId?: string;
fieldValue?: string;
}[];
};
firstName?: string;
lastName?: string;
listIdsUi?: { listIdValues: { listIds?: unknown[] } };
postalCode?: string;
stateProvinceRegion?: string;
}
| {
attachments?: string;
bccEmail?: string;
categories?: string;
ccEmail?: string;
enableSandbox?: boolean;
headers?: {
details: { key?: string; value?: string }[];
};
ipPoolName?: string;
replyToEmail?: string;
sendAt?: string;
}
Source§readonly content Type?: "text/plain" | "text/html"
readonly content Type?: "text/plain" | "text/html"
MIME type of the email to send Default: "text/plain"
Source§readonly dynamic Template Fields?: { fields: { key?: string; value?: string }[] }
readonly dynamic Template Fields?: { fields: { key?: string; value?: string }[] }
Default: {} Type options: {"multipleValues":true}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":1000}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upsert"
| "send"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "upsert"
| "send"
Default: "create"
Source§readonly template Id?: string
readonly template Id?: string
Choose from the list, or specify an ID using an expression Default: [] Type options: {"loadOptionsMethod":"getTemplateIds"}
Default: {}