Skip to main content
SaaS status: The target SaaS must already be connected. The connection must use administrator privileges (including API permissions) that allow account creation and deletion.
This guide explains how to configure a workflow that automatically deprovisions SaaS accounts when an employee leaves. The workflow also sends notifications via Slack or email.

Configuration flow

After completing the prerequisites, configure the workflow in three main steps.
  1. Configure automation mapping: Set up the mapping with the connected services.
  2. Create and publish the workflow: Define the workflow conditions and activate it.
  3. Notifications: Verify that notifications arrive via the selected method (Slack or Email).

Steps to configure employee offboarding

  1. Go to Automation > [Create workflow] > [Retired employee leaves]. The Retired employee leaves automation template card
  2. On the “Retired employee leaves” builder screen, click “1. Event Trigger”. The builder screen with 1. Event Trigger highlighted
  3. On the “1. Event Trigger” screen, set when the workflow runs under “Execution Schedule”. The timing is based on the contract end date. In the example image, the workflow runs 1 day after the contract end date. The 1. Event Trigger card and Execution Schedule highlighted, set to 1 day after the contract end date
  4. Click “2. Conditions” and set the conditions for target employees. In the example image, the contract end date is after the specified date and the employee type is “Full-time”. The 2. Conditions screen with the contract end date and employee type set, and 2. Conditions highlighted
  5. Click “3. Services to delete accounts from” and add the services to include in the workflow.
    1. Click [+ Add Service]. The + Add Service button under 3. Services to delete accounts from highlighted
    2. Select a service displayed under “Deprovisioning”. To add multiple services to the workflow, turn on “Select multiple”. The services shown under “Deprovisioning” are those you pre-configured (mapped). The list of services under Deprovisioning in Add Node
    3. Click a selected service on the “3. Services to delete accounts from” step to open its “Settings” panel on the right. Select the workspace name from the “Service settings - Workspace name” dropdown. To configure multiple services, use [+ Add Another Service]. You can choose the action the service performs, deactivate or delete, with “Deprovision Type”. For details, see the Automation FAQ. The selected service card under 3. Services to delete accounts from highlighted, with its Settings panel on the right
  6. Click “4. Notification”.
    1. Click [+ Add Notification]. The + Add Notification button under 4. Notification highlighted
    2. On the “Message” screen, select the notification method: Slack or Email. To configure multiple notifications, turn on “Select multiple”. For Slack setup steps, see Slack notification setup below. Screen for selecting the notification method on the "Message" screen
    3. Click the message you selected on the “Notification” screen to display the “Settings” panel on the right. Settings panel for the selected message
  7. After all settings are complete, all checks in the builder turn green. Click [Publish] or [Dry Run]. For details on dry runs, see Dry run a workflow. The Dry Run and Publish buttons and a green check highlighted
  8. The “Confirm workflow automation settings” screen appears. Enter the workflow name and click [Publish]. Note: You cannot use a name that is already registered. The workflow name field highlighted on the Confirm workflow automation settings screen
  9. When “Workflow has been published” appears, click [OK]. Screen showing the "Workflow has been published" message

Steps to set up Slack notifications

  1. On the “Settings” panel at step 7-3 of the new employee onboarding setup, the “Connect notification bot” screen appears. Click [Connect bot]. The "Connect notification bot" screen with the connect button visible
  2. The “Requesting permission to access your Slack workspace” screen appears. Review the details and click [Allow]. Screen requesting permission to access the Slack workspace
  3. The “Notification channel” screen appears. Click [+ Add channel]. The "Notification channel" screen with the add channel button visible
  4. On the “Select a Slack channel” screen, specify the destination and click [Select]. Screen for selecting a Slack channel destination
  5. Confirm the “Notification channel” screen and click [Save]. The "Notification channel" screen with the save button visible

Notification content

When setup is complete, the workflow runs on the specified date and sends notifications. For details on when workflows execute, see Workflow execution timing.

Slack notifications

  • First-time connection notification: A channel-add notification is sent to the specified Slack channel.
Channel-added notification sent to a Slack channel on first connection
  • Execution result notification: On the scheduled date, a notification is sent to the specified Slack channel.
Execution result notification message sent to a Slack channel
For the full setup flow, see Getting started with automations.
Last modified on November 9, 2026