Communication

Send document by email

Sends a sales document by email with a template, its PDF or the portal link.

Action
email.sendDocument
PropertyValue
Domainemail
Group in the editorCommunication › Email
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Sales. Administrators always pass; a module outside the plan blocks everyone.
DestructiveNot declared

Inputs

documentTypeenum<string>Required

Available options: invoice, proforma, quote, creditNote, contract, packing_slip, salesReceipt, simpleCreditNote, purchaseOrder, repairTicket

documentIdstringRequired

tostring[]Required

One address per row. It can come from the trigger, for example the email of the document's contact.

ccstring[]

Emails in visible copy (CC).

Limits: advanced

templateIdstring

Limits: advanced

subjectstring

bodystring

attachPdfbooleandefault:true

Outputs

historyRecordIdstring | null

messageIdstring | null