Skip to main content

Get organization

Action ID: tools.deel.get_organization Returns details of the organization associated with the authentication token; the organization is resolved automatically from the token and requires no additional identifier. Calls GET /rest/organizations. Required token scopes: organizations:read. Reference: https://developer.deel.com/api/endpoints/organizations/get-organizations

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

Get organization structure

Action ID: tools.deel.get_organization_structure Retrieves detailed information about a specific organizational structure including its teams and roles. Calls GET /rest/hris/organization_structures/{hris_org_structure_id}. Required token scopes: organizations:read. Reference: https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structure

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
HRIS Organization Structure ID.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

Get person

Action ID: tools.deel.get_person Returns detailed information about a single person in the organization by their public ID. Calls GET /rest/people/{hris_profile_id}. Required token scopes: people:read. Reference: https://developer.deel.com/api/hris-endpoints/people/get-person-by-id

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
Unique identifier for the person.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
boolean | null
Include custom fields in the response.Default: null.
boolean | null
Include worker relations in the response.Default: null.

Get person custom fields

Action ID: tools.deel.get_person_custom_fields Returns the custom field values recorded on a worker profile. Calls GET /rest/people/{worker_id}/custom_fields. Required token scopes: people:read. Reference: https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-person-custom-fields

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
Worker id.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

Get person personal information

Action ID: tools.deel.get_person_personal_information Returns the personal information of a worker profile addressed by its Deel public worker ID, limited to profiles in the caller organization and legal entities the caller is allowed to access. Calls GET /rest/people/{worker_id}/personal. Required token scopes: people:read. Reference: https://developer.deel.com/api/hris-endpoints/personal-information/get-person-personal-info

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
Unique identifier for a worker (External ID).
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

Get SCIM user

Action ID: tools.deel.get_user Fetch one worker’s SCIM-formatted user profile by their HRIS profile ID. Calls GET /scim/v2/Users/{hris_profile_id}. Required token scopes: Users:read. Reference: https://developer.deel.com/api/hris-endpoints/users/get-user-by-id

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
The unique identifier (OID) of the HRIS profile to retrieve.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

Get time off entitlements

Action ID: tools.deel.get_time_off_entitlements Use this endpoint to check a worker’s current leave balance — total entitlement granted, days used, and days remaining — across all active policies for a given tracking period. Calls GET /rest/time_offs/profile/{hris_profile_id}/entitlements. Required token scopes: time-off:read. Reference: https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-entitlements

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
HRIS profile ID.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
Policy type name. Allowed values: Adoption leave, Advanced vacation, Bereaved partner’s paternity leave, Bereavement leave, Blood donation leave, Breastfeeding leave, Carer’s leave, Childbirth leave, Childcare leave, Civic/public duty leave, Compensatory leave, Disability leave, Doctor’s appointment leave, Family & domestic violence leave, Family responsibility leave, Floating Holiday Allowance, Hajj leave, Hospitalization leave, Long Service Leave, Make-up time, Marriage/wedding leave, Maternity leave, Menstrual leave, Military leave, Moving leave, Neonatal care leave, Other leave, Paid leave, Parental bereavement leave, Parental leave, Paternity leave, Personal leave, Pregnancy leave, Regional holiday, RTT, Shared parental leave, Sick leave, Strike, Study leave, Supplementary Leave, Unpaid leave, Vacation, Vacation - public holidays replacement, Volunteer leave, Voting leave, Work accident leave, Work away from office, Work Location.Default: null.
string | null
Tracking period date. Format: YYYY-MM-DD.Default: null.

List groups

Action ID: tools.deel.list_groups Lists the groups available to the caller, including archived ones by default; set the include_archived_groups query parameter to false to exclude them. Calls GET /rest/groups. Required token scopes: groups:read. Reference: https://developer.deel.com/api/endpoints/groups/get-groups

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
The encoded cursor for paginated results. This is an opaque string that allows fetching the next set of results.Default: null.
string | null
Extra information about the group.Default: null.
boolean | null
Include archived groups (soft deleted records). Defaults to true.Default: null.
integer | null
The maximum number of groups to return (between 1 and 100). Maximum: 100.Default: null.
string | null
Sort the results in ascending (ASC) or descending (DESC) order based on the group name. Allowed values: ASC, DESC.Default: null.
Action ID: tools.deel.list_legal_entities Lists the legal entities under the calling organization so an integration can resolve which entity a worker, contract, payroll cycle or invoice belongs to. Calls GET /rest/legal-entities. Required token scopes: organizations:read, accounting:read. Reference: https://developer.deel.com/api/endpoints/legal-entities/get-legal-entities

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
Filter by country.Default: null.
string | null
Cursor for pagination.Default: null.
boolean | null
Filter by global payroll flag.Default: null.
boolean | null
Whether to include archived legal entities in the results.Default: null.
boolean | null
Whether to include payroll settings in the response.Default: null.
Filter by specific legal entity ID.Default: null.
integer | null
The number of results to return per page. Maximum: 100.Default: null.
string | null
Sorting order of the results. Allowed values: ASC, DESC.Default: null.
string | null
Filter by entity type.Default: null.

List managers

Action ID: tools.deel.list_managers Lists the managers of the calling organization, including managers who have not logged in yet, so you can see who currently manages the organization. Calls GET /rest/managers. Required token scopes: organizations:read. Reference: https://developer.deel.com/api/endpoints/managers/get-managers

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
integer | null
The number of records to return in the response.Default: null.
integer | null
The offset or starting point for pagination.Default: null.

List organization structures

Action ID: tools.deel.list_organization_structures Returns the organization’s hierarchical structure, including departments and teams, with offset-based pagination. Calls GET /rest/hris/organization_structures. Required token scopes: organizations:read, worker:read. Reference: https://developer.deel.com/api/hris-endpoints/organization-structure/get-organization-structures

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
integer | null
Return a page of results with given number of records. Maximum: 200.Default: null.
integer | null
Return a page of results with given number of records.Default: null.

List people

Action ID: tools.deel.list_people Returns a paginated list of people records in the organization. Calls GET /rest/people. Required token scopes: people:read, worker:read. Reference: https://developer.deel.com/api/hris-endpoints/people/get-people

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

array[string] | null
Employee’s current band placement. Allowed values: ABOVE, WITHIN, BELOW.Default: null.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
number | null
Employee’s minimum band placement.Default: null.
number | null
Employee’s maximum band placement.Default: null.
array[string] | null
Filter people by country (ISO 3166-1 alpha-2 code). Matches the country of the person’s primary employment, returned as country.Default: null.
array[string] | null
Filter people by the public ID of their direct manager (HRIS profile).Default: null.
array[string] | null
Pick the fields you want to see in the response in order to avoid a bloated people list output. Supports dot notation (e.g., ‘employments[0].contract_status’) to access nested fields. Allowed values include id, full_name, emails, job_title, direct_manager, hiring_status, person_status, and employments.Default: null.
array[string] | null
Employee’s current hiring status. Allowed values: pending_invite, draft, invited, onboarding, onboarding_at_risk, onboarding_overdue, onboarded, offboarding, active, inactive, in_review, quote_requires_changes.Default: null.
array[string] | null
Filter people by hiring types. Allowed values: contractor, eor, peo, hris_direct_employee, hris_direct_contractor, direct_employee, contractor_outside_deel, person_without_contract.Default: null.
integer | null
Return a page of results with given number of records. Maximum: 200.Default: null.
integer | null
Return a page of results with given number of records.Default: null.
array[string] | null
Filter people by person (worker profile) lifecycle status. Allowed values: ACTIVE, NOT_STARTED, INACTIVE.Default: null.
Include a contract if by name or contractor name contains given search term.Default: null.
string | null
Sort people by given field name. Allowed values: id, first_name, last_name, full_name, email, country, birth_date, hiring_type, start_date, team, job_title, hiring_status, completion_date, direct_manager, direct_reports_count, band_placement, comparative_ratio.Default: null.
string | null
Order direction of results; ascending or descending. Allowed values: asc, desc.Default: null.
array[string] | null
Filter the results based on the team(group) the users contract is associated with.Default: null.

List people custom fields

Action ID: tools.deel.list_people_custom_fields Returns the list of custom field definitions configured for people within the organization. Calls GET /rest/people/custom_fields. Required token scopes: people:read. Reference: https://developer.deel.com/api/hris-endpoints/custom-fields-people/get-custom-fields

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

List person positions

Action ID: tools.deel.list_person_positions Returns the positions held by one HRIS profile, optionally within a single organization structure. Calls GET /rest/hris/positions/profile/{hris_profile_id}. Required token scopes: profile:read, worker:read. Reference: https://developer.deel.com/api/hris-endpoints/positions/get-positions-by-profile

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
HRIS Profile ID.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.

List SCIM users

Action ID: tools.deel.list_users Lists users in the Deel HRIS using the SCIM user format. Calls GET /scim/v2/Users. Required token scopes: Users:read. Reference: https://developer.deel.com/api/hris-endpoints/users/get-users

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
The maximum number of results to return per page. Used for pagination. A value of 0 is treated as a special case and returns 1 result. Typically should be a positive integer.Default: null.
string | null
Filter results using SCIM’s filtering syntax. Currently supports only eq operator and filtering by a user’s email. Expected format ‘email eq “email@domain.com”’.Default: null.
string | null
The 1-based index of the first result to return. Used for pagination. Minimum value is 1. Defaults to 1 if not provided.Default: null.

List time off events

Action ID: tools.deel.list_time_off_events Returns the parental-leave events linked to the time-off requests of a worker, which carry the birth or adoption context behind that leave. Calls GET /rest/time_offs/time-off-events. Required token scopes: time-off:read. Reference: https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-events

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
Worker hris profile id.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
Policy id.Default: null.
string | null
Time off type id.Default: null.

List time off policies

Action ID: tools.deel.list_time_off_policies Returns the time-off policies assigned to a worker, with the rules of each policy and whether a request under it needs an attachment, a description or custom field answers. Calls GET /rest/time_offs/profile/{hris_profile_id}/policies. Required token scopes: time-off:read. Reference: https://developer.deel.com/api/hris-endpoints/time-off/get-time-off-policies

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
hrisProfileId id.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.
string | null
policy type id.Default: null.
string | null
Policy type name. Allowed values: Adoption leave, Advanced vacation, Bereaved partner’s paternity leave, Bereavement leave, Blood donation leave, Breastfeeding leave, Carer’s leave, Childbirth leave, Childcare leave, Civic/public duty leave, Compensatory leave, Disability leave, Doctor’s appointment leave, Family & domestic violence leave, Family responsibility leave, Floating Holiday Allowance, Hajj leave, Hospitalization leave, Long Service Leave, Make-up time, Marriage/wedding leave, Maternity leave, Menstrual leave, Military leave, Moving leave, Neonatal care leave, Other leave, Paid leave, Parental bereavement leave, Parental leave, Paternity leave, Personal leave, Pregnancy leave, Regional holiday, RTT, Shared parental leave, Sick leave, Strike, Study leave, Supplementary Leave, Unpaid leave, Vacation, Vacation - public holidays replacement, Volunteer leave, Voting leave, Work accident leave, Work away from office, Work Location.Default: null.

List worker relations

Action ID: tools.deel.list_worker_relations Returns all worker relations associated with the HrisProfile, including both parent and child relationships. Calls GET /rest/hris/worker_relations/profile/{hrisProfileOid}. Required token scopes: profile:read. Reference: https://developer.deel.com/api/hris-endpoints/worker-relations/get-worker-relation-profile

Secrets

Required secrets:
  • deel: required values DEEL_API_TOKEN.

Input fields

string
required
HrisProfile ID.
string | null
Deel API host. Defaults to production (https://api.letsdeel.com); use https://api-staging.letsdeel.com for the Deel sandbox.Default: null.