Skip to main content

Business Automation (The Nervous System)

This directory contains the Internal Business Logic of Polaris IT Solutions. While infrastructure-as-code handles the servers, this repository handles the processes.

🎯 Purpose

To automate the "Business of the Business". We use code to handle:

  • HR & Recruitment: Filtering resumes, scheduling interviews, onboarding staff.
  • Finance: Invoice generation, expense tracking, payroll calculation.
  • Compliance: Evidence collection for ISO 27001 audits.
  • Service Desk: Routing tickets from Odoo/RocketCyber to the right technician.

🛠️ Technology Stack

ComponentToolDescription
Orchestrationn8nThe primary workflow engine. Connects APIs, webhooks, and databases.
LogicPython ScriptsCustom scripts for complex data processing (e.g., PDF parsing).
InterfaceOdoo ActionsServer Actions and Automated Rules triggered within Odoo.
AIGemini / LLMsIntelligence layer for unstructured data (e.g., "Read this resume").

📂 Directory Structure

  • hr-recruitment/: Automation for the hiring pipeline.
  • finance/ (Planned): Automations for Xero/Odoo syncing.
  • compliance/ (Planned): Automations for Vanta/Drata style evidence gathering.

🚀 Key Workflows

1. The "Smart Recruiter"

  • Trigger: New application in Odoo Recruitment.
  • Action:
    1. n8n fetches the CV.
    2. Sends to Gemini for analysis against the Job Description.
    3. Scores the candidate (0-100).
    4. Updates Odoo with the score and summary.
    5. (Optional) Auto-rejects low scores.

2. The "Security Dispatch"

  • Trigger: RocketCyber alert (Critical).
  • Action:
    1. Webhook hits Odoo.
    2. Odoo creates a Helpdesk Ticket.
    3. n8n posts a card to Google Chat "War Room".
    4. SMS sent to On-Call Engineer.