Create Okta Groups on schedule
Recipe ToolsMarketingIdentity Management
What it does
When a scheduled trigger runs every 5 minutes, this automation retrieves entries from a lookup table and creates Okta groups for each one. It checks whether each group already exists in Okta, creates it only when needed, and logs the outcome to the job report.
Who it's for
IT teams who need to provision Okta groups automatically from a lookup table without manual intervention.
How teams use this
Sync groups from a master list
Maintain Okta groups automatically by running this automation on schedule against a lookup table that acts as the source of truth. No manual group creation is needed.
Provision groups for a new department
Add department names to the lookup table and let this automation create their Okta groups on the next run. The flow stays the same and only the table data changes.
Assign group owners during creation
Include an owner field in the lookup table and set that person as the group owner when the group is created in Okta. This requires adding an owner assignment step to the Okta creation.
Notify Security when groups are created
Filter the lookup table to only groups marked as security-related and send a notification to the Security team when each one is created. This keeps the team informed of new access groups.
How it works
- Run on a 5-minute schedule. This automation starts every 5 minutes so Okta groups stay in sync with the lookup table.
- Retrieve all lookup table entries. Fetch all entries from the lookup table so each one can be checked and created as an Okta group if it does not already exist.
- Search Okta for each group by name. For each lookup table entry, query Okta to find a group with that name so duplicates are not created during this run.
- Create the group when it does not exist. When the group type does not equal OKTA_GROUP, create a new group in Okta with the lookup table entry details and log the result.
- Record outcomes to the job report. Log each group creation, duplicate found, or error to the job report so someone can review what happened during this run.