/** * Keap Node - Version 1 * Discriminator: resource=email, operation=send */ interface Credentials { keapOAuth2Api: CredentialReference; } /** Send Email */ export type KeapV1EmailSendParams = { resource: 'email'; operation: 'send'; /** * The infusionsoft user to send the email on behalf of. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ userId?: string | Expression; /** * Contact IDs to receive the email. Multiple can be added seperated by comma. */ contactIds?: string | Expression | PlaceholderValue; /** * The subject line of the email */ subject?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Email field of each Contact record to address the email to, such as 'EmailAddress1', 'EmailAddress2', 'EmailAddress3', defaulting to the contact's primary email */ addressField?: string | Expression | PlaceholderValue; /** The HTML-formatted content of the email, encoded in Base64 */ htmlContent?: string | Expression | PlaceholderValue; /** The plain-text content of the email, encoded in Base64 */ plainContent?: string | Expression | PlaceholderValue; }; /** * Attachments to be sent with each copy of the email, maximum of 10 with size of 1MB each * @default {} */ attachmentsUi?: { /** Attachments Values */ attachmentsValues?: Array<{ /** The content of the attachment, encoded in Base64 */ fileData?: string | Expression | PlaceholderValue; /** The filename of the attached file, including extension */ fileName?: string | Expression | PlaceholderValue; }>; /** Attachments Binary */ attachmentsBinary?: Array<{ /** Name of the binary properties which contain data which should be added to email as attachment */ property?: string | Expression | PlaceholderValue; }>; }; }; export type KeapV1EmailSendNode = { type: 'n8n-nodes-base.keap'; version: 1; credentials?: Credentials; config: NodeConfig; };