capabilities.work

Map Users To Departments

A 3-step recipe with Ramp. We can help you get access.

Recipe · 3 steps

Map Users To Departments

with Ramp

List users and the department and location directories to resolve their references.

  1. List the organization's users and capture each user's department and location references.
  2. List the organization's departments so user department_id references can be resolved to department names.
  3. List the organization's locations so user location_id references can be resolved to location names.
What you'll need to have ready
  • accessToken: OAuth2 client-credentials bearer token with users:read, departments:read, and locations:read scopes.
For your developer

Arazzo workflow ramp:map-users-to-departments, 3 operations: listUsers → listDepartments → listLocations. Specs on APIs.io.