Route Okta group events to Druva backup endpoints

API toolWorkatoRecipe Tools

What it does

When someone adds or removes a group member in Okta, this automation receives that event through an API request and routes it based on the group name. It identifies which Druva backup endpoint matches and sends the group change there.

Who it's for

IT teams who manage backup policies through Okta group membership and need those changes synced to Druva without manual intervention.

How teams use this

Sync Okta groups to Druva backup policies

When someone joins a backup group in Okta, the group change flows to Druva automatically so their backup policy takes effect without IT having to make the change twice.

Route different backup types by group

Separate groups for google backup, google backup full hard drive, and google only backup each route to their own Druva endpoint so users get the right backup level.

Add a new Druva backup endpoint

Include an additional condition to check for a new group name and route it to a new Druva endpoint so the automation handles more backup policies without rebuilding it.

Offboard users from backup by group removal

When someone is removed from a backup group in Okta, this automation sends that removal to Druva so their backup access is revoked at the same time.

How it works

  1. Receive Okta group event. An API request arrives in real time whenever someone is added to or removed from a group in Okta. The request includes the event payload with user and group details.
  2. Loop through each event. Repeat the following steps for each event in the payload so all group changes are processed, even when multiple users are affected at once.
  3. Extract user and group from target. Loop through the target list to find the user name and the group name, since the target contains both pieces needed to route the change.
  4. Match group to Druva endpoint. Check if the group name contains Druva endpoint and google backup, Druva endpoint and google backup full hard drive, or Druva google only backup to determine which backup policy applies.
  5. Send group change to Druva. Route the user and group change to the correct Druva backup endpoint through the Workato Recipe Function so the backup policy is applied to that user right away.