Kallidus Sapling
App · 12 actions
Read and update people in Kallidus Sapling, add pending hires, and read profile fields and onboarding tasks.
Actions
| Action | What it does |
|---|---|
| Create pending hire | Add a new hire to Sapling's pending hires, ready for someone to start their onboarding. |
| Create user | Add a person to Sapling with their work email, name and start date, and any other profile fields. |
| Delete task | Delete a task. |
| Get field for every user | Get one profile field's value for every person, such as everyone's T-shirt size. |
| Get pending hire | Get one pending hire. |
| Get user | Get one person's profile, with the current value of every field the API can share. |
| List fields | List the profile fields the API can read and write, with each one's ID, name, section, type and choices. |
| List pending hires | List new hires waiting in Sapling for their onboarding to start. |
| List tasks | List onboarding and offboarding tasks, optionally only those owned by one person. |
| List users | List people in Sapling, optionally by status, department, location, manager, employment status or start date. |
| Update pending hire | Change a pending hire's details before their onboarding starts. |
| Update user | Change fields on a person's profile. |
Create pending hire
Add a new hire to Sapling's pending hires, ready for someone to start their onboarding. Sapling flags a hire whose personal email it already has.
Inputs
- Personal email
personal_emailtextRequired - The new hire's personal email, where Sapling sends their invitation.
- First name
first_nametextRequired - The new hire's first name.
- Last name
last_nametextRequired - The new hire's last name.
- Start date
start_datedateRequired - The new hire's expected first day.
- Preferred name
preferred_nametext - The name the new hire goes by. Leave empty to use the first name.
- Job title
job_titletext - The new hire's job title.
- Department
departmenttext - The new hire's department, as it is named in Sapling.
- Location
locationtext - The new hire's location, as it is named in Sapling.
- Employment status
employment_statustext - The employment status, as it is named in Sapling, such as `Full Time`.
- Status
statustext - Whether the new hire is active.One of:
active,inactive.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"customer": {
"companyID": 1,
"domain": "example"
},
"guid": "example",
"message": "example",
"status": 1,
"userGUID": "example",
"userID": 1
}
}Create user
Add a person to Sapling with their work email, name and start date, and any other profile fields.
Inputs
- Company email
company_emailtextRequired - The person's work email.
- First name
first_nametextRequired - The person's first name.
- Last name
last_nametextRequired - The person's last name.
- Start date
start_datedateRequired - The person's first day.
- Preferred name
preferred_nametext - The name the person goes by.
- Job title
job_titletext - The person's job title.
- Department
departmenttext - The person's department, as it is named in Sapling.
- Location
locationtext - The person's location, as it is named in Sapling.
- Manager
managertext - The person's manager.
- Personal email
personal_emailtext - The person's personal email.
- Employment status
employment_statustext - The employment status, as it is named in Sapling, such as `Full Time`.
- Status
statustext - Whether the person is active in Sapling.One of:
active,inactive. - Other fields
other_fieldsobject - Any other profile fields to set, each named by its field ID from the List fields step (such as `PFID16283462802483` or `t_shirt_size`) with its value.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"message": "example",
"status": 1
}
}Delete task
Delete a task.
Inputs
- Task
task_idnumberRequired - The task, as the number Sapling gives it.At least 1.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"deleted": true,
"task_id": 1
}
}Get field for every user
Get one profile field's value for every person, such as everyone's T-shirt size.
Inputs
- Field
field_idtextRequired - The profile field.
- Page
pagenumber - Which page of people to read: 1 is the first. Leave empty for the first page.At least 1.
- Results per page
limitnumber - How many people to read per page. Leave empty for 50.From 1 to 1000.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"current_page": 1,
"total_pages": 1,
"total_users": 1,
"users": [
{
"guid": "example",
"id": "example"
}
]
}
}Get pending hire
Get one pending hire.
Inputs
- Pending hire
pending_hire_idtextRequired - The pending hire.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"customer": {
"companyID": 1,
"domain": "example"
},
"pending_hire": {
"department": "example",
"employmentStatus": "example",
"firstName": "example",
"jobTitle": "example",
"lastName": "example",
"location": "example",
"manager": "example",
"pendingHireID": "example",
"personalEmail": "example",
"phoneNumber": "example",
"preferredName": "example",
"source": "example",
"startDate": "example",
"status": "example",
"userGUID": "example",
"userID": 1
},
"status": 1
}
}Get user
Get one person's profile, with the current value of every field the API can share.
Inputs
- User
user_guidtextRequired - The user, as the GUID Sapling gives each person.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"company_email": "example",
"department": "example",
"employment_status": "example",
"first_name": "example",
"guid": "example",
"home_address": {
"city": "example",
"country": "example",
"line1": "example",
"line2": "example",
"state": "example",
"zip": "example"
},
"job_title": "example",
"last_day_worked": "example",
"last_name": "example",
"location": "example",
"manager": "example",
"personal_email": "example",
"preferred_name": "example",
"start_date": "example",
"state": "example",
"termination_date": "example"
}
}List fields
List the profile fields the API can read and write, with each one's ID, name, section, type and choices.
Inputs
None.
Outputs
datalist- The response from Kallidus Sapling.
Example output
{
"data": [
{
"id": "example",
"name": "example",
"options": "example",
"section": "example",
"sub_fields": [
{
"id": "example",
"name": "example",
"type": "example"
}
],
"type": "example"
}
]
}List pending hires
List new hires waiting in Sapling for their onboarding to start.
Inputs
- Page
pagenumber - Which page of pending hires to read: 1 is the first. Leave empty for the first page.At least 1.
- Results per page
limitnumber - How many pending hires to read per page. Leave empty for 50.From 1 to 1000.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"current_page": 1,
"customer": {
"companyID": 1,
"domain": "example"
},
"pending_hires": [
{
"department": "example",
"employmentStatus": "example",
"firstName": "example",
"jobTitle": "example",
"lastName": "example",
"location": "example",
"manager": "example",
"pendingHireID": "example",
"personalEmail": "example",
"phoneNumber": "example",
"preferredName": "example",
"source": "example",
"startDate": "example",
"status": "example",
"userGUID": "example",
"userID": 1
}
],
"total_pages": 1,
"total_pending_hires": 1
}
}List tasks
List onboarding and offboarding tasks, optionally only those owned by one person.
Inputs
- Owner email
owner_emailtext - Only list tasks owned by the person with this email.
- Page
pagenumber - Which page of tasks to read: 1 is the first. Leave empty for the first page.At least 1.
- Results per page
limitnumber - How many tasks to read per page. Leave empty for 50.From 1 to 1000.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"current_page": 1,
"tasks": [
{
"created_at": "example",
"description": "example",
"due_date": "example",
"name": "example",
"owner_email": "example",
"owner_guid": "example",
"owner_name": "example",
"receiver_email": "example",
"receiver_guid": "example",
"receiver_name": "example",
"state": "example",
"task_id": 1,
"updated_at": "example",
"workflow_id": 1,
"workflow_name": "example",
"workspace_name": "example"
}
],
"total_pages": 1,
"total_tasks": 1
}
}List users
List people in Sapling, optionally by status, department, location, manager, employment status or start date.
Inputs
- Status
statustext - Only list active or inactive people.One of:
active,inactive. - Department
departmenttext - Only list people in this department.
- Location
locationtext - Only list people at this location.
- Manager
managertext - Only list people this person manages.
- Employment status
employment_statustext - Only list people with this employment status, such as `Full Time`.
- Started on or after
started_sincedate - Only list people who started on or after this day.
- Started on or before
started_untildate - Only list people who started on or before this day.
- Page
pagenumber - Which page of people to read: 1 is the first. Leave empty for the first page.At least 1.
- Results per page
limitnumber - How many people to read per page. Leave empty for 50.From 1 to 1000.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"current_page": 1,
"total_pages": 1,
"total_users": 1,
"users": [
{
"company_email": "example",
"department": "example",
"employment_status": "example",
"first_name": "example",
"guid": "example",
"home_address": {
"city": "example",
"country": "example",
"line1": "example",
"line2": "example",
"state": "example",
"zip": "example"
},
"job_title": "example",
"last_day_worked": "example",
"last_name": "example",
"location": "example",
"manager": "example",
"personal_email": "example",
"preferred_name": "example",
"start_date": "example",
"state": "example",
"termination_date": "example"
}
]
}
}Update pending hire
Change a pending hire's details before their onboarding starts. Fields left empty stay as they are.
Inputs
- Pending hire
pending_hire_idtextRequired - The pending hire.
- Personal email
personal_emailtext - The new hire's personal email, where Sapling sends their invitation.
- First name
first_nametext - The new hire's first name.
- Last name
last_nametext - The new hire's last name.
- Start date
start_datedate - The new hire's expected first day.
- Preferred name
preferred_nametext - The name the new hire goes by. Leave empty to use the first name.
- Job title
job_titletext - The new hire's job title.
- Department
departmenttext - The new hire's department, as it is named in Sapling.
- Location
locationtext - The new hire's location, as it is named in Sapling.
- Employment status
employment_statustext - The employment status, as it is named in Sapling, such as `Full Time`.
- Status
statustext - Whether the new hire is active.One of:
active,inactive.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"customer": {
"companyID": 1,
"domain": "example"
},
"guid": "example",
"message": "example",
"status": 1,
"userGUID": "example",
"userID": 1
}
}Update user
Change fields on a person's profile. Fields left empty stay as they are.
Inputs
- User
user_guidtextRequired - The user, as the GUID Sapling gives each person.
- Company email
company_emailtext - The person's work email.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name.
- Start date
start_datedate - The person's first day.
- Preferred name
preferred_nametext - The name the person goes by.
- Job title
job_titletext - The person's job title.
- Department
departmenttext - The person's department, as it is named in Sapling.
- Location
locationtext - The person's location, as it is named in Sapling.
- Manager
managertext - The person's manager.
- Personal email
personal_emailtext - The person's personal email.
- Employment status
employment_statustext - The employment status, as it is named in Sapling, such as `Full Time`.
- Status
statustext - Whether the person is active in Sapling.One of:
active,inactive. - Other fields
other_fieldsobject - Any other profile fields to set, each named by its field ID from the List fields step (such as `PFID16283462802483` or `t_shirt_size`) with its value.
Outputs
dataobject- The response from Kallidus Sapling.
Example output
{
"data": {
"message": "example",
"status": 1
}
}