capabilities.work

Find Employee and File Leave

A 2-step recipe with Factorial. We can help you get access.

Recipe · 2 steps

Find Employee and File Leave

Resolve an employee by email and file a leave for them.

  1. List employees and select the first whose email matches the supplied address. Branches to file the leave when matched, otherwise ends.
  2. File the leave / time off request for the matched employee.
What you'll need to have ready
  • email: The email address of the employee to find.
  • leave_type_id: The id of the leave type to file.
  • start_on: The first day of the leave (YYYY-MM-DD).
  • finish_on: The last day of the leave (YYYY-MM-DD).
  • per_page: How many employees to pull in the lookup page.
For your developer

Arazzo workflow factorial:find-employee-file-leave, 2 operations: listEmployees → createLeave. Specs on APIs.io.