Automate App Unassignment Emails using Okta Workflows

In this guide:

  1. Okta Workflows guides
  2. Specific app unassignment notification
  3. Any app unassignment notification
  4. Related Okta Workflows guides
  5. Okta Workflows resources

Okta Workflows guides

Okta Workflows guides offer questions and answers from the Okta Workflows community office hours. They also come from the #okta-workflows channel on the Mac Admins Slack and other places. Read all the other guides.

How do you send an email notification using Okta Workflows when a user is unassigned from an app?

This guide will teach you how to send an email notification using Okta Workflows when a user is unassigned from an app.

Specific app unassignment notification

This flow will run when a user is unassigned from an application:

App unassignment notification - flow.
App unassignment notification – flow.

How the flow works

  1. The flow runs when a user is unassigned from an application (the Okta-Unassigned from Application event card).
    • In the card options, you must configure the application for which this flow will run. This example uses the Salesforce app.
  2. The Text-Compose card generates a message that includes user information and application details.
  3. The Gmail-Send Email card sends the notification email.
Email message.
Email message.

Any app unassignment notification

To run a flow when a user is unassigned from any application, set up a flow with an API Endpoint and create an Okta event hook.

Okta event hook for ‘User unassigned from app’ event.

The event hook that triggers the flow:

App unassignment notification with API Endpoint – flow.

How the flow works

  1. The API Endpoint card gives the flow an API endpoint. When a user is unassigned from an app, the event hooks call the API, which runs the flow.
  2. The Object-Get Multiple card extracts user and application information from the API endpoint.
  3. The Text-Compose card generates a message that includes user information and application details.
  4. The Gmail-Send Email card sends the notification email.

Okta Workflows resources

πŸš€ New to Okta Workflows? The Getting Started with Okta Workflows page has all the resources to help you get started.

πŸ“Ί Like learning from videos? Watch Okta Workflows videos.

❓Have a question? Ask during community office hours, post on the community forum, or email me.

πŸ™‹πŸ»β€β™€οΈ Want to learn from the community? Join the #okta-workflows channel on the Mac Admins Slack.

πŸ“– Want to learn more about Okta and automation? Take the Okta Workflows training on Okta Learning.

Leave a comment