awsSes.json•12.7 kB
{
"nodeType": "n8n-nodes-base.awsSes",
"displayName": "AWS SES",
"description": "Sends data to AWS SES",
"version": 1,
"properties": [
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "email",
"options": [
{
"name": "Custom Verification Email",
"value": "customVerificationEmail"
},
{
"name": "Email",
"value": "email"
},
{
"name": "Template",
"value": "template"
}
]
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "create",
"description": "Create a new custom verification email template",
"options": [
{
"name": "Create",
"value": "create",
"description": "Create a new custom verification email template"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete an existing custom verification email template"
},
{
"name": "Get",
"value": "get",
"description": "Get the custom email verification template"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many of the existing custom verification email templates for your account"
},
{
"name": "Send",
"value": "send",
"description": "Add an email address to the list of identities"
},
{
"name": "Update",
"value": "update",
"description": "Update an existing custom verification email template"
}
],
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
]
}
}
},
{
"name": "fromEmailAddress",
"displayName": "From Email",
"type": "string",
"default": "",
"description": "The email address that the custom verification email is sent from",
"required": true,
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "templateName",
"displayName": "Template Name",
"type": "string",
"default": "",
"description": "The name of the custom verification email template",
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "templateContent",
"displayName": "Template Content",
"type": "string",
"default": "",
"description": "The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML",
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "templateSubject",
"displayName": "Template Subject",
"type": "string",
"default": "",
"description": "The subject line of the custom verification email",
"required": true,
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "successRedirectionURL",
"displayName": "Success Redirection URL",
"type": "string",
"default": "",
"description": "The URL that the recipient of the verification email is sent to if his or her address is successfully verified",
"required": true,
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "failureRedirectionURL",
"displayName": "Failure Redirection URL",
"type": "string",
"default": "",
"description": "The URL that the recipient of the verification email is sent to if his or her address is not successfully verified",
"required": true,
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"create"
]
}
}
},
{
"name": "email",
"displayName": "Email",
"type": "string",
"default": "",
"description": "The email address to verify",
"placeholder": "name@email.com",
"required": true,
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"send"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Name of a configuration set to use when sending the verification email",
"placeholder": "Add Field",
"options": [
{
"name": "configurationSetName",
"displayName": "Configuration Set Name",
"type": "string",
"default": "",
"description": "Name of a configuration set to use when sending the verification email"
}
],
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"send"
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "The URL that the recipient of the verification email is sent to if his or her address is not successfully verified",
"placeholder": "Add Field",
"options": [
{
"name": "failureRedirectionURL",
"displayName": "Failure Redirection URL",
"type": "string",
"default": "",
"description": "The URL that the recipient of the verification email is sent to if his or her address is not successfully verified"
},
{
"name": "fromEmailAddress",
"displayName": "From Email",
"type": "string",
"default": "",
"description": "The email address that the custom verification email is sent from"
},
{
"name": "successRedirectionURL",
"displayName": "Success Redirection URL",
"type": "string",
"default": "",
"description": "The URL that the recipient of the verification email is sent to if his or her address is successfully verified"
},
{
"name": "templateContent",
"displayName": "Template Content",
"type": "string",
"default": "",
"description": "The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML"
},
{
"name": "templateSubject",
"displayName": "Template Subject",
"type": "string",
"default": "",
"description": "The subject line of the custom verification email"
}
],
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"update"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 20,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1
},
"displayOptions": {
"show": {
"resource": [
"customVerificationEmail"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "isBodyHtml",
"displayName": "Is Body HTML",
"type": "boolean",
"default": false,
"description": "Whether body is HTML or simple text",
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"name": "subject",
"displayName": "Subject",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"name": "body",
"displayName": "Body",
"type": "string",
"default": "",
"description": "The message to be sent",
"required": true,
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"name": "fromEmail",
"displayName": "From Email",
"type": "string",
"default": "",
"description": "Email address of the sender",
"placeholder": "admin@example.com",
"required": true,
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"name": "toAddresses",
"displayName": "To Addresses",
"type": "string",
"default": [],
"description": "Email addresses of the recipients",
"placeholder": "info@example.com",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"name": "templateDataUi",
"displayName": "Template Data",
"type": "fixedCollection",
"default": {},
"placeholder": "Add Data",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"sendTemplate"
]
}
}
},
{
"name": "subjectPart",
"displayName": "Subject Part",
"type": "string",
"default": "",
"description": "The subject line of the email",
"displayOptions": {
"show": {
"resource": [
"template"
],
"operation": [
"create"
]
}
}
},
{
"name": "htmlPart",
"displayName": "Html Part",
"type": "string",
"default": "",
"description": "The HTML body of the email",
"displayOptions": {
"show": {
"resource": [
"template"
],
"operation": [
"create"
]
}
}
}
],
"credentialsConfig": [
{
"name": "aws",
"required": true
},
{
"name": "resource",
"required": false
},
{
"name": "operation",
"required": false
},
{
"name": "fromEmailAddress",
"required": true
},
{
"name": "templateName",
"required": false
},
{
"name": "returnAll",
"required": false
},
{
"name": "isBodyHtml",
"required": true
},
{
"name": "additionalFields",
"required": false
},
{
"name": "operation",
"required": false
},
{
"name": "templateName",
"required": true
},
{
"name": "updateFields",
"required": false
},
{
"name": "returnAll",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}