Factorial
Factorial is an all-in-one HR platform. List and create employees, browse teams, review time-off leaves, and read contract data from your AI workflows.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Factorial (API Key)
API Key
Factorial (API Key)
Connect to Factorial to manage employees, teams, time off, and contracts.
Set up in Factorial
Prepare the Factorial account or service that the workflow will access. Grant access to the required resources and operations.
API Key: Your Factorial API key, generated by an administrator in the Factorial platform (Settings -> API Keys). API keys have full admin access to the company, so store them carefully.
Set up in StackAI
Open Settings → Connections, add a connection, and select Factorial (API Key).
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
API Key
Yes
Your Factorial API key, generated by an administrator in the Factorial platform (Settings -> API Keys). API keys have full admin access to the company, so store them carefully. Provider instructions.
Environment
Optional / as applicable
Factorial environment: 'production' or 'demo'. Credentials are environment-specific; a mismatch yields empty responses.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Factorial action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
List Employees
List employees, with optional email, name, and team filters.
Inputs
Emails
array
No
Return only employees with these exact email addresses.
Name Search
string
No
Free-text search on the employee name.
Team
select (string)
No
Return only members of this team. Options load from the selected connection.
Only Active
boolean
No
Return only active employees (default true).
Only Managers
boolean
No
Return only employees who manage others (default false).
Limit
integer
No
Maximum employees to return (default 100).
Outputs
Employees
dict_array
The employees matching the filters.
Total
integer
Total employees matching the filters.
Has More
boolean
True if more employees exist beyond the returned set.
Create Employee
Create an employee (with a minimal initial contract) in a company.
Inputs
Company
select (string)
Yes
Factorial company to create the employee in. Options load from the selected connection.
First Name
string
Yes
The employee's first name.
Last Name
string
Yes
The employee's last name.
string
Yes
The employee's work email address.
Contract Start Date
date
No
Start date of the employee's initial contract.
Manager
select (string)
No
The employee's manager. Options load from the selected connection.
Team
select (string)
No
Team to add the employee to. Options load from the selected connection.
Legal Entity
select (string)
No
Legal entity the employee belongs to. Options load from the selected connection.
Phone Number
string
No
The employee's phone number.
Outputs
Employee
dict
The created employee.
Employee ID
integer
ID of the created employee.
List Teams
List the teams in the company.
Inputs
Limit
integer
No
Maximum teams to return (default 100).
Outputs
Teams
dict_array
The company's teams.
Total
integer
Total number of teams.
Has More
boolean
True if more teams exist beyond the returned set.
List Leaves
List time-off leaves, with employee, type, date, and approval filters.
Inputs
Employee
select (string)
No
Return only leaves of this employee. Options load from the selected connection.
Leave Type
select (string)
No
Return only leaves of this type. Options load from the selected connection.
From Date
date
No
Return only leaves starting on or after this date.
To Date
date
No
Return only leaves starting on or before this date.
Approval Status
select (string)
No
Filter by approval status (default any). Available values: Any, Approved, Not Approved.
Limit
integer
No
Maximum leaves to return (default 100).
Outputs
Leaves
dict_array
The time-off leaves matching the filters.
Total
integer
Total leaves matching the filters.
Has More
boolean
True if more leaves exist beyond the returned set.
List Contracts
List contract versions, with optional employee and date filters.
Inputs
Employee
select (string)
No
Return only contracts of this employee. Options load from the selected connection.
Effective On
date
No
Return only the contract versions effective on this date.
Limit
integer
No
Maximum contracts to return (default 100).
Outputs
Contracts
dict_array
The contract versions matching the filters.
Total
integer
Total contract versions matching the filters.
Has More
boolean
True if more contract versions exist beyond the returned set.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

