emailTemplateAddAttachment
Add a document attachment to an email template.
Attaches a document template to the email template, enabling automatic document generation and attachment to emails sent using this template.
Possible errors:
- TEMPLATE_NOT_FOUND: Email template or document template with specified ID does not exist
- TEMPLATE_UPDATE_ERROR: Failed to add attachment due to system issues
emailTemplateAddAttachment(
id: String!
documentTemplateId: String!
): EmailTemplate!
Arguments
emailTemplateAddAttachment.id
● String!
non-null scalar
Unique identifier for the email template.
UUID that uniquely identifies the email template to which the attachment will be added.
emailTemplateAddAttachment.documentTemplateId
● String!
non-null scalar
Unique identifier for the document template attachment.
UUID that uniquely identifies the document template that will be attached to the email template.
Type
EmailTemplate
object
Email template for automated messaging and communication campaigns.
Defines the structure, content, and configuration for email messages including localized content, recipients, attachments, and dynamic data integration. Used for transactional emails, marketing campaigns, and system notifications.