Skip to main content

Email PDFs with Foliant

A delivery that Foliant emails Foliant can send an email with the document attached when something happens to an order: for example, the invoice when an order is paid, or a credit note with each refund. You choose who gets it — the customer, your store, and up to five other addresses — what the email says, and which orders it’s for.

Before you start

  • Emails sent by Foliant (Emailed PDFs) depend on your plan. By default they’re included in the paid plans (Starter, Growth and Scale), not Free. If your plan doesn’t include them, the Foliant emails the PDF card shows a plan badge. See Plans and what’s included.
  • Shopify also emails your customer at most of these moments. If the PDF only needs to reach the customer, a link in Shopify’s email is usually better. See Avoid sending customers two emails.

Add the email

  1. Go to Delivery and select Add delivery.
  2. Choose the Template, then Foliant emails the PDF.
  3. Under When to send it, choose Send when.
  4. Select Add delivery. The email’s page opens. It starts with your store’s address as the only recipient and a default message.

Set up the email

The top of the page sums the email up in one sentence, for example “Foliant emails Invoice to your store when an order is paid, right away.” Change it in these sections, then save with the save bar.

When

A wait lets quick changes land first, for example a refund or edit made right after the order.
  • Order is fulfilled (each shipment) sends one email per fulfillment. If Foliant doesn’t yet have permission to see fulfillments, a banner Allow Foliant to see fulfillments appears; select Allow and approve it in Shopify.
  • Order is refunded (each refund) sends one email per refund, with that refund’s credit note.
  • A Shopify Flow workflow sends it has no wait: the workflow decides when. See Send PDFs from Shopify Flow.

Who gets it

When the customer gets the email together with your store or other addresses, the customer alone is in the To line. Your store and the other addresses get hidden copies (BCC), so the customer never sees them, and a reply-all from the customer only reaches your store. Without the customer, every address is in the To line.

Email

The Subject and Message, with a Preview for your latest order. See Write the email’s subject and message.

Only for some orders

Optional conditions, the same kind you use for Who gets this template? on a template (customer tags, order tags, order total and so on). With no condition, every order gets the email. An order that doesn’t match is skipped and shows as Order doesn’t match in the email history.

Status and sending

The Status card on the right has the on/off switch, this week’s Sent this week and Failed this week counts, when it was Last sent, and Send test. See Pause or switch off an email and Send a test email. Below the setup, the email’s own Email history lists every email it sent. See The email history.

Good to know

  • The PDF is made when the email is sent. Invoices, credit notes and quotes get their number when the email goes out, and a locked invoice is sent exactly as issued.
  • Choosing Order is placed for an invoice shows a note: invoices get their number when the email is sent, so a cancelled order leaves a voided number. Order is paid is usually better for invoices.
  • Foliant sends one email per event per delivery. Switching an email on sends for events from then on, not for those it missed.
  • Emails for orders cancelled before the email goes out are skipped (except emails sent on Order is canceled or by Shopify Flow).
  • The email comes from your store’s name; replies go to your store’s email. See Send from your own domain.
  • The PDF is attached. Over 10 MB, the email links to it instead.
  • A store can send up to 500 of these emails an hour. More are skipped (Hourly limit reached) and Foliant posts a message in your notifications.
  • Emailed documents count toward your plan’s printed orders, like printing or exporting.
  • Remove stops Foliant sending this email. Its send log stays.