Best Approach for Offboarding via a custom app.

Best Approach for Offboarding via a custom app.

Hey ADManager Plus community!

I need your advice on the best practices for offboarding employees using ADManager Plus with 3rd party app.  I want to trigger the process ASAP through a custom app we're building. I want to trigger an off-boarding orchestration (via automation) No waiting around for a 1-hour CSV import.

Goal :

Custom app on/off boarding app that a manager fills out and HR acknowledges.  HR has a meeting with employee and terminates the employment.  HR would then click a button to activate the termination.  This kicks off the orchestration via "something"..  

Our current manual process (not using admanager plus yet):
  1. Email to helpdesk by HR to term employee immediately.
  2. Tech changes password (Manager might have someone review docs and use device for various reasons).
  3. Tech converts to shared mailbox
  4. Tech gives access to mailbox to manager and/or another dept user
  5. Tech removes licenses from m365
  6. Tech (typically forgets) to remove user from groups
  7. 60-180 disables and days moves user into terminated employees OU

What I'm looking for is the best approach to connect kick this process off.
  1. Event Automation : I know there is automations based on Events, but does that only work if the event of changing a group or attribute occurs in ad manager plus UI?  If my app adds a user to a AD Group called Terminated Employee's, would an automation looking for that event work, would it start immediately in admanager plus?

  2. API Call : I don't see a way to start an automation / orchestration directly, but if I added a user to a group like above example, via api call, would that kick of my event automation / orchestration?
These are the only 2 ways I can think something externally might kick off and automation?  Unclear if it would work.

                  New to ADSelfService Plus?