Files
ihrm/load_data/mail_automations.json

459 lines
1.1 MiB
JSON
Raw Normal View History

[
{
"model": "horilla_automations.mailautomation",
"pk": 1,
"fields": {
"created_at": "2025-07-24T07:30:08.899Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Review Leave Request - {{ instance.employee_id }} ({{ instance.requested_days }} Days)",
"method_title": "review_leave_request_-_{{_instance.employee_id_}}_({{_instance.requested_days_}}_days)",
"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": 3,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Employee&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;},{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_employee_id__badge_id&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Badge id | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__employee_user_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;User | Employee&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;admin&quot;}]},{&quot;name&quot;:&quot;automation_multiple_employee_id__employee_first_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;First name | Employee&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_employee_id__employee_last_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Last name | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__employee_profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Employee profile | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__email&quot;,&quot;type&quot;:&quot;EmailInput&quot;,&quot;label&quot;:&quot;Email | Employee&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_employee_id__phone&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Phone | Employee&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_employee_id__address&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Address | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__country&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Country | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__state&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;State | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__city&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;City | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__zip&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Zip | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__dob&quot;,&quot;type&quot;:&quot;DateInput&quot;,&quot;label&quot;:&quot;Dob | Employee&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_employee_id__gender&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Gender | Employee&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;male&quot;,&quot;label&quot;:&quot;Male&quot;},{&q
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 2,
"fields": {
"created_at": "2025-07-24T07:30:08.931Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Review Leave Allocation Request - {{ instance.employee_id }}",
"method_title": "review_leave_allocation_request_π╗_{{_instance.employee_id_}}",
"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": 4,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Leave type&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Leave type&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__icon&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Icon | Leave type&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name | Leave type&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__color&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Color | Leave type&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__payment&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Payment | Leave type&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;paid&quot;,&quot;label&quot;:&quot;Paid&quot;},{&quot;value&quot;:&quot;unpaid&quot;,&quot;label&quot;:&quot;Unpaid&quot;}]},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__count&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Count | Leave type&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__period_in&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Period in | Leave type&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;day&quot;,&quot;label&quot;:&quot;Day&quot;},{&quot;value&quot;:&quot;month&quot;,&quot;label&quot;:&quot;Month&quot;},{&quot;value&quot;:&quot;year&quot;,&quot;label&quot;:&quot;Year&quot;}]},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__limit_leave&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Limit leave | Leave type&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__total_days&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Total days | Leave type&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__reset&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Reset | Leave type&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__is_encashable&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is encashable | Leave type&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_leave_type_id__reset_based&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Reset based | Leave type&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;},{&quot;value&quot;:&quot;yearly&quot;,&quot;label&quot;:&quot;Ye
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 3,
"fields": {
"created_at": "2025-07-24T07:30:08.957Z",
"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": 5,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name&quot;,&quot;required&quot;:true,&quot;max_length&quot;:100},{&quot;name&quot;:&quot;automation_multiple_profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Profile&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_portfolio&quot;,&quot;type&quot;:&quot;URLInput&quot;,&quot;label&quot;:&quot;Portfolio&quot;,&quot;required&quot;:false,&quot;max_length&quot;:200},{&quot;name&quot;:&quot;automation_multiple_recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__vacancy&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Vacancy | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__recruitment_managers&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Recruitment managers | Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__survey_templates&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Survey templates | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__company_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Company | Recruitment&quot;,&quot;required&quot;:false},{&quot;
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 4,
"fields": {
"created_at": "2025-07-24T07:30:08.983Z",
"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": 6,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Candidate&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_candidate_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Candidate&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id__name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Profile | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__portfolio&quot;,&quot;type&quot;:&quot;URLInput&quot;,&quot;label&quot;:&quot;Portfolio | Candidate&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id__recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__job_position_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Job position | Candidate&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id__stage_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Stage | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__converted_employee_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Employee | Candidate&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}]},{&quot;name&quot;:&quot;automation_multiple_candidate_id__schedule_date&quot;,&quot;type&quot;:&quot;DateTimeInput&quot;,&quot;label&quot;:&quot;Schedule date | Candidate&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id__email&quot;,&quot;type&quot;:&quot;EmailInput&quot;,&quot;label&quot;:&quot;Email | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__mobile&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Phone | Candidate&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_candidate_id__resume&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Resume | Candidate&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_candidate_id__referral&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Referral | Candidate&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}]},{&quot;name&quot;:&quot;automation_multiple_candidate_id__address&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Address | Candidate&quot;,&quot;required&quot;:false},{&quot;nam
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 5,
"fields": {
"created_at": "2025-07-24T07:30:09.008Z",
"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": 7,
"delivery_channel": "notification",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1423\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title&quot;,&quot;required&quot;:false,&quot;max_length&quot;:50},{&quot;name&quot;:&quot;automation_multiple_description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description&quot;,&quot;required&quot;:true,&quot;max_length&quot;:null},{&quot;name&quot;:&quot;automation_multiple_is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions&quot;,&quot;required&quot;:false,&quot;options&quot;:[],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_open_positions__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Open positions&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_open_positions__job_position&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Job position | Open positions&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_open_positions__department_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Department | Open positions&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_open_positions__company_id&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Company | Open positions&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_vacancy&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Vacancy&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Recruitment managers&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__badge_id&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Badge id | Recruitment managers&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__employee_user_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;User | Recruitment managers&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;admin&quot;}]},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__employee_first_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;First name | Recru
"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": "<form id=\"multipleConditionForm\" data-select2-id=\"multipleConditionForm\"><table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1423\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title&quot;,&quot;required&quot;:false,&quot;max_length&quot;:50},{&quot;name&quot;:&quot;automation_multiple_description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description&quot;,&quot;required&quot;:true,&quot;max_length&quot;:null},{&quot;name&quot;:&quot;automation_multiple_is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions&quot;,&quot;required&quot;:false,&quot;options&quot;:[],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_open_positions__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Open positions&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_open_positions__job_position&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Job position | Open positions&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_open_positions__department_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Department | Open positions&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_open_positions__company_id&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Company | Open positions&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_vacancy&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Vacancy&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Recruitment managers&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__badge_id&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Badge id | Recruitment managers&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__employee_user_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;User | Recruitment managers&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;admin&quot;}]},{&quot;name&quot;:&quot;automation_multiple_recruitment_managers__employee_first_name&quot;,&quot;typ
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 6,
"fields": {
"created_at": "2025-07-24T07:30:09.036Z",
"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": 8,
"delivery_channel": "both",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"2391\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__vacancy&quot;,&quot;type&quot;:&quot;NumberInput&quot;,&quot;label&quot;:&quot;Vacancy | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__recruitment_managers&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Recruitment managers | Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Adam Luis (PEP#00)&quot;}]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__survey_templates&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Survey templates | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__company_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Company | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__start_date&quot;,&quot;type&quot;:&quot;DateInput&quot;,&quot;label&quot;:&quot;Start date | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__end_date&quot;,&quot;type&quot;:&quot;DateInput&quot;,&quot;label&quot;:&quot;End date | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__skills&quot;,&quot;type&quot;:&quot;Sel
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_managers&condition=!%3D&automation_multiple_condition=&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 7,
"fields": {
"created_at": "2025-07-24T07:30:09.060Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Offer of Employment at {{instance.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": 9,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"415\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name&quot;,&quot;required&quot;:true,&quot;max_length&quot;:100},{&quot;name&quot;:&quot;automation_multiple_profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Profile&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_portfolio&quot;,&quot;type&quot;:&quot;URLInput&quot;,&quot;label&quot;:&quot;Portfolio&quot;,&quot;required&quot;:false,&quot;max_length&quot;:200},{&quot;name&quot;:&quot;automation_multiple_recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;},{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Recruitment Drive&quot;},{&quot;value&quot;:&quot;2&quot;,&quot;label&quot;:&quot;FutureForce Recruitment&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions | Recruitment&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Odoo Dev - (S/W Dept)&quot;},{&quot;value&quot;:2,&quot;label&quot;:&quot;Django Dev - (S/W Dept)&quot;},{&quot;value&quot;:3,&quot;label&quot;:&quot;Sales Man - (Sales Dept)&quot;},{&quot;value&quot;:4,&quot;label&quot;:&quot;Training and Development Coordinator - (Hr Dept)&quot;},{&quot;value&quot;:5,&quot;label&quot;:&quot;Compensation and Benefits Specialist - (Hr Dept)&quot;},{&quot;value&quot;:6,&quot;label&quot;:&quot;Recruiter - (Hr Dept)&quot;},{&quot;value&quot;:7,&quot;label&quot;:&quot;Marketing Specialist - (Marketing Dept)&quot;},{&quot;value&quot;:8,&quot;label&quot;:&quot;Digital Marketing Specialist - (Mar
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 8,
"fields": {
"created_at": "2025-07-24T07:30:09.084Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Candidate {{instance.get_full_name}} is Hired.",
"method_title": "candidate_{{instance.get_full_name}}_is_hired.",
"model": "recruitment.models.Candidate",
"mail_to": "['recruitment_id__recruitment_managers__get_mail']",
"mail_details": "pk",
"mail_detail_choice": "",
"trigger": "on_update",
"mail_template": 10,
"delivery_channel": "notification",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"566\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name&quot;,&quot;required&quot;:true,&quot;max_length&quot;:100},{&quot;name&quot;:&quot;automation_multiple_profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Profile&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_portfolio&quot;,&quot;type&quot;:&quot;URLInput&quot;,&quot;label&quot;:&quot;Portfolio&quot;,&quot;required&quot;:false,&quot;max_length&quot;:200},{&quot;name&quot;:&quot;automation_multiple_recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;},{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Recruitment Drive&quot;},{&quot;value&quot;:&quot;2&quot;,&quot;label&quot;:&quot;FutureForce Recruitment&quot;},{&quot;value&quot;:&quot;3&quot;,&quot;label&quot;:&quot;Hiring Employees&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions | Recruitment&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Odoo Dev - (S/W Dept)&quot;},{&quot;value&quot;:2,&quot;label&quot;:&quot;Django Dev - (S/W Dept)&quot;},{&quot;value&quot;:3,&quot;label&quot;:&quot;Sales Man - (Sales Dept)&quot;},{&quot;value&quot;:4,&quot;label&quot;:&quot;Training and Development Coordinator - (Hr Dept)&quot;},{&quot;value&quot;:5,&quot;label&quot;:&quot;Compensation and Benefits Specialist - (Hr Dept)&quot;},{&quot;value&quot;:6,&quot;label&quot;:&quot;Recruiter - (Hr Dept)&quot;},{&quot;value&quot;:7,&quot;label&quot;:&quot;Marketing Specialist - (Marketing Dept)&quot;}
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=hired&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 9,
"fields": {
"created_at": "2025-07-24T07:30:09.114Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Application Received for {{ instance.get_job_position}} - {{ instance.get_company }}",
"method_title": "application_received_for_{{_instance.get_job_position}}_π╗_{{_instance.get_company_}}",
"model": "recruitment.models.Candidate",
"mail_to": "['get_email']",
"mail_details": "pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 11,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\" data-select2-id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"2579\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\"><select class=\"w-100 select2-hidden-accessible\" onchange=\"updateValue($(this));addSelectedAttr(event)\" data-response=\"[{&quot;name&quot;:&quot;automation_multiple_is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is Active&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_name&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Name&quot;,&quot;required&quot;:true,&quot;max_length&quot;:100},{&quot;name&quot;:&quot;automation_multiple_profile&quot;,&quot;type&quot;:&quot;ClearableFileInput&quot;,&quot;label&quot;:&quot;Profile&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_portfolio&quot;,&quot;type&quot;:&quot;URLInput&quot;,&quot;label&quot;:&quot;Portfolio&quot;,&quot;required&quot;:false,&quot;max_length&quot;:200},{&quot;name&quot;:&quot;automation_multiple_recruitment_id&quot;,&quot;type&quot;:&quot;Select&quot;,&quot;label&quot;:&quot;Recruitment&quot;,&quot;required&quot;:true,&quot;options&quot;:[{&quot;value&quot;:&quot;&quot;,&quot;label&quot;:&quot;---------&quot;},{&quot;value&quot;:&quot;1&quot;,&quot;label&quot;:&quot;Recruitment Drive&quot;},{&quot;value&quot;:&quot;2&quot;,&quot;label&quot;:&quot;FutureForce Recruitment&quot;},{&quot;value&quot;:&quot;3&quot;,&quot;label&quot;:&quot;Hiring Employees&quot;}],&quot;related_fields&quot;:[]},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__title&quot;,&quot;type&quot;:&quot;TextInput&quot;,&quot;label&quot;:&quot;Title | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__description&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;label&quot;:&quot;Description | Recruitment&quot;,&quot;required&quot;:true},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_event_based&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is event based | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__closed&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Closed | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_published&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is published | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__is_active&quot;,&quot;type&quot;:&quot;CheckboxInput&quot;,&quot;label&quot;:&quot;Is active | Recruitment&quot;,&quot;required&quot;:false},{&quot;name&quot;:&quot;automation_multiple_recruitment_id__open_positions&quot;,&quot;type&quot;:&quot;SelectMultiple&quot;,&quot;label&quot;:&quot;Open positions | Recruitment&quot;,&quot;required&quot;:false,&quot;options&quot;:[{&quot;value&quot;:1,&quot;label&quot;:&quot;Odoo Dev - (S/W Dept)&quot;},{&quot;value&quot;:2,&quot;label&quot;:&quot;Django Dev - (S/W Dept)&quot;},{&quot;value&quot;:3,&quot;label&quot;:&quot;Sales Man - (Sales Dept)&quot;},{&quot;value&quot;:4,&quot;label&quot;:&quot;Training and Development Coordinator - (Hr Dept)&quot;},{&quot;value&quot;:5,&quot;label&quot;:&quot;Compensation and Benefits Specialist - (Hr Dept)&quot;},{&quot;value&quot;:6,&quot;label&quot;:&quot;Recruiter - (Hr Dept)&quot;},{&quot;value&quot;:7,&quot;label&quot;:&quot;Ma
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=applied&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 10,
"fields": {
"created_at": "2025-05-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": 12,
"delivery_channel": "notification",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1387\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_key_result\",\"type\":\"TextInput\",\"label\":\"Key result\",\"required\":false,\"max_length\":60},{\"name\":\"automation_multiple_key_result_description\",\"type\":\"Textarea\",\"label\":\"Key result description\",\"required\":false,\"max_length\":255},{\"name\":\"automation_multiple_employee_objective_id\",\"type\":\"Select\",\"label\":\"Employee objective id\",\"required\":false,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"9\",\"label\":\"New One | Emily Clark (PEP03)\"},{\"value\":\"1\",\"label\":\"Increase Sales | Abigail Roberts (PEP15)\"},{\"value\":\"4\",\"label\":\"Employee Engagement | Abigail Roberts (PEP15)\"},{\"value\":\"2\",\"label\":\"Increase Sales | Alexander Smith (PEP16)\"},{\"value\":\"5\",\"label\":\"Employee Engagement | Alexander Smith (PEP16)\"},{\"value\":\"14\",\"label\":\"New One | Isabella Thompson (PEP17)\"},{\"value\":\"16\",\"label\":\"New One | Jacob Walker (PEP18)\"},{\"value\":\"7\",\"label\":\"Productivity Metrics | Charlotte White (PEP19)\"},{\"value\":\"12\",\"label\":\"New One | Samuel Baker (PEP22)\"},{\"value\":\"8\",\"label\":\"New One | Avery Hill (PEP31)\"},{\"value\":\"10\",\"label\":\"New One | Scarlett Martinez (PEP37)\"},{\"value\":\"6\",\"label\":\"Productivity Metrics | Adam Luis (PEP00)\"},{\"value\":\"13\",\"label\":\"New One | Adam Luis (PEP00)\"},{\"value\":\"15\",\"label\":\"New One | Angel Sanor (PEP118)\"},{\"value\":\"17\",\"label\":\"New One | Liam Bennett \"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_objective_id__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Employee objective id\",\"required\":false},{\"name\":\"automation_multiple_employee_objective_id__objective\",\"type\":\"TextInput\",\"label\":\"Title | Employee objective id\",\"required\":false},{\"name\":\"automation_multiple_employee_objective_id__objective_description\",\"type\":\"Textarea\",\"label\":\"Description | Employee objective id\",\"required\":false},{\"name\":\"automation_multiple_employee_objective_id__objective_id\",\"type\":\"Select\",\"label\":\"Objective | Employee objective id\",\"required\":false,\"options\":[{\"value\":5,\"label\":\"New One\"},{\"value\":4,\"label\":\"Employee Engagement\"},{\"value\":3,\"label\":\"Productivity Metrics\"},{\"value\":2,\"label\":\"Customer Satisfaction\"},{\"value\":1,\"label\":\"Increase Sales\"}]},{\"name\":\"automation_multiple_employee_objective_id__employee_id\",\"type\":\"Select\",\"label\":\"Employee | Employee objective id\",\"required\":false,\"options\":[{\"value\":12,\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":1,\"label\":\"Adam Luis (PEP00)\"},{\"value\":37,\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":13,\"label\":\"Alexander Smith (PEP16)\"},{\"value\":63,\"label\":\"Alice Foster (PEP69)\"},{\"value\":22,\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":119,\"label\":\"Angel Sanor (PEP118)\"},{\"value\":129,\"label\":\"Anur Aliga (HL02)\"},{\"value\":28,\"label\":\"Avery Hill (PEP31)\"},{\"value\":16,\"label\":\"Charlotte White (PEP19)\"},{\"value\":36,\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":9,\"label\":\"Christopher Miller (PEP12)\"},{\"value\":7,\"label\":\"David King (PEP10)\"},{\"value\":30,\"label\":\"Ella Jackson (PEP33)\"},{\"value\":4,\"label\":\"Emily Clark (PEP03)\"},{\"value\":128,\"label\":\"Emily Turner \"},{\"value\":8,
"condition_querystring": "automation_multiple_condition=automation_multiple_current_value&condition=!%3D&automation_multiple_condition=0&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 11,
"fields": {
"created_at": "2025-07-24T07:30:09.167Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Access your HRMS Portal",
"method_title": "access_your_hrms_portal",
"model": "employee.models.Employee",
"mail_to": "['get_email']",
"mail_details": "pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 13,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"1421\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id\",\"required\":false,\"max_length\":50},{\"name\":\"automation_multiple_employee_user_id\",\"type\":\"Select\",\"label\":\"User\",\"required\":false,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"admin\"},{\"value\":\"2\",\"label\":\"Horilla Bot\"},{\"value\":\"3\",\"label\":\"michael.brown@horilla.com\"},{\"value\":\"4\",\"label\":\"sarah.anderson@horilla.com\"},{\"value\":\"5\",\"label\":\"emily.clark@horilla.com\"},{\"value\":\"6\",\"label\":\"jessica.evans@horilla.com\"},{\"value\":\"7\",\"label\":\"matthew.harris@horilla.com\"},{\"value\":\"8\",\"label\":\"david.king@horilla.com\"},{\"value\":\"9\",\"label\":\"emma.lee@horilla.com\"},{\"value\":\"10\",\"label\":\"christopher.miller@horilla.com\"},{\"value\":\"11\",\"label\":\"mia.nelson@horilla.com\"},{\"value\":\"12\",\"label\":\"benjamin.parker@horilla.com\"},{\"value\":\"13\",\"label\":\"abigail.roberts@horilla.com\"},{\"value\":\"14\",\"label\":\"alexander.smith@horilla.com\"},{\"value\":\"15\",\"label\":\"isabella.thompson@horilla.com\"},{\"value\":\"16\",\"label\":\"jacob.walker@horilla.com\"},{\"value\":\"17\",\"label\":\"charlotte.white@horilla.com\"},{\"value\":\"18\",\"label\":\"noah.young@horilla.com\"},{\"value\":\"19\",\"label\":\"grace.allen@horilla.com\"},{\"value\":\"20\",\"label\":\"samuel.baker@horilla.com\"},{\"value\":\"21\",\"label\":\"lily.campbell@horilla.com\"},{\"value\":\"22\",\"label\":\"lucas.carter@horilla.com\"},{\"value\":\"23\",\"label\":\"amelia.cooper@horilla.com\"},{\"value\":\"24\",\"label\":\"mason.diaz@horilla.com\"},{\"value\":\"25\",\"label\":\"harper.edwards@horilla.com\"},{\"value\":\"26\",\"label\":\"logan.flores@horilla.com\"},{\"value\":\"27\",\"label\":\"evelyn.garcia@horilla.com\"},{\"value\":\"28\",\"label\":\"ethan.gonzalez@horilla.com\"},{\"value\":\"29\",\"label\":\"avery.hill@horilla.com\"},{\"value\":\"30\",\"label\":\"william.hughes@horilla.com\"},{\"value\":\"31\",\"label\":\"ella.jackson@horilla.com\"},{\"value\":\"32\",\"label\":\"owen.jenkins@horilla.com\"},{\"value\":\"33\",\"label\":\"madison.kelly@horilla.com\"},{\"value\":\"34\",\"label\":\"henry.lewis@horilla.com\"},{\"value\":\"35\",\"label\":\"scarlett.martinez@horilla.com\"},{\"value\":\"36\",\"label\":\"sebastian.mitchell@horilla.com\"},{\"value\":\"37\",\"label\":\"chloe.morgan@horilla.com\"},{\"value\":\"38\",\"label\":\"aiden.murphy@horilla.com\"},{\"value\":\"39\",\"label\":\"mila.perez@horilla.com\"},{\"value\":\"40\",\"label\":\"gabriel.phillips@horilla.com\"},{\"value\":\"41\",\"label\":\"aria.powell@horilla.com\"},{\"value\":\"42\",\"label\":\"wyatt.ramirez@horilla.com\"},{\"value\":\"43\",\"label\":\"nora.reed@horilla.com\"},{\"value\":\"44\",\"label\":\"jack.rivera@horilla.com\"},{\"value\":\"45\",\"label\":\"ellie.rogers@horilla.com\"},{\"value\":\"46\",\"label\":\"levi.sanders@horilla.com\"},{\"value\":\"47\",\"label\":\"penelope.scott@horilla.com\"},{\"value\":\"48\",\"label\":\"carter.stewart@horilla.com\"},{\"value\":\"49\",\"label\":\"victoria.turner@horilla.com\"},{\"value\":\"50\",\"label\":\"zoey.watson@horilla.com\"},{\"value\":\"51\",\"label\":\"nathaniel.wright@horilla.com\"},{\"value\":\"52\",\"label\":\"hazel.adams@horilla.com\"},{\"value\":\"53\",\"label\":\"julian.barnes@horilla.com\"},{\"value\":\"54\",\"l
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 12,
"fields": {
"created_at": "2025-07-24T07:30:09.196Z",
"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": 14,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"2962\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_name\",\"type\":\"TextInput\",\"label\":\"Name\",\"required\":true,\"max_length\":100},{\"name\":\"automation_multiple_profile\",\"type\":\"ClearableFileInput\",\"label\":\"Profile\",\"required\":true},{\"name\":\"automation_multiple_portfolio\",\"type\":\"URLInput\",\"label\":\"Portfolio\",\"required\":false,\"max_length\":200},{\"name\":\"automation_multiple_recruitment_id\",\"type\":\"Select\",\"label\":\"Recruitment\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"Recruitment Drive\"},{\"value\":\"2\",\"label\":\"FutureForce Recruitment\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_recruitment_id__title\",\"type\":\"TextInput\",\"label\":\"Title | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__description\",\"type\":\"Textarea\",\"label\":\"Description | Recruitment\",\"required\":true},{\"name\":\"automation_multiple_recruitment_id__is_event_based\",\"type\":\"CheckboxInput\",\"label\":\"Is event based | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__closed\",\"type\":\"CheckboxInput\",\"label\":\"Closed | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__is_published\",\"type\":\"CheckboxInput\",\"label\":\"Is published | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__open_positions\",\"type\":\"SelectMultiple\",\"label\":\"Open positions | Recruitment\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"Odoo Dev - (S/W Dept)\"},{\"value\":2,\"label\":\"Django Dev - (S/W Dept)\"},{\"value\":3,\"label\":\"Sales Man - (Sales Dept)\"},{\"value\":4,\"label\":\"Training and Development Coordinator - (Hr Dept)\"},{\"value\":5,\"label\":\"Compensation and Benefits Specialist - (Hr Dept)\"},{\"value\":6,\"label\":\"Recruiter - (Hr Dept)\"},{\"value\":7,\"label\":\"Marketing Specialist - (Marketing Dept)\"},{\"value\":8,\"label\":\"Digital Marketing Specialist - (Marketing Dept)\"},{\"value\":9,\"label\":\"Content Creator - (Marketing Dept)\"},{\"value\":10,\"label\":\"Social Media Coordinator - (Marketing Dept)\"},{\"value\":11,\"label\":\"Chief Financial Officer (CFO) - (Finance Dept)\"},{\"value\":12,\"label\":\"Financial Analyst - (Finance Dept)\"},{\"value\":13,\"label\":\"Accounts Payable Clerk - (Finance Dept)\"},{\"value\":14,\"label\":\"Tax Accountant - (Finance Dept)\"},{\"value\":15,\"label\":\"System Admin - (S/W Dept)\"},{\"value\":16,\"label\":\"React Dev - (S/W Dept)\"},{\"value\":17,\"label\":\"Flutter Dev - (S/W Dept)\"},{\"value\":18,\"label\":\"Sales Representative - (Sales Dept)\"},{\"value\":19,\"label\":\"Sales Manage - (Sales Dept)\"},{\"value\":20,\"label\":\"Business Development Manager - (Sales Dept)\"},{\"value\":21,\"label\":\"Field Sales Executive - (Sales Dept)\"},{\"value\":22,\"label\":\"HR Manager - (Hr Dept)\"},{\"value\":23,\"label\":\"HR Business Partner - (Hr Dept)\"},{\"value\":24,\"label\":\"Senoir Manager - (Managers)\"}]},{\"name\":\"automation_multiple_recruitment_id__vacancy\",\"type\":\"Numb
"condition_querystring": "automation_multiple_condition=automation_multiple_stage_id__stage_type&condition=%3D%3D&automation_multiple_condition=initial&logic=and",
"condition": "<form id=\"multipleConditionForm\" data-select2-id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"2962\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_name\",\"type\":\"TextInput\",\"label\":\"Name\",\"required\":true,\"max_length\":100},{\"name\":\"automation_multiple_profile\",\"type\":\"ClearableFileInput\",\"label\":\"Profile\",\"required\":true},{\"name\":\"automation_multiple_portfolio\",\"type\":\"URLInput\",\"label\":\"Portfolio\",\"required\":false,\"max_length\":200},{\"name\":\"automation_multiple_recruitment_id\",\"type\":\"Select\",\"label\":\"Recruitment\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"Recruitment Drive\"},{\"value\":\"2\",\"label\":\"FutureForce Recruitment\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_recruitment_id__title\",\"type\":\"TextInput\",\"label\":\"Title | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__description\",\"type\":\"Textarea\",\"label\":\"Description | Recruitment\",\"required\":true},{\"name\":\"automation_multiple_recruitment_id__is_event_based\",\"type\":\"CheckboxInput\",\"label\":\"Is event based | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__closed\",\"type\":\"CheckboxInput\",\"label\":\"Closed | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__is_published\",\"type\":\"CheckboxInput\",\"label\":\"Is published | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Recruitment\",\"required\":false},{\"name\":\"automation_multiple_recruitment_id__open_positions\",\"type\":\"SelectMultiple\",\"label\":\"Open positions | Recruitment\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"Odoo Dev - (S/W Dept)\"},{\"value\":2,\"label\":\"Django Dev - (S/W Dept)\"},{\"value\":3,\"label\":\"Sales Man - (Sales Dept)\"},{\"value\":4,\"label\":\"Training and Development Coordinator - (Hr Dept)\"},{\"value\":5,\"label\":\"Compensation and Benefits Specialist - (Hr Dept)\"},{\"value\":6,\"label\":\"Recruiter - (Hr Dept)\"},{\"value\":7,\"label\":\"Marketing Specialist - (Marketing Dept)\"},{\"value\":8,\"label\":\"Digital Marketing Specialist - (Marketing Dept)\"},{\"value\":9,\"label\":\"Content Creator - (Marketing Dept)\"},{\"value\":10,\"label\":\"Social Media Coordinator - (Marketing Dept)\"},{\"value\":11,\"label\":\"Chief Financial Officer (CFO) - (Finance Dept)\"},{\"value\":12,\"label\":\"Financial Analyst - (Finance Dept)\"},{\"value\":13,\"label\":\"Accounts Payable Clerk - (Finance Dept)\"},{\"value\":14,\"label\":\"Tax Accountant - (Finance Dept)\"},{\"value\":15,\"label\":\"System Admin - (S/W Dept)\"},{\"value\":16,\"label\":\"React Dev - (S/W Dept)\"},{\"value\":17,\"label\":\"Flutter Dev - (S/W Dept)\"},{\"value\":18,\"label\":\"Sales Representative - (Sales Dept)\"},{\"value\":19,\"label\":\"Sales Manage - (Sales Dept)\"},{\"value\":20,\"label\":\"Business Development Manager - (Sales Dept)\"},{\"value\":21,\"label\":\"Field Sales Executive - (Sales Dept)\"},{\"value\":22,\"label\":\"HR Manager - (Hr Dept)\"},{\"value\":23,\"label\":\"HR Business Partner - (Hr Dept)\"},{\"value\":24,\"label\":\"Senoir Manager - (Manage
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 13,
"fields": {
"created_at": "2025-07-24T07:30:09.226Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Review Work Type Request - {{instance.employee_id}}",
"method_title": "review_work_type_request_-_{{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": 15,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_employee_id\",\"type\":\"Select\",\"label\":\"Employee\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"12\",\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":\"1\",\"label\":\"Adam Luis (PEP00)\"},{\"value\":\"37\",\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":\"13\",\"label\":\"Alexander Smith (PEP16)\"},{\"value\":\"22\",\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":\"28\",\"label\":\"Avery Hill (PEP31)\"},{\"value\":\"16\",\"label\":\"Charlotte White (PEP19)\"},{\"value\":\"36\",\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":\"9\",\"label\":\"Christopher Miller (PEP12)\"},{\"value\":\"7\",\"label\":\"David King (PEP10)\"},{\"value\":\"30\",\"label\":\"Ella Jackson (PEP33)\"},{\"value\":\"4\",\"label\":\"Emily Clark (PEP03)\"},{\"value\":\"8\",\"label\":\"Emma Lee (PEP11)\"},{\"value\":\"27\",\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":\"18\",\"label\":\"Grace Allen (PEP21)\"},{\"value\":\"33\",\"label\":\"Henry Lewis (PEP36)\"},{\"value\":\"14\",\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":\"15\",\"label\":\"Jacob Walker (PEP18)\"},{\"value\":\"5\",\"label\":\"Jessica Evans (PEP05)\"},{\"value\":\"32\",\"label\":\"Madison Kelly (PEP35)\"},{\"value\":\"6\",\"label\":\"Matthew Harris (PEP08)\"},{\"value\":\"10\",\"label\":\"Mia Nelson (PEP13)\"},{\"value\":\"2\",\"label\":\"Michael Brown (PEP01)\"},{\"value\":\"17\",\"label\":\"Noah Young (PEP20)\"},{\"value\":\"31\",\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":\"19\",\"label\":\"Samuel Baker (PEP22)\"},{\"value\":\"3\",\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":\"34\",\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":\"35\",\"label\":\"Sebastian Mitchell (PEP38)\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_id__badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id | Employee\",\"required\":false},{\"name\":\"automation_multiple_employee_id__employee_user_id\",\"type\":\"Select\",\"label\":\"User | Employee\",\"required\":false,\"options\":[{\"value\":2,\"label\":\"Horilla Bot\"},{\"value\":3,\"label\":\"michael.brown@horilla.com\"},{\"value\":4,\"label\":\"sarah.anderson@horilla.com\"},{\"value\":5,\"label\":\"emily.clark@horilla.com\"},{\"value\":6,\"label\":\"jessica.evans@horilla.com\"},{\"value\":7,\"label\":\"matthew.harris@horilla.com\"},{\"value\":8,\"label\":\"david.king@horilla.com\"},{\"value\":9,\"label\":\"emma.lee@horilla.com\"},{\"value\":10,\"label\":\"christopher.miller@horilla.com\"},{\"value\":11,\"label\":\"mia.nelson@horilla.com\"},{\"value\":12,\"label\":\"benjamin.parker@horilla.com\"},{\"value\":13,\"label\":\"abigail.roberts@horilla.com\"},{\"value\":14,\"label\":\"alexander.smith@horilla.com\"},{\"value\":15,\"label\":\"isabella.thompson@horilla.com\"},{\"value\":16,\"label\":\"jacob.walker@horilla.com\"},{\"value\":17,\"label\":\"charlotte.white@horilla.com\"},{\"value\":18,\"label\":\"noah.young@horilla.com\"},{\"value\":19,\"label\":\"grace.allen@horilla.com\"},{\"value\":20,\"label\":\"samuel.baker@horilla.com\"},{\"value\":21,\"label\":\"lily.campbell@horilla.com\"},{\"value\":22,\"label\":\"lucas.carter@horilla.com\"},{\"value\":23,\"label\":\"amelia.cooper@horilla.com\"},{\"value\":24,\"label\":\"mason.diaz@horilla.com\"},{\"value\":25,\"label\":\"harper.edwards@horilla.c
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 14,
"fields": {
"created_at": "2025-07-24T07:30:09.247Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Review Shift Request - {{instance.employee_id}}",
"method_title": "review_shift_request_-_{{instance.employee_id}}",
"model": "base.models.ShiftRequest",
"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": 16,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_employee_id\",\"type\":\"Select\",\"label\":\"Employee\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"12\",\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":\"1\",\"label\":\"Adam Luis (PEP00)\"},{\"value\":\"37\",\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":\"13\",\"label\":\"Alexander Smith (PEP16)\"},{\"value\":\"22\",\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":\"28\",\"label\":\"Avery Hill (PEP31)\"},{\"value\":\"16\",\"label\":\"Charlotte White (PEP19)\"},{\"value\":\"36\",\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":\"9\",\"label\":\"Christopher Miller (PEP12)\"},{\"value\":\"7\",\"label\":\"David King (PEP10)\"},{\"value\":\"30\",\"label\":\"Ella Jackson (PEP33)\"},{\"value\":\"4\",\"label\":\"Emily Clark (PEP03)\"},{\"value\":\"8\",\"label\":\"Emma Lee (PEP11)\"},{\"value\":\"27\",\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":\"18\",\"label\":\"Grace Allen (PEP21)\"},{\"value\":\"33\",\"label\":\"Henry Lewis (PEP36)\"},{\"value\":\"14\",\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":\"15\",\"label\":\"Jacob Walker (PEP18)\"},{\"value\":\"5\",\"label\":\"Jessica Evans (PEP05)\"},{\"value\":\"32\",\"label\":\"Madison Kelly (PEP35)\"},{\"value\":\"6\",\"label\":\"Matthew Harris (PEP08)\"},{\"value\":\"10\",\"label\":\"Mia Nelson (PEP13)\"},{\"value\":\"2\",\"label\":\"Michael Brown (PEP01)\"},{\"value\":\"17\",\"label\":\"Noah Young (PEP20)\"},{\"value\":\"31\",\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":\"19\",\"label\":\"Samuel Baker (PEP22)\"},{\"value\":\"3\",\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":\"34\",\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":\"35\",\"label\":\"Sebastian Mitchell (PEP38)\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_id__badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id | Employee\",\"required\":false},{\"name\":\"automation_multiple_employee_id__employee_user_id\",\"type\":\"Select\",\"label\":\"User | Employee\",\"required\":false,\"options\":[{\"value\":2,\"label\":\"Horilla Bot\"},{\"value\":3,\"label\":\"michael.brown@horilla.com\"},{\"value\":4,\"label\":\"sarah.anderson@horilla.com\"},{\"value\":5,\"label\":\"emily.clark@horilla.com\"},{\"value\":6,\"label\":\"jessica.evans@horilla.com\"},{\"value\":7,\"label\":\"matthew.harris@horilla.com\"},{\"value\":8,\"label\":\"david.king@horilla.com\"},{\"value\":9,\"label\":\"emma.lee@horilla.com\"},{\"value\":10,\"label\":\"christopher.miller@horilla.com\"},{\"value\":11,\"label\":\"mia.nelson@horilla.com\"},{\"value\":12,\"label\":\"benjamin.parker@horilla.com\"},{\"value\":13,\"label\":\"abigail.roberts@horilla.com\"},{\"value\":15,\"label\":\"isabella.thompson@horilla.com\"},{\"value\":16,\"label\":\"jacob.walker@horilla.com\"},{\"value\":17,\"label\":\"charlotte.white@horilla.com\"},{\"value\":18,\"label\":\"noah.young@horilla.com\"},{\"value\":20,\"label\":\"samuel.baker@horilla.com\"},{\"value\":21,\"label\":\"lily.campbell@horilla.com\"},{\"value\":22,\"label\":\"lucas.carter@horilla.com\"},{\"value\":23,\"label\":\"amelia.cooper@horilla.com\"},{\"value\":24,\"label\":\"mason.diaz@horilla.com\"},{\"value\":25,\"label\":\"harper.edwards@horilla.com\"},{\"value\":26,\"label\":\"logan.flores@horilla.com\"},{\"value\":27,\"label\":\"evelyn.garcia@horilla.co
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 15,
"fields": {
"created_at": "2025-08-26T03:39:26.124Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Application Status Update - {{ instance.job_position_id }}",
"method_title": "application_status_update_-_{{_instance.job_position_id_}}",
"model": "recruitment.models.RejectedCandidate",
"mail_to": "['candidate_id__get_email']",
"mail_details": "candidate_id__pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 17,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_candidate_id\",\"type\":\"Select\",\"label\":\"Candidate\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"Liam Bennett\"},{\"value\":\"2\",\"label\":\"Ava Mitchell\"},{\"value\":\"3\",\"label\":\"Noah Anderson\"},{\"value\":\"7\",\"label\":\"Mia Reed\"},{\"value\":\"4\",\"label\":\"Sophia Carter\"},{\"value\":\"6\",\"label\":\"Lucas Rogers\"},{\"value\":\"5\",\"label\":\"Elijah Collins\"},{\"value\":\"9\",\"label\":\"Emily Turner\"},{\"value\":\"10\",\"label\":\"James Perry\"},{\"value\":\"13\",\"label\":\"Charlotte Brooks\"},{\"value\":\"8\",\"label\":\"William Peterson\"},{\"value\":\"12\",\"label\":\"Benjamin Foster\"},{\"value\":\"14\",\"label\":\"Henry Jenkins\"},{\"value\":\"11\",\"label\":\"Olivia Coleman\"},{\"value\":\"15\",\"label\":\"Amelia Hayes\"},{\"value\":\"16\",\"label\":\"Grace Price\"},{\"value\":\"17\",\"label\":\"Sebastian Howard\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_candidate_id__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Candidate\",\"required\":false},{\"name\":\"automation_multiple_candidate_id__name\",\"type\":\"TextInput\",\"label\":\"Name | Candidate\",\"required\":true},{\"name\":\"automation_multiple_candidate_id__profile\",\"type\":\"ClearableFileInput\",\"label\":\"Profile | Candidate\",\"required\":true},{\"name\":\"automation_multiple_candidate_id__portfolio\",\"type\":\"URLInput\",\"label\":\"Portfolio | Candidate\",\"required\":false},{\"name\":\"automation_multiple_candidate_id__recruitment_id\",\"type\":\"Select\",\"label\":\"Recruitment | Candidate\",\"required\":true,\"options\":[{\"value\":1,\"label\":\"Recruitment Drive\"},{\"value\":2,\"label\":\"FutureForce Recruitment\"}]},{\"name\":\"automation_multiple_candidate_id__job_position_id\",\"type\":\"Select\",\"label\":\"Job position | Candidate\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"Odoo Dev - (S/W Dept)\"},{\"value\":2,\"label\":\"Django Dev - (S/W Dept)\"},{\"value\":3,\"label\":\"Sales Man - (Sales Dept)\"},{\"value\":4,\"label\":\"Training and Development Coordinator - (Hr Dept)\"},{\"value\":5,\"label\":\"Compensation and Benefits Specialist - (Hr Dept)\"},{\"value\":6,\"label\":\"Recruiter - (Hr Dept)\"},{\"value\":7,\"label\":\"Marketing Specialist - (Marketing Dept)\"},{\"value\":8,\"label\":\"Digital Marketing Specialist - (Marketing Dept)\"},{\"value\":9,\"label\":\"Content Creator - (Marketing Dept)\"},{\"value\":10,\"label\":\"Social Media Coordinator - (Marketing Dept)\"},{\"value\":11,\"label\":\"Chief Financial Officer (CFO) - (Finance Dept)\"},{\"value\":12,\"label\":\"Financial Analyst - (Finance Dept)\"},{\"value\":13,\"label\":\"Accounts Payable Clerk - (Finance Dept)\"},{\"value\":14,\"label\":\"Tax Accountant - (Finance Dept)\"},{\"value\":15,\"label\":\"System Admin - (S/W Dept)\"},{\"value\":16,\"label\":\"React Dev - (S/W Dept)\"},{\"value\":17,\"label\":\"Flutter Dev - (S/W Dept)\"},{\"value\":18,\"label\":\"Sales Representative - (Sales Dept)\"},{\"value\":19,\"label\":\"Sales Manage - (Sales Dept)\"},{\"value\":20,\"label\":\"Business Development Manager - (Sales Dept)\"},{\"value\":21,\"label\":\"Field Sales Executive - (Sales Dept)\"},{\"value\":22,\"label\":\"HR Manager - (Hr Dept)\"},{\"value\":23,\"label\
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_candidate_id\",\"type\":\"Select\",\"label\":\"Candidate\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"Liam Bennett\"},{\"value\":\"2\",\"label\":\"Ava Mitchell\"},{\"value\":\"3\",\"label\":\"Noah Anderson\"},{\"value\":\"7\",\"label\":\"Mia Reed\"},{\"value\":\"4\",\"label\":\"Sophia Carter\"},{\"value\":\"6\",\"label\":\"Lucas Rogers\"},{\"value\":\"5\",\"label\":\"Elijah Collins\"},{\"value\":\"9\",\"label\":\"Emily Turner\"},{\"value\":\"10\",\"label\":\"James Perry\"},{\"value\":\"13\",\"label\":\"Charlotte Brooks\"},{\"value\":\"8\",\"label\":\"William Peterson\"},{\"value\":\"12\",\"label\":\"Benjamin Foster\"},{\"value\":\"14\",\"label\":\"Henry Jenkins\"},{\"value\":\"11\",\"label\":\"Olivia Coleman\"},{\"value\":\"15\",\"label\":\"Amelia Hayes\"},{\"value\":\"16\",\"label\":\"Grace Price\"},{\"value\":\"17\",\"label\":\"Sebastian Howard\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_candidate_id__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Candidate\",\"required\":false},{\"name\":\"automation_multiple_candidate_id__name\",\"type\":\"TextInput\",\"label\":\"Name | Candidate\",\"required\":true},{\"name\":\"automation_multiple_candidate_id__profile\",\"type\":\"ClearableFileInput\",\"label\":\"Profile | Candidate\",\"required\":true},{\"name\":\"automation_multiple_candidate_id__portfolio\",\"type\":\"URLInput\",\"label\":\"Portfolio | Candidate\",\"required\":false},{\"name\":\"automation_multiple_candidate_id__recruitment_id\",\"type\":\"Select\",\"label\":\"Recruitment | Candidate\",\"required\":true,\"options\":[{\"value\":1,\"label\":\"Recruitment Drive\"},{\"value\":2,\"label\":\"FutureForce Recruitment\"}]},{\"name\":\"automation_multiple_candidate_id__job_position_id\",\"type\":\"Select\",\"label\":\"Job position | Candidate\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"Odoo Dev - (S/W Dept)\"},{\"value\":2,\"label\":\"Django Dev - (S/W Dept)\"},{\"value\":3,\"label\":\"Sales Man - (Sales Dept)\"},{\"value\":4,\"label\":\"Training and Development Coordinator - (Hr Dept)\"},{\"value\":5,\"label\":\"Compensation and Benefits Specialist - (Hr Dept)\"},{\"value\":6,\"label\":\"Recruiter - (Hr Dept)\"},{\"value\":7,\"label\":\"Marketing Specialist - (Marketing Dept)\"},{\"value\":8,\"label\":\"Digital Marketing Specialist - (Marketing Dept)\"},{\"value\":9,\"label\":\"Content Creator - (Marketing Dept)\"},{\"value\":10,\"label\":\"Social Media Coordinator - (Marketing Dept)\"},{\"value\":11,\"label\":\"Chief Financial Officer (CFO) - (Finance Dept)\"},{\"value\":12,\"label\":\"Financial Analyst - (Finance Dept)\"},{\"value\":13,\"label\":\"Accounts Payable Clerk - (Finance Dept)\"},{\"value\":14,\"label\":\"Tax Accountant - (Finance Dept)\"},{\"value\":15,\"label\":\"System Admin - (S/W Dept)\"},{\"value\":16,\"label\":\"React Dev - (S/W Dept)\"},{\"value\":17,\"label\":\"Flutter Dev - (S/W Dept)\"},{\"value\":18,\"label\":\"Sales Representative - (Sales Dept)\"},{\"value\":19,\"label\":\"Sales Manage - (Sales Dept)\"},{\"value\":20,\"label\":\"Business Development Manager - (Sales Dept)\"},{\"value\":21,\"label\":\"Field Sales Executive - (Sales Dept)\"},{\"value\":22,\"label\":\"HR Manag
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 16,
"fields": {
"created_at": "2025-08-27T10:07:04.721Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Late Come Notification {{ instance.employee_id }}",
"method_title": "attendancelatecomeearlyout",
"model": "attendance.models.AttendanceLateComeEarlyOut",
"mail_to": "['attendance_id__employee_id__get_email', 'attendance_id__employee_id__employee_work_info__reporting_manager_id__get_email']",
"mail_details": "attendance_id__employee_id__pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 18,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_attendance_id\",\"type\":\"Select\",\"label\":\"Attendance\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"302\",\"label\":\"Adam Luis - 2025-08-25\"},{\"value\":\"301\",\"label\":\"Alexander Smith - 2025-08-25\"},{\"value\":\"300\",\"label\":\"Grace Allen - 2025-08-25\"},{\"value\":\"299\",\"label\":\"Adam Luis - 2025-07-24\"},{\"value\":\"296\",\"label\":\"Michael Brown - 2025-07-24\"},{\"value\":\"295\",\"label\":\"Penelope Scott - 2025-07-24\"},{\"value\":\"1\",\"label\":\"Adam Luis - 2025-07-22\"},{\"value\":\"218\",\"label\":\"Alice Foster - 2025-07-21\"},{\"value\":\"261\",\"label\":\"Andrew Hayes - 2025-07-21\"},{\"value\":\"203\",\"label\":\"Aria Powell - 2025-07-21\"},{\"value\":\"223\",\"label\":\"Benjamin Parker - 2025-07-21\"},{\"value\":\"233\",\"label\":\"Chloe Morgan - 2025-07-21\"},{\"value\":\"238\",\"label\":\"Christopher Miller - 2025-07-21\"},{\"value\":\"213\",\"label\":\"David King - 2025-07-21\"},{\"value\":\"208\",\"label\":\"Elijah Cox - 2025-07-21\"},{\"value\":\"252\",\"label\":\"Harper Edwards - 2025-07-21\"},{\"value\":\"198\",\"label\":\"Hazel Adams - 2025-07-21\"},{\"value\":\"193\",\"label\":\"Jacob Walker - 2025-07-21\"},{\"value\":\"266\",\"label\":\"James Davis - 2025-07-21\"},{\"value\":\"268\",\"label\":\"Layla Gonzales - 2025-07-21\"},{\"value\":\"228\",\"label\":\"Lucy Cruz - 2025-07-21\"},{\"value\":\"243\",\"label\":\"Matthew Harris - 2025-07-21\"},{\"value\":\"273\",\"label\":\"Mia Nelson - 2025-07-21\"},{\"value\":\"188\",\"label\":\"Nathaniel Wright - 2025-07-21\"},{\"value\":\"257\",\"label\":\"Olivia Green - 2025-07-21\"},{\"value\":\"277\",\"label\":\"Penelope Scott - 2025-07-21\"},{\"value\":\"248\",\"label\":\"Violet Griffin - 2025-07-21\"},{\"value\":\"285\",\"label\":\"Alexander Smith - 2025-07-15\"},{\"value\":\"201\",\"label\":\"Aria Powell - 2025-07-15\"},{\"value\":\"206\",\"label\":\"Avery Hill - 2025-07-15\"},{\"value\":\"280\",\"label\":\"Chloe Morgan - 2025-07-15\"},{\"value\":\"292\",\"label\":\"David King - 2025-07-15\"},{\"value\":\"241\",\"label\":\"Dylan Ward - 2025-07-15\"},{\"value\":\"255\",\"label\":\"Elijah Cox - 2025-07-15\"},{\"value\":\"259\",\"label\":\"Ellie Rogers - 2025-07-15\"},{\"value\":\"291\",\"label\":\"Gabriel Phillips - 2025-07-15\"},{\"value\":\"191\",\"label\":\"Hannah Brooks - 2025-07-15\"},{\"value\":\"196\",\"label\":\"Jack Rivera - 2025-07-15\"},{\"value\":\"289\",\"label\":\"Jessica Evans - 2025-07-15\"},{\"value\":\"211\",\"label\":\"Logan Flores - 2025-07-15\"},{\"value\":\"294\",\"label\":\"Lucas Carter - 2025-07-15\"},{\"value\":\"221\",\"label\":\"Lucy Cruz - 2025-07-15\"},{\"value\":\"246\",\"label\":\"Madison Kelly - 2025-07-15\"},{\"value\":\"226\",\"label\":\"M
"condition_querystring": "automation_multiple_condition=automation_multiple_type&condition=%3D%3D&automation_multiple_condition=late_come&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 17,
"fields": {
"created_at": "2025-09-11T08:45:01.974Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "New Ticket Assigned to You: {{ instance.title }}",
"method_title": "new_ticket_assigned_to_you:_{{_instance.title_}}",
"model": "helpdesk.models.Ticket",
"mail_to": "['employee_id__get_email']",
"mail_details": "employee_id__pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 19,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"225\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_title\",\"type\":\"TextInput\",\"label\":\"Title\",\"required\":true,\"max_length\":50},{\"name\":\"automation_multiple_employee_id\",\"type\":\"Select\",\"label\":\"Owner\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"12\",\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":\"1\",\"label\":\"Adam Luis (PEP00)\"},{\"value\":\"37\",\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":\"13\",\"label\":\"Alexander Smith (PEP16)\"},{\"value\":\"22\",\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":\"28\",\"label\":\"Avery Hill (PEP31)\"},{\"value\":\"16\",\"label\":\"Charlotte White (PEP19)\"},{\"value\":\"36\",\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":\"9\",\"label\":\"Christopher Miller (PEP12)\"},{\"value\":\"7\",\"label\":\"David King (PEP10)\"},{\"value\":\"30\",\"label\":\"Ella Jackson (PEP33)\"},{\"value\":\"4\",\"label\":\"Emily Clark (PEP03)\"},{\"value\":\"8\",\"label\":\"Emma Lee (PEP11)\"},{\"value\":\"27\",\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":\"18\",\"label\":\"Grace Allen (PEP21)\"},{\"value\":\"33\",\"label\":\"Henry Lewis (PEP36)\"},{\"value\":\"14\",\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":\"15\",\"label\":\"Jacob Walker (PEP18)\"},{\"value\":\"5\",\"label\":\"Jessica Evans (PEP05)\"},{\"value\":\"32\",\"label\":\"Madison Kelly (PEP35)\"},{\"value\":\"6\",\"label\":\"Matthew Harris (PEP08)\"},{\"value\":\"10\",\"label\":\"Mia Nelson (PEP13)\"},{\"value\":\"2\",\"label\":\"Michael Brown (PEP01)\"},{\"value\":\"17\",\"label\":\"Noah Young (PEP20)\"},{\"value\":\"31\",\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":\"19\",\"label\":\"Samuel Baker (PEP22)\"},{\"value\":\"3\",\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":\"34\",\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":\"35\",\"label\":\"Sebastian Mitchell (PEP38)\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_id__badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id | Owner\",\"required\":false},{\"name\":\"automation_multiple_employee_id__employee_user_id\",\"type\":\"Select\",\"label\":\"User | Owner\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"admin\"},{\"value\":2,\"label\":\"Horilla Bot\"},{\"value\":3,\"label\":\"michael.brown@horilla.com\"},{\"value\":4,\"label\":\"sarah.anderson@horilla.com\"},{\"value\":5,\"label\":\"emily.clark@horilla.com\"},{\"value\":6,\"label\":\"jessica.evans@horilla.com\"},{\"value\":7,\"label\":\"matthew.harris@horilla.com\"},{\"value\":8,\"label\":\"david.king@horilla.com\"},{\"value\":9,\"label\":\"emma.lee@horilla.com\"},{\"value\":10,\"label\":\"christopher.miller@horilla.com\"},{\"value\":11,\"label\":\"mia.nelson@horilla.com\"},{\"value\":12,\"label\":\"benjamin.parker@horilla.com\"},{\"value\":13,\"label\":\"abigail.roberts@horilla.com\"},{\"value\":14,\"label\":\"alexander.smith@horilla.com\"},{\"value\":15,\"label\":\"isabella.thompson@horilla.com\"},{\"value\":16,\"label\":\"jacob.walker@horilla.com\"},{\"value\":17,\"label\":\"charlotte.white@horilla.com\"},{\"value\":18,\"label\":\"noah.young@horilla.com\"},{\"value\":19,\"label\":\"grace.allen@horilla.com\"},{\"value\":20,\"label\":\"samuel.baker@horilla.com\"},{\"value\":21,\"label\":\"lily.campbell@horilla.com\"},{\"va
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\" data-select2-id=\"multipleConditionForm\"><table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"225\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_title\",\"type\":\"TextInput\",\"label\":\"Title\",\"required\":true,\"max_length\":50},{\"name\":\"automation_multiple_employee_id\",\"type\":\"Select\",\"label\":\"Owner\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"12\",\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":\"1\",\"label\":\"Adam Luis (PEP00)\"},{\"value\":\"37\",\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":\"13\",\"label\":\"Alexander Smith (PEP16)\"},{\"value\":\"22\",\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":\"28\",\"label\":\"Avery Hill (PEP31)\"},{\"value\":\"16\",\"label\":\"Charlotte White (PEP19)\"},{\"value\":\"36\",\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":\"9\",\"label\":\"Christopher Miller (PEP12)\"},{\"value\":\"7\",\"label\":\"David King (PEP10)\"},{\"value\":\"30\",\"label\":\"Ella Jackson (PEP33)\"},{\"value\":\"4\",\"label\":\"Emily Clark (PEP03)\"},{\"value\":\"8\",\"label\":\"Emma Lee (PEP11)\"},{\"value\":\"27\",\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":\"18\",\"label\":\"Grace Allen (PEP21)\"},{\"value\":\"33\",\"label\":\"Henry Lewis (PEP36)\"},{\"value\":\"14\",\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":\"15\",\"label\":\"Jacob Walker (PEP18)\"},{\"value\":\"5\",\"label\":\"Jessica Evans (PEP05)\"},{\"value\":\"32\",\"label\":\"Madison Kelly (PEP35)\"},{\"value\":\"6\",\"label\":\"Matthew Harris (PEP08)\"},{\"value\":\"10\",\"label\":\"Mia Nelson (PEP13)\"},{\"value\":\"2\",\"label\":\"Michael Brown (PEP01)\"},{\"value\":\"17\",\"label\":\"Noah Young (PEP20)\"},{\"value\":\"31\",\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":\"19\",\"label\":\"Samuel Baker (PEP22)\"},{\"value\":\"3\",\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":\"34\",\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":\"35\",\"label\":\"Sebastian Mitchell (PEP38)\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_id__badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id | Owner\",\"required\":false},{\"name\":\"automation_multiple_employee_id__employee_user_id\",\"type\":\"Select\",\"label\":\"User | Owner\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"admin\"},{\"value\":2,\"label\":\"Horilla Bot\"},{\"value\":3,\"label\":\"michael.brown@horilla.com\"},{\"value\":4,\"label\":\"sarah.anderson@horilla.com\"},{\"value\":5,\"label\":\"emily.clark@horilla.com\"},{\"value\":6,\"label\":\"jessica.evans@horilla.com\"},{\"value\":7,\"label\":\"matthew.harris@horilla.com\"},{\"value\":8,\"label\":\"david.king@horilla.com\"},{\"value\":9,\"label\":\"emma.lee@horilla.com\"},{\"value\":10,\"label\":\"christopher.miller@horilla.com\"},{\"value\":11,\"label\":\"mia.nelson@horilla.com\"},{\"value\":12,\"label\":\"benjamin.parker@horilla.com\"},{\"value\":13,\"label\":\"abigail.roberts@horilla.com\"},{\"value\":14,\"label\":\"alexander.smith@horilla.com\"},{\"value\":15,\"label\":\"isabella.thompson@horilla.com\"},{\"value\":16,\"label\":\"jacob.walker@horilla.com\"},{\"value\":17,\"label\":\"charlotte.white@horilla.com\"},{\"value\":18,\"label\":\"noah.young@horilla.com\"},{\"value\":19,\"label\":\"grace.allen@horilla.com\"},{\"value\":20,\"label\":\"samuel.baker@hor
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 18,
"fields": {
"created_at": "2025-09-11T06:40:34.255Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Ticket Comment Notification {{instance.ticket.title}}",
"method_title": "ticket_comment_notification_-_{{instance.ticket.title}}",
"model": "helpdesk.models.Comment",
"mail_to": "['ticket__employee_id__get_email']",
"mail_details": "ticket__employee_id__pk",
"mail_detail_choice": "",
"trigger": "on_create",
"mail_template": 20,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_comment\",\"type\":\"Textarea\",\"label\":\"Comment\",\"required\":false,\"max_length\":null},{\"name\":\"automation_multiple_ticket\",\"type\":\"Select\",\"label\":\"Ticket\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"1\",\"label\":\"Payment Request\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_ticket__is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is active | Ticket\",\"required\":false},{\"name\":\"automation_multiple_ticket__title\",\"type\":\"TextInput\",\"label\":\"Title | Ticket\",\"required\":true},{\"name\":\"automation_multiple_ticket__employee_id\",\"type\":\"Select\",\"label\":\"Owner | Ticket\",\"required\":true,\"options\":[{\"value\":12,\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":1,\"label\":\"Adam Luis (PEP00)\"},{\"value\":37,\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":13,\"label\":\"Alexander Smith (PEP16)\"},{\"value\":22,\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":28,\"label\":\"Avery Hill (PEP31)\"},{\"value\":16,\"label\":\"Charlotte White (PEP19)\"},{\"value\":36,\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":9,\"label\":\"Christopher Miller (PEP12)\"},{\"value\":7,\"label\":\"David King (PEP10)\"},{\"value\":30,\"label\":\"Ella Jackson (PEP33)\"},{\"value\":4,\"label\":\"Emily Clark (PEP03)\"},{\"value\":8,\"label\":\"Emma Lee (PEP11)\"},{\"value\":27,\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":18,\"label\":\"Grace Allen (PEP21)\"},{\"value\":33,\"label\":\"Henry Lewis (PEP36)\"},{\"value\":14,\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":15,\"label\":\"Jacob Walker (PEP18)\"},{\"value\":5,\"label\":\"Jessica Evans (PEP05)\"},{\"value\":32,\"label\":\"Madison Kelly (PEP35)\"},{\"value\":6,\"label\":\"Matthew Harris (PEP08)\"},{\"value\":10,\"label\":\"Mia Nelson (PEP13)\"},{\"value\":2,\"label\":\"Michael Brown (PEP01)\"},{\"value\":17,\"label\":\"Noah Young (PEP20)\"},{\"value\":31,\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":19,\"label\":\"Samuel Baker (PEP22)\"},{\"value\":3,\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":34,\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":35,\"label\":\"Sebastian Mitchell (PEP38)\"}]},{\"name\":\"automation_multiple_ticket__ticket_type\",\"type\":\"Select\",\"label\":\"Ticket type | Ticket\",\"required\":true,\"options\":[{\"value\":1,\"label\":\"Payment Request\"}]},{\"name\":\"automation_multiple_ticket__description\",\"type\":\"Textarea\",\"label\":\"Description | Ticket\",\"required\":true},{\"name\":\"automation_multiple_ticket__priority\",\"type\":\"Select\",\"label\":\"Priority | Ticket\",\"required\":true,\"options\":[{\"value\":\"low\",\"label\":\"Low\"},{\"value\":\"medium\",\"label\":\"Medium\"},{\"value\":\"high\",\"label\":\"High\"}]},{\"name\":\"automation_multiple_ticket__resolved_date\",\"type\":\"DateInput\",\"label\":\"Resolved date | Ticket\",\"required\":false},{\"name\":\"automation_multiple_ticket__assigning_type\",\"type\":\"Select\",\"label\":\"Assigning type | Ticket\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"department\",\"label\":\"Department\"},{\"value\":\"job_position\",\"label\":\"Job Position\"},{\"value\":\"individual\",\"label\":\"Individual\"}]},{\"name\":\"automation_multiple_ticket__raised_on\",\"type\":\"TextInp
"condition_querystring": "automation_multiple_condition=automation_multiple_is_active&condition=%3D%3D&automation_multiple_condition=on&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
},
{
"model": "horilla_automations.mailautomation",
"pk": 19,
"fields": {
"created_at": "2025-09-25T10:04:07.037Z",
"created_by": 1,
"modified_by": 1,
"is_active": true,
"title": "Reimbursement Approved {{ instance.title }}",
"method_title": "reimbursement_approved__{{_instance.title_}}",
"model": "payroll.models.models.Reimbursement",
"mail_to": "['employee_id__get_email']",
"mail_details": "employee_id__pk",
"mail_detail_choice": "",
"trigger": "on_update",
"mail_template": 21,
"delivery_channel": "email",
"condition_html": "<table id=\"multipleConditionTable\">\r\n <tbody data-select2-id=\"216\"><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\" role=\"img\" class=\"md hydrated\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n <tr class=\"dynamic-condition-row\">\r\n <td class=\"sn\">C1</td>\r\n <td id=\"conditionalField\" data-select2-id=\"conditionalField\">\r\n <div hidden=\"\">[{\"name\":\"automation_multiple_is_active\",\"type\":\"CheckboxInput\",\"label\":\"Is Active\",\"required\":false},{\"name\":\"automation_multiple_title\",\"type\":\"TextInput\",\"label\":\"Title\",\"required\":true,\"max_length\":50},{\"name\":\"automation_multiple_type\",\"type\":\"Select\",\"label\":\"Type\",\"required\":true,\"options\":[{\"value\":\"reimbursement\",\"label\":\"Reimbursement\"},{\"value\":\"bonus_encashment\",\"label\":\"Bonus Point Encashment\"},{\"value\":\"leave_encashment\",\"label\":\"Leave Encashment\"}]},{\"name\":\"automation_multiple_employee_id\",\"type\":\"Select\",\"label\":\"Employee\",\"required\":true,\"options\":[{\"value\":\"\",\"label\":\"---------\"},{\"value\":\"12\",\"label\":\"Abigail Roberts (PEP15)\"},{\"value\":\"1\",\"label\":\"Adam Luis (PEP00)\"},{\"value\":\"37\",\"label\":\"Aiden Murphy (PEP40)\"},{\"value\":\"13\",\"label\":\"Alexander Smith (PEP16)\"},{\"value\":\"22\",\"label\":\"Amelia Cooper (PEP25)\"},{\"value\":\"28\",\"label\":\"Avery Hill (PEP31)\"},{\"value\":\"16\",\"label\":\"Charlotte White (PEP19)\"},{\"value\":\"36\",\"label\":\"Chloe Morgan (PEP39)\"},{\"value\":\"9\",\"label\":\"Christopher Miller (PEP12)\"},{\"value\":\"7\",\"label\":\"David King (PEP10)\"},{\"value\":\"30\",\"label\":\"Ella Jackson (PEP33)\"},{\"value\":\"4\",\"label\":\"Emily Clark (PEP03)\"},{\"value\":\"8\",\"label\":\"Emma Lee (PEP11)\"},{\"value\":\"27\",\"label\":\"Ethan Gonzalez (PEP30)\"},{\"value\":\"18\",\"label\":\"Grace Allen (PEP21)\"},{\"value\":\"33\",\"label\":\"Henry Lewis (PEP36)\"},{\"value\":\"14\",\"label\":\"Isabella Thompson (PEP17)\"},{\"value\":\"15\",\"label\":\"Jacob Walker (PEP18)\"},{\"value\":\"5\",\"label\":\"Jessica Evans (PEP05)\"},{\"value\":\"32\",\"label\":\"Madison Kelly (PEP35)\"},{\"value\":\"6\",\"label\":\"Matthew Harris (PEP08)\"},{\"value\":\"10\",\"label\":\"Mia Nelson (PEP13)\"},{\"value\":\"2\",\"label\":\"Michael Brown (PEP01)\"},{\"value\":\"17\",\"label\":\"Noah Young (PEP20)\"},{\"value\":\"31\",\"label\":\"Owen Jenkins (PEP34)\"},{\"value\":\"19\",\"label\":\"Samuel Baker (PEP22)\"},{\"value\":\"3\",\"label\":\"Sarah Anderson (PEP02)\"},{\"value\":\"34\",\"label\":\"Scarlett Martinez (PEP37)\"},{\"value\":\"35\",\"label\":\"Sebastian Mitchell (PEP38)\"}],\"related_fields\":[]},{\"name\":\"automation_multiple_employee_id__badge_id\",\"type\":\"TextInput\",\"label\":\"Badge id | Employee\",\"required\":false},{\"name\":\"automation_multiple_employee_id__employee_user_id\",\"type\":\"Select\",\"label\":\"User | Employee\",\"required\":false,\"options\":[{\"value\":1,\"label\":\"admin\"},{\"value\":2,\"label\":\"Horilla Bot\"},{\"value\":3,\"label\":\"michael.brown@horilla.com\"},{\"value\":4,\"label\":\"sarah.anderson@horilla.com\"},{\"value\":5,\"label\":\"emily.clark@horilla.com\"},{\"value\":6,\"label\":\"jessica.evans@horilla.com\"},{\"value\":7,\"label\":\"matthew.harris@horilla.com\"},{\"value\":8,\"label\":\"david.king@horilla.com\"},{\"value\":9,\"label\":\"emma.lee@horilla.com\"},{\"value\":10,\"label\":\"christopher.miller@horilla.com\"},{\"value\":11,\"label\":\"mia.nelson@horilla.com\"},{\"value\":12,\"label\":\"benjamin.parker@horilla.com\"},{\"value\":13,\"label\":\"abigail.roberts@horilla.com\"},{\"value\":14,\"label\":\"alexander.smith@horilla.com\"},{\"value\":15,\"label\":\"isabella.thompson@horilla.com\"},{\"value\":16,\"la
"condition_querystring": "automation_multiple_condition=automation_multiple_status&condition=%3D%3D&automation_multiple_condition=approved&logic=and",
"condition": "<form id=\"multipleConditionForm\">\r\n <table id=\"multipleConditionTable\">\r\n <tbody><tr>\r\n <th>Code</th>\r\n <th>Field</th>\r\n <th>Condition</th>\r\n <th>Value</th>\r\n <th>Logic</th>\r\n <th>\r\n Action \r\n <span title=\"Reload\" onclick=\"$('[name=model]').change()\">\r\n <ion-icon name=\"refresh-circle\"></ion-icon>\r\n </span>\r\n </th>\r\n </tr>\r\n </tbody></table>\r\n </form>\r\n <script>\r\n $(\"#multipleConditionTable\").closest(\"[contenteditable=true]\").removeAttr(\"contenteditable\");\r\n </script>",
"also_sent_to": [],
"template_attachments": []
}
}
]