Start a conversation

Sending Template Letter Using a Workflow

The following article refers to functionality available in Workflow builder, which can be accessed by going to:

Administration > HR > Workflows 

It is possible, using a workflow, to automatically populate a template letter, send it to an employee, and store it in their documents.  One example for this is to automate the generation of an employee contract or probation letter.  An additional use (which we will cover below) is a salary increase letter for a scheduled salary increase.

Before going into the how to set up the workflow, we will explain a bit further how template letter settings should be configured and the additional setup requirements when using them with workflows.

The relationship between Mandatory Document types, Templates and Workflows

When building the "Create template" step in your workflow, you will need to specify a mandatory document type.  This mandatory document type is then applied to a document template, and this is how the workflow knows which template to use to create the document.  So, in our example, of a salary increase the mandatory document type might be called "Salary increase documents" for example.  The template then might be called "Salary Increase Letter".  When we build the workflow step, you'll specify the "Salary increase documents" mandatory document type, and the workflow will use the "Salary Increase Letter" template that matches the type.

Adding a Mandatory Document Type

Mandatory document types can be set up under:

Administration > HR > Data Management > Mandatory Documents > Mandatory Documents

Click on the "Add" button at the bottom of the page to add a Mandatory Document type.  There are only two fields to complete on this page:

mceclip0.png

Creating the Template Document

The template document should be created in an application capable of creating Rich Text Format (RTF) files.  In our experience, generating these types of files in Microsoft Word can be problematic, so we would recommend using WordPad if available (on a Windows PC) and an alternative to Word if on a Mac or other type of device.

In our example of a Salary Increase Letter, below is an example of how we might use merge fields in the Template to inform the employee of their new salary:

mceclip0.png

The result in the generated document would look similar to the below:

mceclip1.png

Adding the Template Document to HRWize

The next stage is to add your document template to HRWize.  This can be done  by going on the left hand side menu and selecting Documents > Templates.

Click on the "Add" button to add a Template.

mceclip3.png
Note how I have chosen the "Salary Increase Documents" mandatory document type in the "Workflow - mandatory document" field.  It's this that links the document to the mandatory document type, which is what we will choose in our workflow. 

When this is used in conjunction with the Workflow - Sites option you can have multiple versions of the same template that relate to different sites. So I could create different templates for all my sites if needed for example, Set it with the same mandatory document type, and when the workflow triggers it will use the template that's appropriate to the employee's site.

Building the Workflow

The final step to automate the sending of our salary increase letters is to build a workflow.  In our example, we are going to build a Task -> Task workflow to send the letter.

In the below screenshot, we have added two steps to our workflow.  The first is the step which will generate the template letter and this is a Create Template step.  The second step will send an email to the employee to allow them to view the letter and this is a Send Link to Document step.
 

mceclip6.png

 

When adding the Create Template step you first need to select which Mandatory Document Type your template letter relates to, which in this case is a mandatory document type we set up earlier, called "Salary Increase".  You will also need to choose the Category (folder) to store the document generated from the template.

Finally, you can choose whether or not you require an electronic signature for this document.  These options are shown in the below screenshot.

mceclip7.png

 

This first step will create the employee's document from the template and store it in the chosen category.

On the second step, we have a Send link to document workflow step type. On this step, we will need to choose the document we wish to send a link to the employee. For this, we have chosen the "Salary Increase" mandatory document type as this is the mandatory document type we used when creating the document on the previous workflow step.

mceclip8.png

 This step sends a link to the document, which was created from the template in the previous step, to the employee.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Lara

  2. Posted

Comments