Route function calls to Employee Lookup Table

Recipe Tools

What it does

When someone makes a function call with an operation type, this automation routes create, read, update, or delete requests to the Employee Lookup Table. It searches the lookup table in batch mode and returns the result.

Who it's for

Operations teams who manage employee records through a function interface without direct database access.

How teams use this

Create employee records via function

Call the function with create operation and employee details to add a new entry to the Employee Lookup Table. The automation validates and inserts the record in batch mode.

Read employee data from lookup table

Trigger a read operation through the function to retrieve employee information from the lookup table without manual queries. Results return to the caller in real time.

Update records with validation checks

Add a condition to check if the employee exists before update, and only proceed if the record is present. This prevents errors and ensures data integrity in the lookup table.

Filter delete requests by status

Include a status filter so delete operations only process records marked as inactive. This protects active employee data from accidental removal through the function.

How it works

  1. Receive the function call. A real-time function call arrives with an operation type (create, read, update, or delete) and employee details to process.
  2. Evaluate the operation type. Check whether the operation is create, read, update, or delete so the automation routes to the correct Employee Lookup Table search.
  3. Search the Employee Lookup Table. Query the lookup table in batch mode to find, validate, or modify the employee record based on the operation type and input data provided.
  4. Return the result to the caller. Send the lookup table response back to the function caller so the operation outcome is available in real time.