IT OPS

Auto-Deprovision Seats from Idle SSO Login Events

Listens for incoming SSO login events via webhook, tracks last-seen-per-user, and when a user crosses the idle limit it deprovisions the seat through your IdP API and logs…

CategoryIT Ops
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook receives SSO login eventHTTP webhook
  • ActionUpsert last-seen in PostgresPostgreSQLPostgres
  • LogicSelect users past idle limit
  • ActionRemove app assignment via IdP APIHTTP webhook
  • OutputAppend action to Postgres audit logPostgreSQLPostgres

What it does

Turns raw SSO sign-in events into automatic seat cleanup. As login events stream in, it maintains a last-seen timestamp per user in Postgres; any user who stays idle beyond the limit has their app assignment removed via your identity provider's API.

When to use it

Use it when your IdP emits login webhooks and you want hands-off reclamation for low-risk apps where idle-then-remove is acceptable policy, with a full audit trail.

How it works

  1. 1An inbound webhook receives each SSO login event (user, app, timestamp).
  2. 2The event upserts the user's last-seen record in Postgres.
  3. 3A logic step compares last-seen across all tracked users against the idle limit and selects those who have aged out.
  4. 4For each aged-out user, an HTTP call to the IdP admin API removes the app assignment.
  5. 5The reclaim action and reason are written to the Postgres audit log for compliance review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  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.