Automatic employees creation and update: Zenegy integration

How can I automatically create or update employees in Zenegy when an employment contract in Contractbook is signed?

  • First, we will configure the automatic record creation in the Zenegy payroll platform when an employment agreement in Contractbook is fully signed.
  • With this automation, you can automatically import data from any employment agreement signed through Contractbook to the relevant Zenegy employee by updating or creating their relevant record in the system.
  • The event which will trigger this automated workflow is the full signature of the employment contract by all relevant Signees. 
  • Here is a short video tutorial on the automation setup, and a step-by-step guide follows right after:

  • Click on Automations tab from the main menu and then on the blue button Create new at the upper right-hand corner.
  • You will be redirected to a pop-up window where you can customize the automation's setup.

How can I configure the trigger event?

  • The first thing you need to do is set the trigger event for the automation to be executed.
  • To begin with, in our example, select the Contract is signed trigger from the drop-down menu:

Screenshot_2022-05-23_at_08.54.51.png

  • This will automatically open a configuration window to the right in which you can define which contract should initiate the automation.
  • You can assign the trigger to every contract, only a contract drafted from a specific template or only a specific contract:

Screenshot_2022-05-23_at_09.45.51.png

  • We will use every contract drafted from a specific template for our automation flow.
  • If you have selected the same option as we did, you can then use the search bar below to find the template you want to use as a base for the automation trigger event:

Screenshot_2022-05-23_at_09.43.24.png

  • If you have several templates sharing the same name, click on the small eye icon, and the document will directly open for your review.
  • After choosing the correct file, you can select which signature should start the automation.
  • This extra configuration enables you to pick whether the trigger of the automation should be executed after each time a Signee completes a signature added to the contract (Every signature) or only after the last signature that defines the contract as fully signed is completed (Final signature).
  • Use the drop-down list to select the option to define whether creating or updating a Zenegy employee record should happen after each signature is added to the chosen contract or only after the last one.
  • In our use case, we will choose the Final signature option under the automation setup and expect all required signatures to be added first for the signed contract to trigger the Zenegy employee record update or creation.
  • After completing the trigger event configuration, you can confirm all customizations by clicking on Save, and the next step in the automation setup will be displayed.

How can I configure the action event?

This step covers the action that the trigger event you have just defined will automate. You can use the search bar to locate the option Create or update employee:

Screenshot_2022-05-19_at_15.23.12.png

A new configuration window will appear on the right side of the screen. Here you will be able to define the new Zenegy record configuration including Basic, Additional, and Banking details, Address, Information about employment, and Salary profile.

All of this can be done in three separate tabs that are directly linked to your Zenegy application: ProfileEmployee, and Salary:

Screenshot_2022-05-19_at_15.50.18.png

The configuration of all tabs is completely customizable and very easy to follow. Keep reading for guidelines on completing these configuration steps. 

How do I use the Profile tab?

  • The first configuration type is under the Profile tab. Under this tab, you can start by pulling the Basic contact details, including the new employee's email address, Name, and CPR number, which are also required data points.
  • You can manually type in any text input or use variables (Data fields) from the template used in the trigger event step ("Contract is signed") and auto-populating their values.
    You can do that by searching and populating the variables across the respective fields of each section under the Profile tab in the Automation Builder:

Screenshot_2022-05-19_at_15.07.20.png

Screenshot_2022-05-19_at_15.07.31.png

  • You can use any Parties or Signees' variables and define which specific Signee in the required signatures' sequence to be used for the essential details auto-population.
  • In most cases, the employee will be signing the contract after the employer, as in our case, the employee we want to create in Zenegy will be the Second contract Signee:

Screenshot_2022-05-21_at_07.37.31.png

  • Once you have filled in the Profile details of the Zenegy employee record, click Save, and the main profile data will be now used as a link with your Contractbook document to automatically create or update a new employee in your Zenegy payroll system.

How do I use the Employee tab?

  • Once you are done with the Profile tab of the configuration, you can then move to the Employee tab:

Screenshot_2022-05-19_at_15.07.43.png

  • The primary purpose of the Employee tab is to allow you the creation of a complete employment profile by automatically populating Data fields from the template chosen under the first step of the automation setup.

How can I use Party or Signee variables in my automation?

  • You can always use any Party or Signee variable when adding Data fields to the title or note under the information about employment section (Note: all details added here are optional).
  • This helps you deliver essential details to the new Zenegy employee record fetched directly from the associated with any contract Signee information.
  • You can connect the data of your Zenegy employment record to a specific job title, employment date, ancinity date, and salary type (a drop-down list under the salary type allows you multiple options for a single selection):

Screenshot_2022-05-20_at_08.16.53.png

How do I use the Salary tab?

  • The last possible configuration of the new Zenegy record automation step is placed under the Salary tab and represents the complete customized salary profile of the new employee's record in your Zenegy system:

Screenshot_2022-05-20_at_08.41.23.png

  • You can use the fields under this tab in the automation configuration to select one of the available in the drop-down lists options under Pay typePayment periodHourly Rate, and Number of hours:

Screenshot_2022-05-19_at_15.07.51.png

  • You can fetch the set salary and number of hours values from the respective Data fields added to the template you have selected in the previous automation setup step.
  • The payroll period can be selected as a single-choice option from the drop-down list:

Screenshot_2022-05-20_at_08.30.35.png

  • Once you have filled in the details in the last Salary tab, click Save to complete the whole automation configuration.

How can I start using my new Zenegy automation?

  • Once you have all three tabs you want to customize completed, click on Save to confirm the configuration of the complete automation and then Publish in the upper right-hand corner to set it into active use.

How can I rename the automation?

  • You can always rename the automation and its steps as you find fit by clicking on the small pen icon next to the generic title in the upper left-hand corner.
  • In the example we are working with, let us call it "Create or update employee in Zenegy":

Screenshot_2022-05-19_at_15.23.12.png

How can I make changes to published automation?

Note: If at one point you need to make any changes to the automation, remember to unpublish it first, then make the needed edits and click again on Publish to put the workflow into practice. You can control that by turning the Status toggle bar on or off: 

Screenshot_2022-05-20_at_08.56.20.png

How can I delete action in the Automation Builder?

At the very bottom of each action configuration window, you have the option to delete only this specific action and not the complete automation:

Screenshot_2022-05-23_at_09.32.58.png

How can I use the activity feed of my automation?

  • If you click on the three grey dots next to the status toggle bar, you will be able to open, rename, delete, duplicate, or see the activity feed of the automated configuration steps:

Screenshot_2022-05-20_at_08.56.48.png

  • Remember that the automation must be active (published) for the activities to be available and inactive (unpublished) to be deleted. 

How can I check the result of the automation?

Below you can find video guidance on the test performance and a step-by-step description of the process that will follow right after: 

  • For the test to be performed, you need to find the template you used in the trigger event of the automation setup, then first save the template as a new draft, turn it into a contract by initiating the signature process, then first sign it on your behalf and then fully by completing the signature of the relevant additional Signees.
  • You can start by testing the workflow without sending it to an external Party. To achieve that, you can add a testing account. You have login rights as the second Signee after yourself.
  • Note: As mentioned above, you must ensure that all relevant data points you want to add or update in your employee record in Zenegy are available in the prepared document in the form of Data fields.

Important note: The unique identifier of each Zenegy record is the CPR number of the employee, which will be automatically fetched from the National ID no. value of the Party details field at the top section of the contract.

  • Always add the correct value in this field, and do not leave it empty.
  • If this field is left blank, the automation will fail:

Screenshot_2022-05-21_at_10.03.37.png

  • As soon as the contract has been fully signed, go to your documents overview and check the Notifications under your account.
  • The status of the automation will be listed there as either successful or failed:

Screenshot_2022-05-20_at_08.57.02.png

How can I fix a failed automation? 

In case the automation has failed, you can access the detailed view by clicking on the failed notification in the list:

Screenshot_2022-05-21_at_08.17.55.png

  • In this view, you can identify the reason for the failure by expanding the failure to run details.
  • You can then use the information found there to change the automation from the configuration settings.

Screenshot_2022-05-21_at_08.13.03.png

  • In this case, the CPR number of the Party we have signed the agreement with is incorrect or missing, and we have to sign a new contract with the correct National ID no. field added to the Party's details:

Screenshot_2022-05-21_at_10.02.43.png

  • For the typed-in contract values to be accepted and added to the new hire's record in Zenegy, the relevant expected format must be applied to all fields, which include employee data we want to save as a result of the fully signed employment contract.

How does a new Zenegy record get created?

Screenshot_2022-05-20_at_08.59.38.png

  • If your automation has run successfully, you can return to your Zenegy platform and refresh the Employees page under your account.
  • A new record should be available among your list of employees:

Screenshot_2022-05-22_at_10.10.59.png

Note: By default, all Zenegy employee records will be listed in alphabetical order:

Screenshot_2022-05-22_at_10.12.53.png

  • The new record will be created with the same properties you have configured under the three tabs of the second automation step.
  • The related to employee data will be prefilled in references to all defined Data fields of the signed contract data:

The new Zenegy employee record is now completed and includes the specified by you data points associated with them; variables fetched directly from the fully signed employee contract, which triggers the automation flow. 

How does a Zenegy record get updated?

  • If the employee record you have signed the new contract with already exists in your Zenegy employees' database, a new record will not be created, but the existing one will be updated with any missing data.
  • It will be automatically fetched from the filled-in Data fields of the employment contract signed by the relevant employee. 
  • This means that after successfully running the automation, only present the signed contract fields will be updated, and the remaining ones that already exist in the Zenegy employee record will be left as they are without changing the data associated with them.
  • This usage type of Contractbook integration with Zenegy is perfect for any new changes to your employees' records, such as promotions leading to salary raises and higher positions.
  • If the employee is a pre-existing record, it will be recognized by the unique identifier of the profile (the CPR number of the employee). After the employee contract is fully signed and the automation runs, the missing Zenegy data under this employee record will be automatically updated regarding all new Data fields filled in the signed contract data, which are defined under the action event configuration step "Create or update employee."

Now that you have tested using Contractbook in-app integration with Zenegy across your automations, you are ready to save time and scale your business by automatically creating a new or updating an existing employee record in Zenegy each time an employment agreement in Contractbook is fully signed. No more manual work and risk of errors.

If you still need additional information or assistance, reach out to us at any time by contacting our Support Team.