Hi, @barn4k
I want to try to automate workflow generation with AI. But I need all the properties and parameters of the nodes. The copied json does not contain all the parameters of the node.
Here are all the properties of the EmailSend node that I saw in a Github repository. But I also need this full attribute for other nodes. I don’t know how they got all the properties of the node.
{
"displayName": "Send Email",
"name": "n8n-nodes-base.emailSend",
"icon": "fa:envelope",
"group": [
"output"
],
"defaultVersion": 2,
"description": "Sends an email using SMTP protocol",
"version": 2,
"defaults": {
"name": "Send Email",
"color": "#00bb88"
},
"inputs": [
"main"
],
"outputs": [
"main"
],
"credentials": [
{
"name": "smtp",
"required": true
}
],
"properties": [
{
"displayName": "Resource",
"name": "resource",
"type": "hidden",
"noDataExpression": true,
"default": "email",
"options": [
{
"name": "Email",
"value": "email"
}
]
},
{
"displayName": "Operation",
"name": "operation",
"type": "hidden",
"noDataExpression": true,
"default": "send",
"options": [
{
"name": "Send",
"value": "send",
"action": "Send an Email"
}
]
},
{
"displayName": "From Email",
"name": "fromEmail",
"type": "string",
"default": "",
"required": true,
"placeholder": "admin@example.com",
"description": "Email address of the sender. You can also specify a name: Nathan Doe <nate@n8n.io>.",
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "To Email",
"name": "toEmail",
"type": "string",
"default": "",
"required": true,
"placeholder": "info@example.com",
"description": "Email address of the recipient. You can also specify a name: Nathan Doe <nate@n8n.io>.",
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "Subject",
"name": "subject",
"type": "string",
"default": "",
"placeholder": "My subject line",
"description": "Subject line of the email",
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "Email Format",
"name": "emailFormat",
"type": "options",
"options": [
{
"name": "Text",
"value": "text"
},
{
"name": "HTML",
"value": "html"
},
{
"name": "Both",
"value": "both"
}
],
"default": "text",
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "Text",
"name": "text",
"type": "string",
"typeOptions": {
"rows": 5
},
"default": "",
"description": "Plain text message of email",
"displayOptions": {
"show": {
"emailFormat": [
"text",
"both"
],
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "HTML",
"name": "html",
"type": "string",
"typeOptions": {
"rows": 5
},
"default": "",
"description": "HTML text message of email",
"displayOptions": {
"show": {
"emailFormat": [
"html",
"both"
],
"resource": [
"email"
],
"operation": [
"send"
]
}
}
},
{
"displayName": "Options",
"name": "options",
"type": "collection",
"placeholder": "Add Option",
"default": {},
"options": [
{
"displayName": "Attachments",
"name": "attachments",
"type": "string",
"default": "",
"description": "Name of the binary properties that contain data to add to email as attachment. Multiple ones can be comma-separated. Reference embedded images or other content within the body of an email message, e.g. <img src=\"cid:image_1\">"
},
{
"displayName": "CC Email",
"name": "ccEmail",
"type": "string",
"default": "",
"placeholder": "cc@example.com",
"description": "Email address of CC recipient"
},
{
"displayName": "BCC Email",
"name": "bccEmail",
"type": "string",
"default": "",
"placeholder": "bcc@example.com",
"description": "Email address of BCC recipient"
},
{
"displayName": "Ignore SSL Issues",
"name": "allowUnauthorizedCerts",
"type": "boolean",
"default": false,
"description": "Whether to connect even if SSL certificate validation is not possible"
},
{
"displayName": "Reply To",
"name": "replyTo",
"type": "string",
"default": "",
"placeholder": "info@example.com",
"description": "The email address to send the reply to"
}
],
"displayOptions": {
"show": {
"resource": [
"email"
],
"operation": [
"send"
]
}
}
}
],
"codex": {
"categories": [
"Communication",
"Core Nodes"
],
"subcategories": {
"Core Nodes": [
"Helpers"
]
},
"resources": {
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.sendemail/"
}
],
"credentialDocumentation": [
{
"url": "https://docs.n8n.io/integrations/credentials/sendemail/"
}
]
},
"alias": [
"SMTP"
]
}
},