Form settings guide
Quick quote form (ca_quote)
This is the short quote form for call backs and policy uploads. Customers who choose full details are sent on to the full details form. It runs a workflow that assigns each lead to a broker, follows up until they accept, and adds the lead to the SharePoint pipeline. Please read the warnings at the bottom before changing any lookup, workflow group or field type.
Lookups(Lookups group)
The Lookups group only shows when uv = a, which never happens, so customers can't see it. The lookups still run and fill in other fields from the link.
| b_id (Broker ID) | Broker lookup (source: Lookups-AughtersonsBrokers). ?b_id= fills the broker_ fields. A lead with a broker skips team assignment and goes straight to that broker to confirm. |
| ref | Referrer lookup (source: Lookups_AughtersonsReferrers). ?ref= fills ref_ref, ref_entity, ref_trading_name and ref_instructions. When ref_ref is filled, "How did you hear about us?" is skipped. |
Settings fields
| uv | User view. Defaults to c for customer. Never use uv=a in a link, as it would show the hidden Lookups group. |
| pid | Quick quote reference (e.g. ABC-DEF-GHJ-KLM). Shown to the customer, used in every email and in the pipeline, and passed to the full details form as ?pidu=. Random, not incremental or linked to customer information. Letters I and O are skipped so it can't be misread. |
| rn1 – rn12 | Random numbers converted into letters to form the pid. |
| et | Enquiry type: cmp = commercial property, bzp = business pack, cyb = cyber. Set by ?et=. A Choose One field (values 1/2/3, default cmp). Keep it Choose One: a Choose Multiple version was wiped when the broker lookup ran. |
| pqm | Pre-set quote method (?pqm=cb, pu or fd). Used when we already know how the customer wants to provide their details, so they don't have to choose. |
| quote_method | The customer's answer to "How would you prefer to provide the details for your quote?" |
| src | Source. Where the link sits, such as a particular website, intranet, banner or email. |
| cid | Campaign ID. Passes through campaign details without overcomplicating the source field. |
| entity | The business transacting the insurance (servicing entity). Set up as a field so it can be updated if CA creates any JVs or other entities. |
| broker_ fields | broker_id, broker_first_name, broker_last_name, broker_email_address, broker_phone, broker_mobile (sec_broker_details group). Filled by the b_id lookup from the link, or by the team's assignment in the workflow. broker_email_address decides the routing: blank means the lead needs assigning. |
| ref_ fields | ref_ref, ref_entity, ref_trading_name, ref_instructions. Filled by the ref lookup. Base any rules on these fields, not on ref itself. |
| lead_src / lead_src_detail | The customer's answer to "How did you hear about us?" and any detail they add. Keep the choice list identical to the full details form's. |
Calculation fields
| qm | Quote method: cb = call back, fd = full details, pu = policy upload. Uses pqm if set, otherwise quote_method. Drives the workflow and which emails are sent. |
| lead_qm_desc | The quote method as words (Call Back, Policy Upload, Full Form) for emails and the pipeline. |
| pol_enquiry_type | The et short code turned into a full title (e.g. "Business Insurance"). |
| submit_url | Where the customer goes after submitting. Full details: the full details form with ?pidu= and their reference. Everyone else: the thank you page. Used in Form Settings → Confirmation as https://{{submit_url}}. The redirect only accepts one variable, and calcs can't join text from a link, which is why the reference is rebuilt from rn1–rn12 inside this calc. |
Workflow(Form Settings → Workflows)
| 1. Public Form | The customer's form. Rules run in order: full details → complete (the customer is sent to the full details form); broker email filled → step 3; broker email blank → step 2. |
| 2. No broker? Send for assignment | Emails enquiries.ca to choose a broker (lead_wf_assigned_broker) and add any notes (broker_comments). Also sends the customer's confirmation email. |
| 3. Send to broker and follow up | Asks the broker to accept (lead_wf_response). Leads from a broker's own link get a "submitted via your link" version, and the customer's confirmation email is sent here instead (condition: lead_wf_assigned_broker is blank). Yes → step 5. No → step 4. |
| 4. Reassign declined lead | Urgent email to enquiries.ca to choose a new broker, then back to step 3. |
| 5. Accepted | Sends the broker the client's full contact details: a call back version, or a policy upload version with the uploaded files attached. |
Broker reminders (step 3)
Snapforms can only delay an email by a fixed number of hours, so there are three versions. Only the one matching the time of assignment sends. lead_assign_dow (1 = Mon … 7 = Sun) and lead_assign_hour (0–23, Melbourne time) are filled by a script in Custom JavaScript.
Same day: Mon–Fri before 3pm → 2 hours later
Next morning: Mon–Thu 3pm or later → 18 hours later
Monday: Friday 3pm or later → 66 hours later
"Send even if completed" is unticked, so reminders are cancelled once the broker responds. Weekend assignments get no reminder.
Field groups in the workflow
Anything the customer or the link filled in is View only (or Not visible) after step 1. If those groups are editable in a later step, hidden values such as et get submitted again blank. Only the wf_ groups the team or broker answer are editable. sec_broker_details stays View and Edit in steps 1, 2 and 4, so the assignment lookup can save the broker's details.
Pipeline
The Power Automate flow "CA Quote to Pipeline" adds each submission to the New Lead Pipeline list in SharePoint. It converts the start date to year-month-day, only adds "Client comment:" when there is one, and sets the item title to the client's name. If you rename a field used in the flow, update the flow too.
Before changing lookups, the workflow or field types
Lookups filled from a link must use the drop-down type ("User selects from a drop-down list"). The suggestions type only runs when someone clicks a suggestion.
Hide lookups with a group condition (uv = a), never the Hidden tick. A lookup ticked Hidden doesn't run, and a lookup hidden by a condition doesn't save its own value, so base rules on the fields it fills.
Auto-populate copies every field with a matching internal name. Fields in the broker and referrer forms that shouldn't be copied need their own prefix (brk_, ref_).
This form's fields are copied into the full details form by pidu. If you change a field's type or choices here, check the matching field on the full details form still accepts it, or Next can stop working there.
Workflow rules only run when a step is submitted, first matching rule first.
Workflow emails replace standard notifications while workflows are on.
Renaming a field keeps its rules; changing its type deletes them. Calc formulas, email merge codes and the Power Automate flow are plain text, so update them after any rename.