Recruiting openings and candidates
The route is currently gated by view:employees; openings and candidates are loaded from recruiting endpoints, and active departments, positions and onboarding templates populate selectors. A visible recruiting control does not itself prove a distinct create permission is enforced; follow the application response and company HR policy.
Open or close a role
Enter a non-empty title, optional description, department and position, then Create. The new opening appears in the list with its state and candidate count. Select an opening to load its candidate pipeline. The Open/Close control toggles between open and closed and refreshes the list. Closed openings hide candidate-add fields; reopen before adding another candidate. If a request fails, reload openings and check whether the role was created before submitting again.
Add and move a candidate
For an open selected role, enter first name and last name (required), optional email and notes, then Add. Salary, fiscal-code and onboarding-template fields also appear in the form but the current add request does not send those values; do not rely on them being stored. Candidates appear in Applied, Screen, Interview, Offer, Hired or Rejected columns. The score stepper writes a score from 0–100 immediately; the AI score action applies its returned suggestion. A separate action can create a CRM lead from the candidate. Verify the score, stage and lead before repeating any write.
Create employee from candidate
The candidate workflow includes a hire action with salary, fiscal code and optional onboarding template. Review candidate identity and target employee fields before confirming. The server may create an employee and optionally an onboarding instance; verify both destinations, especially after partial failure, before repeating. Creating a candidate or closing a role does not send an offer or contact the person. Keep candidate data and consent handling within the authorized recruitment process.
Opening and candidate mutations, score changes, hiring and the AI score action use edit:employees. AI scoring returns a configuration error (503) when the AI assistant is not configured; when available, the mounted action applies the returned score immediately. Creating a CRM lead additionally requires create:crm_leads as well as view:employees, so the lead action can fail even when the recruiting page loads. No offer email is sent by these operations.
Hire creates a full-time employee from the candidate and marks the candidate hired. A positive salary creates a permanent annual EUR contract; a blank or non-positive salary creates no contract. The action also tries to start onboarding from the selected or a matched template, then closes the opening. Onboarding errors are logged and swallowed, so hiring can succeed without an onboarding instance. After success, verify the employee, candidate stage, optional contract, onboarding and opening separately before retrying.