<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00001M35h90ABOkta Identity EngineWorkflowsAnswered2025-09-30T15:11:53.000Z2025-09-05T17:46:34.000Z2025-09-30T15:11:53.000Z

MattR.43794 (Customer) asked a question.

Workflow to send notification emails to users of a group if group membership is edited

I'm looking into how to have an email notification sent out to the members of a group if that group membership is edited. That would be that either a user gets added or removed from a specific group. I need only the specific group in question to be monitored and the users of that group to be notified.


  • TimL.58332 (Workflows)

    @MattR.43794 (Customer)​ @BrandonB.06003 (Customer)​ 

     

    An alternate way to go about this would be to enable "Event Hook Filtering" EA feature. Then create your Workflow > Event Hooks from the Okta Admin UI. This allows you to set both triggers "(User added/removed from group) in a single Hook, set a filter for the specific target.id (the groups ID) so it only fires when that specific group has either event occur.

     

    The destination target would Okta Workflows API Endpoint card.

     

    Since you are not taking any "actions" per user added/removed other than notification you could easily determine if it was an "add" or "remove" event and Pluck a list of users from the events object. Then construct a list of recipients from your group target & send an email containing that information.

     

     

    Expand Post
    Selected as Best
  • RohitU.50441 (Trevonix)

    If you have workflows available in the tenant You can write a simple workflow to capture user assigned to group event and notify as per your requirements.

     

    Sample flows - https://help.okta.com/wf/en-us/content/topics/workflows/templates/templates-list.htm

     

    You may not find what you exactly needed but samples should lead you to build one.

     

    If workflows is not available, the same will be available as event books. You can write your own service outside of okta to notify.

    Expand Post
  • BrandonB.06003 (Customer)

    Yes, youd create two workflows 1) trigger when user added to group and 2) trigger when user removed from group

    In each flow put a "continue if" card and the condition being the group ID from the first card is = to the groupId you are targeting. Then setup the email card (M365 or google) to send email to the people you need to

    • TimL.58332 (Workflows)

      @MattR.43794 (Customer)​ @BrandonB.06003 (Customer)​ 

       

      An alternate way to go about this would be to enable "Event Hook Filtering" EA feature. Then create your Workflow > Event Hooks from the Okta Admin UI. This allows you to set both triggers "(User added/removed from group) in a single Hook, set a filter for the specific target.id (the groups ID) so it only fires when that specific group has either event occur.

       

      The destination target would Okta Workflows API Endpoint card.

       

      Since you are not taking any "actions" per user added/removed other than notification you could easily determine if it was an "add" or "remove" event and Pluck a list of users from the events object. Then construct a list of recipients from your group target & send an email containing that information.

       

       

      Expand Post
      Selected as Best
This question is closed.
Loading
Workflow to send notification emails to users of a group if group membership is edited