.. include:: /Includes.rst.txt .. _handbook-hr-automations: =========== Automations =========== An automation sends a mail or a message in adsum by itself, for example a greeting on an employee's birthday or a note to the manager when someone moves to another department. Open :guilabel:`Organisation > Automations`. .. figure:: /Images/Handbook/automations.png :alt: The editor of an automation :class: with-shadow The editor of an automation. Start from a ready-made automation ================================== #. On the tab :guilabel:`Ready-made`, select :guilabel:`Add` next to an automation, such as the birthday greeting. #. It is active at once, together with its mail template, which you can change under :ref:`mail templates `. Set up an automation ==================== #. On the tab :guilabel:`Automations`, select :guilabel:`New automation` and enter a :guilabel:`Name`. #. Choose under :guilabel:`When` what starts it. For a birthday or anniversary, set the days before or after. #. Add :guilabel:`Conditions` if it should run only for some people, for example :guilabel:`Department` :guilabel:`is` Sales. Choose whether all of them or at least one must be met; a group combines conditions of its own. #. Under :guilabel:`Recipients`, tick who receives it, such as the employee or their manager, and add employees or up to 10 addresses, such as a shared mailbox. #. Choose how it is :guilabel:`Sent as`, the :guilabel:`Mail template` and, if needed, documents. #. Save. Try it first ============ Below the settings, choose an employee and select :guilabel:`Try`. You see whether the conditions are met, who would receive it and the mail in each language. :guilabel:`Send to me` sends the mail to you only. Follow the runs =============== The tab :guilabel:`Runs` lists each time an automation ran. Open a run to see who received what and why someone did not, for example because a birthday is not shared. Good to know ============ - A recipient gets only data they may see; adsum refuses to save an automation whose template would show them more. - A change runs it once when the change makes its conditions true; later changes run it only after they became untrue in between. - Birthday greetings reach others than the person and HR only if the person shares their birthday. - Runs are kept for a year.