diff --git a/load_data/mail_automations.json b/load_data/mail_automations.json index 0cade4d5e..d9a443355 100644 --- a/load_data/mail_automations.json +++ b/load_data/mail_automations.json @@ -1,290 +1,314 @@ [ - { - "model": "horilla_automations.mailautomation", - "pk": 1, - "fields": { - "created_at": "2025-06-30T06:35:03.533Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Leave Request Automation", - "method_title": "leave_request_automation", - "model": "leave.models.LeaveRequest", - "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", - "mail_details": "employee_id__employee_work_info__reporting_manager_id__pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 1, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 2, - "fields": { - "created_at": "2025-06-30T06:35:03.555Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Leave Allocation Automation", - "method_title": "leave_allocation_automation", - "model": "leave.models.LeaveAllocationRequest", - "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", - "mail_details": "employee_id__pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 2, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 3, - "fields": { - "created_at": "2025-06-30T06:35:03.575Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "New Candidate Automation", - "method_title": "new_candidate_automation", - "model": "recruitment.models.Candidate", - "mail_to": "['recruitment_id__recruitment_managers__get_mail', 'stage_id__stage_managers__get_mail']", - "mail_details": "referral__employee_work_info__reporting_manager_id__pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 3, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 4, - "fields": { - "created_at": "2025-06-30T06:35:03.600Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Interview Automation", - "method_title": "interview_automation", - "model": "recruitment.models.InterviewSchedule", - "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", - "mail_details": "candidate_id__pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 4, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 5, - "fields": { - "created_at": "2025-06-30T06:35:03.620Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Recruitment Manager Automation", - "method_title": "recruitment_manager_automation", - "model": "recruitment.models.Recruitment", - "mail_to": "['recruitment_managers__employee_work_info__reporting_manager_id__get_email']", - "mail_details": "description", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 5, - "delivery_channel": "notification", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
C2Recruitment managers\r\n !=\r\n
\r\n Or\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and&automation_multiple_condition=automation_multiple_recruitment_managers&condition=!%3D&automation_multiple_condition=&logic=or", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
C2Recruitment managers\r\n !=\r\n
\r\n Or\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 6, - "fields": { - "created_at": "2025-06-30T06:35:03.644Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Stage Manager Automation", - "method_title": "stage_manager_automation", - "model": "recruitment.models.Stage", - "mail_to": "['stage_managers__get_email']", - "mail_details": "recruitment_id__description", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 6, - "delivery_channel": "both", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage managers\r\n !=\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_stage_managers&condition=!%3D&automation_multiple_condition=&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 7, - "fields": { - "created_at": "2025-06-02T09:28:27.362Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Offer of Employment at {{nstance.get_company}}", - "method_title": "offer_of_employment_at_{{instance.get_company}}", - "model": "recruitment.models.Candidate", - "mail_to": "['get_email']", - "mail_details": "pk", - "mail_detail_choice": "", - "trigger": "on_update", - "mail_template": 7, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Hired\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 8, - "fields": { - "created_at": "2025-06-02T09:48:13.418Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Candidate {{instance.get_full_name}} is Hired.", - "method_title": "new_hired_candidate", - "model": "recruitment.models.Candidate", - "mail_to": "['recruitment_id__recruitment_managers__get_mail']", - "mail_details": "pk", - "mail_detail_choice": "", - "trigger": "on_update", - "mail_template": 8, - "delivery_channel": "notification", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Hired\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 9, - "fields": { - "created_at": "2025-06-02T10:28:32.477Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Application Received – {{instance.get_job_position}} at {{instance.get_company}}", - "method_title": "application_received_–_{{instance.get_job_position}}_at_{{instance.get_company}}", - "model": "recruitment.models.Candidate", - "mail_to": "['get_email']", - "mail_details": "pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 9, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Applied\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=applied&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 10, - "fields": { - "created_at": "2025-06-07T08:25:05.235Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "OKR for {{instance.employee_id}} has been updated by {{self.get_full_name}}", - "method_title": "okr_updated", - "model": "pms.models.EmployeeKeyResult", - "mail_to": "['employee_objective_id__objective_id__managers__get_email']", - "mail_details": "employee_objective_id__employee_id__pk", - "mail_detail_choice": "", - "trigger": "on_update", - "mail_template": 10, - "delivery_channel": "notification", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Current value\r\n !=\r\n \r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_current_value&condition=!%3D&automation_multiple_condition=0&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 11, - "fields": { - "created_at": "2025-06-09T10:53:19.511Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Access your Horilla Portl", - "method_title": "access_your_horilla_portl", - "model": "employee.models.Employee", - "mail_to": "['get_email']", - "mail_details": "pk", - "mail_detail_choice": "", - "trigger": "on_create", - "mail_template": 11, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } - }, - { - "model": "horilla_automations.mailautomation", - "pk": 12, - "fields": { - "created_at": "2025-06-09T11:43:48.332Z", - "created_by": 1, - "modified_by": 1, - "is_active": true, - "title": "Track your recruitment progress at {{instance.get_company}}", - "method_title": "track_your_recruitment_progress_at_{{instance.get_company}}", - "model": "recruitment.models.Candidate", - "mail_to": "['get_email']", - "mail_details": "pk", - "mail_detail_choice": "", - "trigger": "on_update", - "mail_template": 12, - "delivery_channel": "email", - "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Stage type | Stage\r\n ==\r\n Initial\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", - "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=initial&logic=and", - "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Stage type | Stage\r\n ==\r\n Initial\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n ", - "also_sent_to": [], - "template_attachments": [] - } + { + "model": "horilla_automations.mailautomation", + "pk": 1, + "fields": { + "created_at": "2025-06-30T06:35:03.533Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Leave Request Automation", + "method_title": "leave_request_automation", + "model": "leave.models.LeaveRequest", + "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "employee_id__employee_work_info__reporting_manager_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 1, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 2, + "fields": { + "created_at": "2025-06-30T06:35:03.555Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Leave Allocation Automation", + "method_title": "leave_allocation_automation", + "model": "leave.models.LeaveAllocationRequest", + "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "employee_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 2, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 3, + "fields": { + "created_at": "2025-06-30T06:35:03.575Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "New Candidate Automation", + "method_title": "new_candidate_automation", + "model": "recruitment.models.Candidate", + "mail_to": "['recruitment_id__recruitment_managers__get_mail', 'stage_id__stage_managers__get_mail']", + "mail_details": "referral__employee_work_info__reporting_manager_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 3, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 4, + "fields": { + "created_at": "2025-06-30T06:35:03.600Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Interview Automation", + "method_title": "interview_automation", + "model": "recruitment.models.InterviewSchedule", + "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "candidate_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 4, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 5, + "fields": { + "created_at": "2025-06-30T06:35:03.620Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Recruitment Manager Automation", + "method_title": "recruitment_manager_automation", + "model": "recruitment.models.Recruitment", + "mail_to": "['recruitment_managers__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "description", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 5, + "delivery_channel": "notification", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
C2Recruitment managers\r\n !=\r\n
\r\n Or\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and&automation_multiple_condition=automation_multiple_recruitment_managers&condition=!%3D&automation_multiple_condition=&logic=or", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
C2Recruitment managers\r\n !=\r\n
\r\n Or\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 6, + "fields": { + "created_at": "2025-06-30T06:35:03.644Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Stage Manager Automation", + "method_title": "stage_manager_automation", + "model": "recruitment.models.Stage", + "mail_to": "['stage_managers__get_email']", + "mail_details": "recruitment_id__description", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 6, + "delivery_channel": "both", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage managers\r\n !=\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_stage_managers&condition=!%3D&automation_multiple_condition=&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 7, + "fields": { + "created_at": "2025-06-02T09:28:27.362Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Offer of Employment at {{nstance.get_company}}", + "method_title": "offer_of_employment_at_{{instance.get_company}}", + "model": "recruitment.models.Candidate", + "mail_to": "['get_email']", + "mail_details": "pk", + "mail_detail_choice": "", + "trigger": "on_update", + "mail_template": 7, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Hired\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 8, + "fields": { + "created_at": "2025-06-02T09:48:13.418Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Candidate {{instance.get_full_name}} is Hired.", + "method_title": "new_hired_candidate", + "model": "recruitment.models.Candidate", + "mail_to": "['recruitment_id__recruitment_managers__get_mail']", + "mail_details": "pk", + "mail_detail_choice": "", + "trigger": "on_update", + "mail_template": 8, + "delivery_channel": "notification", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Hired\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 9, + "fields": { + "created_at": "2025-06-02T10:28:32.477Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Application Received – {{instance.get_job_position}} at {{instance.get_company}}", + "method_title": "application_received_–_{{instance.get_job_position}}_at_{{instance.get_company}}", + "model": "recruitment.models.Candidate", + "mail_to": "['get_email']", + "mail_details": "pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 9, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1Stage type | Stage\r\n ==\r\n Applied\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=applied&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 10, + "fields": { + "created_at": "2025-06-07T08:25:05.235Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "OKR for {{instance.employee_id}} has been updated by {{self.get_full_name}}", + "method_title": "okr_updated", + "model": "pms.models.EmployeeKeyResult", + "mail_to": "['employee_objective_id__objective_id__managers__get_email']", + "mail_details": "employee_objective_id__employee_id__pk", + "mail_detail_choice": "", + "trigger": "on_update", + "mail_template": 10, + "delivery_channel": "notification", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Current value\r\n !=\r\n \r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_current_value&condition=!%3D&automation_multiple_condition=0&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 11, + "fields": { + "created_at": "2025-06-09T10:53:19.511Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Access your Horilla Portl", + "method_title": "access_your_horilla_portl", + "model": "employee.models.Employee", + "mail_to": "['get_email']", + "mail_details": "pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 11, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Is active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 12, + "fields": { + "created_at": "2025-06-09T11:43:48.332Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Track your recruitment progress at {{instance.get_company}}", + "method_title": "track_your_recruitment_progress_at_{{instance.get_company}}", + "model": "recruitment.models.Candidate", + "mail_to": "['get_email']", + "mail_details": "pk", + "mail_detail_choice": "", + "trigger": "on_update", + "mail_template": 12, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Stage type | Stage\r\n ==\r\n Initial\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=initial&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Stage type | Stage\r\n ==\r\n Initial\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 13, + "fields": { + "created_at": "2025-07-23T06:31:48.598Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Work Type Request from {{instance.employee_id}}", + "method_title": "work_type_request_from_{{instance.employee_id}}", + "model": "base.models.WorkTypeRequest", + "mail_to": "['employee_id__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "employee_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 13, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Is Active\r\n ==\r\n
\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } + } ] diff --git a/load_data/mail_templates.json b/load_data/mail_templates.json index 430721d2b..17098f941 100644 --- a/load_data/mail_templates.json +++ b/load_data/mail_templates.json @@ -1,158 +1,171 @@ [ - { - "model": "base.horillamailtemplate", - "pk": 1, - "fields": { - "created_at": "2025-06-30T06:35:03.434Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Leave Request Template", - "body": "

This is to inform you that {{ model_instance.employee_id }} has submitted a leave request for {{model_instance.requested_days}} days. Please take the necessary actions to review and process the request at your earliest convenience.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance.employee_id }}.

Thank you for your prompt attention to this matter.

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 2, - "fields": { - "created_at": "2025-06-30T06:35:03.460Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Leave Allocation Request Template", - "body": "

This is to inform you that {{ model_instance.employee_id }} has submitted a leave allocation request for {{model_instance.requested_days}} days. Please take the necessary actions to review and process the request at your earliest convenience.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance.employee_id }}.

Thank you for your prompt attention to this matter. 

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 3, - "fields": { - "created_at": "2025-06-30T06:35:03.478Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Candidate Added Template", - "body": "

This is to inform you that {{ model_instance}} has been added to the recruitment {{model_instance.recruitment_id}}. Please take the necessary actions.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance}}.

Thank you for your prompt attention to this matter.

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 4, - "fields": { - "created_at": "2025-06-30T06:35:03.497Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Interview Template", - "body": "

This is to inform you that an interview has been scheduled for {{model_instance.candidate_id}} on {{model_instance.interview_date}} at {{model_instance.interview_time}}.

Kindly take the necessary steps to prepare for or facilitate this interview as appropriate.

Thank you for your prompt attention to this matter.

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 5, - "fields": { - "created_at": "2025-06-30T06:35:03.515Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Add As Recruitment Manager Template", - "body": "

We are pleased to inform you that you have been assigned as the Recruitment Manager for {{ model_instance}}.

You may now proceed with the necessary steps to manage the recruitment process. Should you require any additional information or resources, please don't hesitate to reach out.

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 6, - "fields": { - "created_at": "2025-06-30T06:36:05.669Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Add As Stage Manager Template", - "body": "

We are pleased to inform you that you have been assigned as the Stage Manager for {{ model_instance}}.

You may now proceed with the necessary steps to manage the recruitment stage process. Should you require any additional information or resources, please don't hesitate to reach out.

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 7, - "fields": { - "created_at": "2025-06-02T08:56:53.382Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Offer letter Automation", - "body": "

Dear {{instance.get_full_name}},

We are pleased to extend to you an offer of employment for the position of {{instance.get_job_position}} at {{instance.get_company}}. We were very impressed by your qualifications and believe you will be a valuable addition to our team.

Offer Details:

Warm regards,

{{self.get_full_name}}

{{self.get_job_position}} | {{self.get_company}}

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 8, - "fields": { - "created_at": "2025-06-02T09:03:19.682Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Candidate Hired Notification Automation", - "body": "

Candidate {{instance.get_full_name}} is Hired

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 9, - "fields": { - "created_at": "2025-06-02T09:21:40.929Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Application Received Automation", - "body": "

Dear {{instance.get_full_name}},

Thank you for applying for the {{instance.get_job_position}} position at {{instance.get_company}}. We have received your application, and our team will be reviewing your profile shortly. 

If your qualifications match our requirements, we will reach out to you to discuss the next steps in the hiring process. Regardless of the outcome, we appreciate your interest in joining our team.

Thank you again for considering {{instance.get_company}}. We wish you all the best!

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 10, - "fields": { - "created_at": "2025-06-03T06:48:48.607Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "OKR Updated Automation", - "body": "

OKR has been updated

", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 11, - "fields": { - "created_at": "2025-06-09T10:21:25.298Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Employee Portal Access Automation", - "body": "

Hi {{instance.get_full_name}},

Access following link {{ request.scheme }}://{{ request.get_host }} to access Horilla HR employee self service portal

Username: {{instance.employee_user_id.username}}
Initial Password: {{instance.phone}}

Reset after first login
", - "company_id": null - } - }, - { - "model": "base.horillamailtemplate", - "pk": 12, - "fields": { - "created_at": "2025-06-09T11:03:19.494Z", - "created_by": 1, - "modified_by": 1, - "is_active": false, - "title": "Candidate Self Tracking Portal Automation", - "body": "

Hi {{instance.get_full_name}},

Follow the link {{ request.scheme }}://{{ request.get_host }}/recruitment/candidate-login to track you progress

Username/email: {{instance.get_mail }}

Passsword/mobile: {{ instance.mobile }}

{% if request.user.employee_get %}

Regards

{{self.get_full_name}} | {{self.get_department}} | {{self.get_company }}

{% endif %}

", - "company_id": null - } + { + "model": "base.horillamailtemplate", + "pk": 1, + "fields": { + "created_at": "2025-06-30T06:35:03.434Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Leave Request Template", + "body": "

This is to inform you that {{ model_instance.employee_id }} has submitted a leave request for {{model_instance.requested_days}} days. Please take the necessary actions to review and process the request at your earliest convenience.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance.employee_id }}.

Thank you for your prompt attention to this matter.

", + "company_id": null } + }, + { + "model": "base.horillamailtemplate", + "pk": 2, + "fields": { + "created_at": "2025-06-30T06:35:03.460Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Leave Allocation Request Template", + "body": "

This is to inform you that {{ model_instance.employee_id }} has submitted a leave allocation request for {{model_instance.requested_days}} days. Please take the necessary actions to review and process the request at your earliest convenience.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance.employee_id }}.

Thank you for your prompt attention to this matter. 

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 3, + "fields": { + "created_at": "2025-06-30T06:35:03.478Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Candidate Added Template", + "body": "

This is to inform you that {{ model_instance}} has been added to the recruitment {{model_instance.recruitment_id}}. Please take the necessary actions.


If you require any additional information or updates, feel free to communicate directly with {{ model_instance}}.

Thank you for your prompt attention to this matter.

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 4, + "fields": { + "created_at": "2025-06-30T06:35:03.497Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Interview Template", + "body": "

This is to inform you that an interview has been scheduled for {{model_instance.candidate_id}} on {{model_instance.interview_date}} at {{model_instance.interview_time}}.

Kindly take the necessary steps to prepare for or facilitate this interview as appropriate.

Thank you for your prompt attention to this matter.

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 5, + "fields": { + "created_at": "2025-06-30T06:35:03.515Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Add As Recruitment Manager Template", + "body": "

We are pleased to inform you that you have been assigned as the Recruitment Manager for {{ model_instance}}.

You may now proceed with the necessary steps to manage the recruitment process. Should you require any additional information or resources, please don't hesitate to reach out.

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 6, + "fields": { + "created_at": "2025-06-30T06:36:05.669Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Add As Stage Manager Template", + "body": "

We are pleased to inform you that you have been assigned as the Stage Manager for {{ model_instance}}.

You may now proceed with the necessary steps to manage the recruitment stage process. Should you require any additional information or resources, please don't hesitate to reach out.

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 7, + "fields": { + "created_at": "2025-06-02T08:56:53.382Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Offer letter Automation", + "body": "

Dear {{instance.get_full_name}},

We are pleased to extend to you an offer of employment for the position of {{instance.get_job_position}} at {{instance.get_company}}. We were very impressed by your qualifications and believe you will be a valuable addition to our team.

Offer Details:

Warm regards,

{{self.get_full_name}}

{{self.get_job_position}} | {{self.get_company}}

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 8, + "fields": { + "created_at": "2025-06-02T09:03:19.682Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Candidate Hired Notification Automation", + "body": "

Candidate {{instance.get_full_name}} is Hired

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 9, + "fields": { + "created_at": "2025-06-02T09:21:40.929Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Application Received Automation", + "body": "

Dear {{instance.get_full_name}},

Thank you for applying for the {{instance.get_job_position}} position at {{instance.get_company}}. We have received your application, and our team will be reviewing your profile shortly. 

If your qualifications match our requirements, we will reach out to you to discuss the next steps in the hiring process. Regardless of the outcome, we appreciate your interest in joining our team.

Thank you again for considering {{instance.get_company}}. We wish you all the best!

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 10, + "fields": { + "created_at": "2025-06-03T06:48:48.607Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "OKR Updated Automation", + "body": "

OKR has been updated

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 11, + "fields": { + "created_at": "2025-06-09T10:21:25.298Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Employee Portal Access Automation", + "body": "

Hi {{instance.get_full_name}},

Access following link {{ request.scheme }}://{{ request.get_host }} to access Horilla HR employee self service portal

Username: {{instance.employee_user_id.username}}
Initial Password: {{instance.phone}}

Reset after first login
", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 12, + "fields": { + "created_at": "2025-06-09T11:03:19.494Z", + "created_by": 1, + "modified_by": 1, + "is_active": false, + "title": "Candidate Self Tracking Portal Automation", + "body": "

Hi {{instance.get_full_name}},

Follow the link {{ request.scheme }}://{{ request.get_host }}/recruitment/candidate-login to track you progress

Username/email: {{instance.get_mail }}

Passsword/mobile: {{ instance.mobile }}

{% if request.user.employee_get %}

Regards

{{self.get_full_name}} | {{self.get_department}} | {{self.get_company }}

{% endif %}

", + "company_id": null + } + }, + { + "model": "base.horillamailtemplate", + "pk": 13, + "fields": { + "created_at": "2025-07-23T06:30:13.020Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Work Type Request", + "body": "
Dear {{ model_instance.employee_id.get_reporting_manager }},\n\nA new work type change request has been submitted by {{ model_instance.employee_id }}.\n\nPlease review the request details below:\n\nEmployee: {{ model_instance.employee_id }}  \nCurrent Work Type: {{ model_instance.previous_work_type_id }}  \nRequested Work Type: {{ model_instance.work_type_id }}  \nRequested From: {{ model_instance.requested_date }}  \nRequested Till: {{ model_instance.requested_till }}\n\nDescription:  \n{{ model_instance.description }}\n\nPlease log in to the HRMS system:  \n{{ request.scheme }}://{{ request.get_host }}/employee/work-type-request-view/?id={{ model_instance.id }}  \nto review and take appropriate action on this request.\n\nThis is an automated message from the HRMS system.\n\nRegards,  \n{{ model_instance.employee_id.get_company }}
", + "company_id": 1 + } + } ]