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
| Component | Tool | Description |
|---|---|---|
| Orchestration | n8n | The primary workflow engine. Connects APIs, webhooks, and databases. |
| Logic | Python Scripts | Custom scripts for complex data processing (e.g., PDF parsing). |
| Interface | Odoo Actions | Server Actions and Automated Rules triggered within Odoo. |
| AI | Gemini / LLMs | Intelligence 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:
- n8n fetches the CV.
- Sends to Gemini for analysis against the Job Description.
- Scores the candidate (0-100).
- Updates Odoo with the score and summary.
- (Optional) Auto-rejects low scores.
2. The "Security Dispatch"
- Trigger: RocketCyber alert (Critical).
- Action:
- Webhook hits Odoo.
- Odoo creates a Helpdesk Ticket.
- n8n posts a card to Google Chat "War Room".
- SMS sent to On-Call Engineer.