
JackK.61842 (Customer) asked a question.
Hello,
I currently have a deactivation workflow setup between Okta and Google Workspace but I'm wondering if there is an improvement I'm not aware of ?. At the moment, when a user is deactivated in Okta it triggers a workflow to remove a user from specific groups in Google Workspace based on rules like location, specific profile attributes etc.. I'm wondering if there is a way to remove a user from ALL Google Workspace groups once they are deactivated in Okta ?

@JackK.61842 (Customer) --
This type of use case comes down to 2 things:
1) Is there an API Endpoint that can be leveraged to remove the users from the group? Does it work regardless of the user(s) current state in Google Workspace (Active/Deactive/etc..).
2) Can you via API either with built-in cards or calling Google Workspace by alternate means (Custom API Action, API Connector) see all of the groups associated with the user & Obtain the required information for step 1
Essentially, if you can answer those questions then your use case is viable. I would recommend playing around in the playground to determine if you can locate/test the viable API's making the use case possible. Once identified/confirmed you should be able to replicate it through automation in Workflows.
Google playground: https://developers.google.com/oauthplayground/