Skip to content
P4 Software P4 Software / cifraHQ

Add these docs to Claude

Ask Claude questions about these docs. Claude reads the published pages and links you back to them. Copy this address:

https://p4-software.opendocs.page/mcp

In claude.ai or Claude Desktop: open Settings, then Connectors, choose Add custom connector and paste the address.

In Claude Code, run:

claude mcp add --transport http docs https://p4-software.opendocs.page/mcp

Email Templates

Email Templates

Every time a team member clicks Email on an invoice or purchase order, CifraHQ can pre-fill the subject, recipients, and body automatically — no copy-pasting, no blank emails going out. Email Templates are where you define those pre-fills for each document type, so every customer-facing email looks professional and consistent from day one.

Where to find it

Go to Setup > Reporting > Email Templates.

Email Templates list page in CifraHQ.

Email Templates list, the per-event message bodies sent to Customers and Vendors.

How to create an email template

  1. Click New.
  2. Enter a Name and optional Description.
  3. Save — the template opens in the detail view.
  4. Link a Report — the Print Report this template applies to. This tells CifraHQ which template to offer when a user emails that document type.
  5. Fill in To Emails, CC Emails, and BCC Emails with comma-separated addresses, or leave them blank and type the address in the To field of the Send window each time. CifraHQ does not fill in the customer's or vendor's email address by itself: to have it filled in, put the variable @Customer.Email (or the matching vendor variable from the Available variables panel) in To Emails.
  6. Enter the Email Subject.
  7. Write the Email Body using the rich-text editor — full HTML formatting, logos, and tables are supported.

Your changes save automatically. The label at the top of the page shows where things stand: Saving..., Saved, or Unsaved changes. To save right away, click Save or press Ctrl+S (Cmd+S on a Mac). If you try to leave while something has not been saved, CifraHQ asks before discarding it.

To work on the HTML directly, click the </> button in the editor. Changes made there save the same way as the rest of the page.

Tips

  • Use the Clone button on the detail page to duplicate an existing template when you need a slight variation — for example, a Spanish-language version of the same invoice email or a different layout for a specific product line.
  • If To Emails is blank, the To field in the Send window starts empty and the person sending types the address. Send refuses an email with no recipient and says so, and the document is not marked as emailed. Fill in To Emails with a variable such as @Customer.Email to pre-fill the contact's address, or with a fixed address when you want to hard-route a document type regardless of the contact, for example, all Purchase Orders CC'd to your procurement inbox.
  • Each print report can have multiple email templates. CifraHQ presents all matching options at send time, so Users can choose the right one for the situation without extra Setup.

Available variables

The Available variables panel on the right of a template's detail page starts closed so the editor has more room. Open it with the button on the right edge, and CifraHQ remembers your choice. The panel lists every variable (also called a token) you can drop into the Email Subject or Email Body. At send time CifraHQ replaces each token with that document's real value, so one template serves every customer.

  • Tokens look like @Customer.Email, @Code, or @Summary.Total. Type them exactly as shown, including the leading @.
  • The list is grouped (Document, Customer, Bill to, Ship to, and so on) and is scoped to the template's linked report, so you only see tokens that apply to that document type.
  • Any token that is not in this list is left unchanged in the sent email, so stick to the listed variables.
  • If a value is empty on a given document (for example, a customer with no email), the token is simply removed from that email rather than shown as text.
  • Pay links: on Invoice and Sales Order templates, @BrokerPaymentUrl is the customer's online payment link (card, or a page to choose how to pay) and @YappyPaymentUrl goes straight to Pay with Yappy. Both are removed from the email when they do not apply (no payment broker set up, nothing left to pay, or Yappy not available to that customer). Put them in the body where you want the "Pay now" line; CifraHQ does not add them by itself.

Related: Print Reports · Invoices · Bill Payments · Purchase Orders · Quotes · Workflows

Was this page helpful?