Skip to main content

TemplateRenderInput

Input for templateRender mutation.

input TemplateRenderInput {
jobId: String!
selections: [TemplateRenderSelection!]!
action: DocumentAction!
deliveryMethod: DeliveryMethod
to: [EmailRecipient!]
cc: [EmailRecipient!]
bcc: [EmailRecipient!]
subject: String
content: String
fileUuids: [String!]
}

Fields​

TemplateRenderInput.jobId ● String! non-null scalar​

Job id returned by templatePrepare.

TemplateRenderInput.selections ● [TemplateRenderSelection!]! non-null input​

Selections per manual node.

TemplateRenderInput.action ● DocumentAction! non-null enum​

Action to perform with the rendered PDF. SEND is deprecated, use sendEmail.

TemplateRenderInput.deliveryMethod ● DeliveryMethod enum​

Delivery method (required when action is SEND).

TemplateRenderInput.to ● [EmailRecipient!] list input​

Primary recipients (required when action is SEND).

TemplateRenderInput.cc ● [EmailRecipient!] list input​

CC recipients (optional when action is SEND).

TemplateRenderInput.bcc ● [EmailRecipient!] list input​

BCC recipients (optional when action is SEND). Through Exchange, each one is sent a message of their own in the background.

TemplateRenderInput.subject ● String scalar​

Subject (required when action is SEND).

TemplateRenderInput.content ● String scalar​

Body content (required when action is SEND).

TemplateRenderInput.fileUuids ● [String!] list scalar​

UUIDs of files already attached to this record to send along with the generated PDF (optional when action is SEND, ignored otherwise). Every file must belong to this record and be viewable by you, and all attachments together, the PDF included, may total at most 15 MB (the default limit).

Member Of​

templateRender mutation