Send generated PDF in the email to clients

Could you please provide an update on automatically emailing the PDF generated from our template?

We’d like to send this customized PDF to the client whenever a new order is created.

Currently we are sending email just with an order number and details.

Thanks for your feedback.
This feature is not currently supported. I have documented this requirement and will evaluate it in the future.

@Sohail2949000 This is doable now with two pieces, since the workflow Mailer node gained an Attachments setting this year (nocobase/nocobase PR 9724, merged June 2026). It takes file records, so the only job left is getting the order’s PDF into an attachment field first.

  1. Add an attachment field to your orders collection, for example invoice_pdf.
  2. Workflow A, trigger “After record added” on orders: render the PDF and save it into invoice_pdf. Any renderer works here: an HTTP request node to a small service of your own (Gotenberg, a Puppeteer script) that uploads the file through attachments:create and then updates the order with the returned record, or a workflow node that does the render and save in one step.
  3. Workflow B, trigger “After record updated” on orders, only when invoice_pdf changes: Mailer node, To set to the customer email variable, Attachments set to invoice_pdf.

Keeping the send in its own workflow means the email only goes out once the file really exists, and a failed render never sends a mail with no PDF. Check that your version includes the Mailer attachments change before you build it.

If you would rather not run a renderer yourself, there is a render node plugin that does step 2 inside the workflow and hands the saved file straight to a Mailer node: GitHub - thirdsai/nocobase-plugin-workflow-render: NocoBase workflow node: render a record to PDF or PNG with thirds.ai, save it to an attachment field, email it with Mailer. · GitHub (it needs a thirds.ai API key).

(Disclosure: I’m connected to thirds.ai.)