Onboard New Hire is a Naftiko capability published by Factorial on the APIs.io network.
Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.
apiVersion: naftiko.dev/v1alpha1 kind: Workflow metadata: name: factorial-onboard-new-hire labels: provider: factorial domain: hr spec: title: Onboard a New Hire in Factorial description: >- Composed workflow that registers a new employee in Factorial and confirms the resulting record. Combines the create + get employee operations and is intended to fire downstream webhook subscriptions (employee_created, employee_invited). uses: - capability: factorial-employees operations: - createEmployee - getEmployee steps: - id: create capability: factorial-employees operation: createEmployee with: body: email: "{{ inputs.email }}" first_name: "{{ inputs.first_name }}" last_name: "{{ inputs.last_name }}" company_id: "{{ inputs.company_id }}" legal_entity_id: "{{ inputs.legal_entity_id }}" role: basic - id: confirm capability: factorial-employees operation: getEmployee with: path: id: "{{ steps.create.response.id }}"