IT OPS

Reclaim SaaS Licenses from SSO Inactivity

Scans SSO login logs nightly for seats with no sign-in past a threshold, then opens a deprovisioning approval thread in Slack so IT can reclaim the license.

CategoryIT Ops
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule fires
  • ActionQuery last login per user/app from SSO logsPostgreSQLPostgres
  • LogicKeep seats idle past threshold
  • ActionCompose per-seat reclamation summary
  • OutputPost approval request to Slack channelSlack

What it does

Each night this workflow reads your identity provider's SSO login events from Postgres, flags any user whose last successful sign-in to a tracked SaaS app exceeds your inactivity window (e.g. 45 days), and posts a per-seat reclamation request to a Slack channel for IT approval.

When to use it

Run it when you pay per-seat for tools like Figma, Salesforce, or Notion and suspect dormant accounts are quietly draining budget. It turns a quarterly manual audit into a continuous, low-effort drip.

How it works

  1. 1A nightly schedule fires the run.
  2. 2The flow queries the SSO event table in Postgres for each user's most recent login per app.
  3. 3A logic step keeps only users whose gap since last login exceeds the configured threshold and who still hold an active seat.
  4. 4For each flagged seat it composes a summary: user, app, last-seen date, and monthly cost.
  5. 5It posts an approval message to Slack with Approve/Keep buttons so IT can decide before the license is pulled.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.