Super Admin Guide: Configure Automated Sales Quote Document Generation and Email
Overview
This guide walks Super Admins through configuring end-to-end automation to generate a Sales Quote document when a Backoffice quote or website quote is created and automatically email the document to the booker. The automation feature described here is typically restricted and used by CourseCo Admin; ensure you have access before proceeding.
Automations are not enabled by default for all roles. Confirm you have Super Admin access to the Automations module. If not, contact CourseCo Admin.
What You Will Configure
Upload and register a Sales Quote document template (directory:
sales_quote).Create or edit a messaging template for the sales quote email.
Automation 1: Generate the Sales Quote document when a Backoffice quote occurs.
Automation 2: Generate the Sales Quote document when a Website quote occurs.
Automation 2: Email the generated Sales Quote to the booker immediately after the invoice record is created.
Prerequisites
Super Admin access, including Files, Messaging Templates, and Automations.
Sales Quote template file ready (DOCX/PDF supported by your system).
Knowledge of any conditional rules (e.g., specific courses X, Y, Z) to scope automation.
Step 1 — Upload the Sales Quote Template
1.1 Upload to Files
Go to: File Manager or Files.
Create or open the directory named sales_quote.
Click Upload and add your Sales Quote template file (e.g.,
sales_quote_template.docx).Note the template’s name as it must be selectable later from a template dropdown.
Best practice: Store one approved template in sales_quote to avoid version confusion. If you update the template, keep the filename consistent and archive older versions.
Step 2 — Create or Edit the Messaging Template
2.1 Create/Edit Template
Navigate to: Messaging Templates.
Create a new template or edit an existing one named Sales Quote Confirmation Email (with Sales Quote doc attached).
Subject suggestion: Your Sales Quote for {{course_name}} – Quote {{invoice_number}}.
Greeting to the booker/contact.
Short summary: quote details, course, dates, and next steps.
Call-to-action: how to accept/confirm, payment options, or who to contact for changes.
Signature and support information.
Save the template.
Step 3 — Automation 1: Generate the Sales Quote Document
3.1 Create Automation
Go to: Automations → Create new.
Title: CREATE SALES QUOTE DOC.
Trigger: Backoffice quote occurs (or equivalent quote-created event).
Task/Action: Select Invoice Generate (this action generates the document).
Template: From the template dropdown, choose your uploaded Sales Quote template.
Share To Contact Variable: Set to Organisation ID (ensures the file saves to the organisation contact, not the individual booker).
Course IN [X, Y, Z].
Department, brand, location, or other scoping rules.
Execution Timing: Trigger immediately.
Save the automation.
Why “Share to Organisation ID”? This ensures the generated quote file is stored against the organisation-level contact record for better visibility and continuity, rather than the individual booker’s personal record.
Step 4 — Automation 2: Email the Generated Document to the Booker
4.1 Create Automation
Go to: Automations → Create new.
Title: Email Sales Quote to Booker.
Trigger: An invoice is generated (the prior automation’s action will satisfy this event).
Action: Email.
Recipient: Select the Booker (or enter the appropriate email field reference for the booking contact).
Message Template: Choose your template (e.g., Sales Quote Confirmation Email (with Sales Quote doc attached)).
Attach Document: Add the document token @nvoicefileid@ (system token referencing the just-generated quote file).
Condition: Payment method = Sales Quote (ensures this only sends for Sales Quote scenarios).
Execution Timing: Trigger immediately.
Save the automation.
Attachment token: Ensure the token is spelled exactly as supported by your platform. The provided token is @nvoicefileid@. If your system expects a different token (e.g., @invoicefileid@), update accordingly.
Validation and Testing
Create a test Backoffice quote for a test organisation and booker using the Sales Quote payment method.
Confirm Automation 1 runs: A quote document is generated and stored on the organisation contact record.
Confirm Automation 2 runs: An email is sent to the booker with the correct message template and the quote attached.
Open the attachment and verify content: course details, totals, terms, and branding.
Review audit logs or automation history to ensure both triggers fired immediately with no errors.
If everything is configured correctly, when a Backoffice sales quote is created, the system will first generate the quote document and then immediately email it to the booker with the document attached.
Reference Checklist
- Upload Sales Quote template to directory sales_quote
- Create/Edit messaging template “Sales Quote Confirmation Email (with attachment)”
- Automation 1 created: Title “CREATE SALES QUOTE DOC”, trigger Backoffice quote, task Invoice Generate, template selected, Share to Organisation ID, conditions set, immediate trigger
- Automation 2 created: Trigger invoice generated, action Email, recipient booker, message template selected, attach @nvoicefileid@, condition payment method = Sales Quote, immediate trigger
- Test and verify email with attachment