Write your own text into the Ascora job with scripts
A script is text you write, with the booking's answers dropped in as placeholders. Each script goes to one place in Ascora and is added after the sections ticked on Notes.
Before you start
- Scripts are a Business feature. On the Free plan the page shows a plan notice, the controls are disabled, and saving is refused with "Could not save scripts. The Business plan is required." What you wrote is kept and used when you move to the Business plan.
- A script is written into the job only if its place is switched on at Notes.
Step by step
- Open your form from Forms. On the Settings tab, open Scripts under Written to Ascora.
- Click Add script. It opens as "New script".
- Type a Script name. Only you see it.
- Under Goes to, pick Job description or Job note.
- Under Applies when, pick Every booking or A service is selected. For the second, choose the services under Which services.
- Write the text in Script. Click a placeholder on the right to insert it where the cursor is.
- Check What it says for a sample booking.
- Click Save. The page says "Scripts updated."
The arrows move a script up or down, and the order is the order scripts are written in. Edit and Close open and close a row. The bin icon deletes one after a "Confirm delete" prompt.
If you aim a script at a place that is switched off on Notes, nothing is written. On a quote form, the job description is the quote's description and the job note is a note on the quote.
Placeholders
Write a placeholder as {{name}}. The page lists each one as a button.
| Placeholder | Fills in |
|---|---|
{{service}} |
The service name |
{{date}} |
The booking date, such as Mon 5 Oct 2026 |
{{time}} |
The slot, such as 09:00 - 10:00 |
{{customer.name}} |
First and last name |
{{customer.company}} |
Company name |
{{customer.email}} |
Email address |
{{customer.phone}} |
Phone number |
{{customer.mobile}} |
Mobile |
{{customer.address}} |
The customer's address on one line |
{{site.contact}} |
The site contact's name |
{{site.contactphone}} |
The site contact's phone, or mobile if there is no phone |
{{site.name}} |
The site name |
{{site.address}} |
The site's address on one line |
{{site.suburb}} |
The site's suburb |
{{site.state}} |
The site's state |
{{site.postcode}} |
The site's postcode |
{{job.name}} |
The job name the customer typed |
{{job.description}} |
What the customer wrote under What needs doing? |
{{job.notes}} |
What the customer wrote in the notes |
{{job.reference}} |
The reference or order number |
{{booking.reference}} |
The Formpiece booking reference |
{{utm.source}} |
The UTM source |
{{utm.medium}} |
The UTM medium |
{{utm.campaign}} |
The UTM campaign |
Every active question on the form is also a placeholder, written with the question's label, such as {{Is the unit tenanted?}}. The match ignores capital letters. A question labelled like a built-in placeholder is left out of the list, because the built-in value is what that name says. See Questions.
{{date}} and {{time}} are empty for a callback, and for a booking where the customer found no time.
Lines with no answer disappear
A line that holds a placeholder the booking has no answer for is left out whole. "Is the unit tenanted? {{Tenanted}}" never reaches Ascora with nothing after it. A line with no placeholder is always kept. Blank lines at the end are dropped.
Write one fact on each line, so a missing answer takes away only its own line.
How it maps to Ascora
Scripts are written the way the sections on Notes are:
- Job description goes to the job's (or quote's) description.
- Job note goes to a note on the job (or quote), with
POST /Notes/Note.
Several scripts for one place are separated by a blank line.
When it goes wrong
Save says a script is set to a service but no service is chosen
The message reads "[name] is set to a service, but no service is chosen, so it would never be written. Choose a service, or set it to always."
A placeholder is written into Ascora as text
A placeholder is only filled when it matches a name in the list or a question's label exactly. A typo, such as {{customer.mail}}, matches nothing, so the whole line is left out. Click the placeholder button instead of typing it.
Nothing was written
- The place the script goes to is switched off on Notes.
- The script is set to services, and the booking was for another service.
- Every line of the script held a placeholder with no answer.
- The account is on the Free plan.
My change is not on the form
Saving publishes the form. If the page says the form could not be published, the change is saved and the form needs publishing again.