
vb8u6 (vb8u6) asked a question.
I am a software asset manager looking to utilize Okta to assist in automated removal of users from groups based on the use of the associated application. (e.g., if a user does not access Figma application chiclet through Okta or use it to SSO into Figma in the last 90 days, it would remove the user from the group/deprovision the license through SCIM). Does this capability exist within Okta or workflows today? If so, has anyone successfully implemented something like it?

@vb8u6 (vb8u6) -- This question isn't simple to answer. Workflows is an API client that communicates with external API endpoints (Okta included) to CRUD data or can receive Event/Webhook data from remote sources to process. For your use case there would need to be some sort of datapoint available that would be able to identify your criteria for removal. If one doesn't exist you would need to create it.
In a scenario where one doesn't exist and you need to create it "if" the specific eventType exists in the Okta System log && is Event-Hook-Eligible you could leverage Okta Event Hooks (with event-hook-filtering) to deliver payloads where the event result was successful to a processor (Such as Okta Workflows) to update a custom profile attribute on a user.
Event Hooks (eligible section)
https://developer.okta.com/docs/concepts/event-hooks/
So for example in a System Log event I logged a user into a specific application. It contains the eventType user.authentication.sso which is event-hook-eligible. This means with the EA feature "Event Hook Filtering" enabled I could create an Event Hook for the user signon to application. Then in the filtering ONLY fire on payloads that are result=SUCCESS && have a target.id of the appinstance value you want to record logins for.
{
"actor": {
"id": "00urg743sJrqMGi4H5d6",
"eventType": "user.authentication.sso",
"outcome": {
"result": "SUCCESS",
"reason": null
"target": [
{
"id": "0oarlz64f4arakcLp5d6",
"type": "AppInstance",
"alternateId": "Google Workspace",
This could deliver to an Okta Workflows API endpoint to be processed since it also includes the details of the actor you can use this ID to update their successful login attribute with a new ISO 8601 date stamp.
Then you could have another series of flows running on a schedule that "Lists Users with Search" looking for date rangers "older than" X days ago and all found users could have an action applied against them.