Automations allow you to easily process repetitive tasks, or introduce time-saving benefits by automating emails, document creation, and much more.
Using Merge fields, you can personalise the Automation process steps specific to your needs. For example, automatically create a job customised with the Client's name.
Merge fields are added to your steps, and need to be added in a specific format.
Automation Fields available to use Merge Fields
- Name e.g. Job Name, Filing Name etc
- Comments
- Budget
- Description
- Custom Fields (when used with the Job Rollover process)
Adding Merge Fields to Automations
To add a Merge Field, you will need to add a step to your Automation Process. For detailed step-by-step instructions on creating an Automation Process Step refer to Automation Process Steps.
- Open the Process.
- Click Add Step.
- Select your function e.g. Create Word.
- Enter any text to be added to the name as required e.g. Notice of Assessment.
- In the Name field click the three dots icon (...) to load the Merge Fields window.
Note: The Create Job step will need to have Merge Fields manually typed into the field.
- Click the tabs on the right to view a list of merge fields; click on the field to add it to the Name.
Note: Some Merge Fields are only supported for specific steps. Refer to the section Merge Fields Available For Specific Steps below. For users of Xero Practice Manager, please note that Custom Merge Fields will only retrieve data from the Client, and not the Job.
- For advanced formatting options and additional fields, refer to Advanced Merge Fields and Formatting below.
- Click Save to save the changes.
- Update the remaining Process Step details as required to add the step to your automation.
- Continue to create your automation; refer to Automation Process Steps for more information.
Merge Fields Available For Specific Steps
Some Merge Fields are only supported or specific steps.
Merge Field | Details |
{{ComplianceYear}} | Only available with BGL and NowInfinity Integrations. Refer to: |
{{OriginalFileName}} | Only available with the Alter Document step. Refer to Process Step Details – Alter Document. |
Download Merge Fields Comprehensive Guide
Click here to download the FYI Merge Fields Comprehensive Guide.
In this document, you'll find a list of Merge Fields to copy and paste into your Automation fields (refer to Automation Fields available to use Merge Fields above). You'll also find a copy of the link at the bottom of the article.
Advanced Merge Fields and Formatting
For more advanced merge fields, you can use formatters and even add text or perform calculations.
When adding the formatters, the pipe character ( | ) is added by typing the Shift + Backslash (\) key. Ensure that the spaces are added correctly as in the examples.
Note: Pasting the formula into an Office app may change the quotation marks to a right-angle quotes character, which causes an error when the formula is used in FYI. If you encounter an error, try replacing the quotation marks using the character ". Hold shift and press the quotation key to enter this character.
Format | Details |
Format dates {{"now" | date: "%d %B %Y"}} |
Returns the current time formatted to day month year e.g. 17 May 2023. You can use any combination of the Formatting options, for example use only the month, or month and year. Formatting options:
Use capitals for either the month or the year to display the full month text and year. |
add_interval {{ "now" | add_interval: "-1 month" | date: "%B %Y" }} |
Calculates a new date by adding/subtracting a specified time period, referred to as an "Interval". This can be used for:
Replace "now" with your merge field e.g. DateOfBirth. Requirements for using the interval
|
start_of {{"now" | start_of: "quarter" | date: "%d %B %y"}}
|
Change a date to the start of a specified period - month, quarter, or year. For example, if you had a job that was to be created at the start of each month. Requirements for using start_of:
|
Constant Date "2023-03-01" |
Used to enter a specific date. This can be combined with the formatters above. For example, entering {{"2023-05-18" | start_of: "year" | date: "%d-%m-%y"}} would result in the date 01-01-23 (the first day of the year, formatted as d-m-y). |
url_encode {{ ClientName | url_encode }} |
Converts any URL-unsafe characters to allow merge fields to be used as part of a website address. E.g. the Client Name “Cobb & Co” would become “Cobb+&26+Co”. |
Multiplying values {{ (field) | times: (value) }}
|
Multiplies the field by the amount specified. e.g. {{ Trigger_custom_Engagement_Budget | times: 1.03 }} Can be combined with "round" to multiply and round to a whole number e.g. {{ Trigger_custom_Engagement_Budget | times: 1.03 | round }} |
Dividing values {{ (field) | divided_by: (value) }} |
Divides the field by the value specified. e.g. e.g. {{ Trigger_custom_Engagement_Budget | divided_by: 1.03 }} Can be combined with "round" to divide and round to a whole number e.g. {{ Trigger_custom_Engagement_Budget | divided_by: 1.03 | round }} |
Round {{ (field) | times: 1.03 | round }}
|
Used to round to a whole number e.g. 2.7 would be rounded to 3, 1.2 would be rounded to 1.
|
When used together, you could create an advanced Merge Field like:
- {{"now" | add_interval: "1 month" | start_of: "quarter" | date: "%d %B %y"}}
If today's date was the 18th of May 2023, it would:
- Add a month (18th June 2023).
- Determine the start date of that quarter (1st April 2023).
- Format the date (01 April 23).
Job Rollover Merge Fields
The "Create Job" process step can be used to create new jobs using the values from the Job that triggered the process. For example, when creating jobs at the end of the year.
For more information refer to the section "Create Job(s) using Values from the Trigger Job(s) - Copy from Trigger" in the article Process Step Details - Updating Clients, Creating and Updating Jobs
Merge Field | Details |
{{TriggerName}} | Used for the Name, this merge field automatically creates a Job with a name as per the name of the job used to trigger the automation |
{{TriggerBudget}} | Enters a budget matching the job that triggered the automation |
{{TriggerDescription}} | Used for the Description field, this enters a description matching the job that triggered the automation |
{{Trigger(CustomField)}} |
Use any Custom Fields with a type of "Text" as a merge field, as long as the field was populated from the original job that triggered the automation. The merge field is entered using both the phrase "Trigger" and the Custom Field Name, without any spaces. For example, {{TriggerAdministration}} Requirements:
|