Skip to content
Recued
Menu
← Back to recipes

Clerk access hygiene digest

by recued-core v1

Scheduled read-only Clerk access governance digest. It reads bounded pages of users, sessions, organizations, invitations, organization roles, and organization permissions through recued-core.clerk, renders compact review tables, and can send an in-app nudge when pending invitations are visible. It never creates or deletes users, changes passwords or MFA, creates sessions or tokens, revokes sessions or invitations, changes roles, changes domains, mutates webhooks, or calls arbitrary Clerk APIs.

How it works 36 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (36 steps)
users_raw ?
user_count_raw ?
sessions_raw ?
orgs_raw ?
invitations_raw ?
roles_raw ?
permissions_raw ?
users default
Apply default
sessions default
Apply default
orgs default
Apply default
invitations default
Apply default
roles default
Apply default
permissions default
Apply default
user_count default
Apply default
session_count count
Count items in sessions
org_count count
Count items in orgs
invitation_count count
Count items in invitations
role_count count
Count items in roles
permission_count count
Count items in permissions
has_pending_invites compare
Check if invitation count is greater than 0
notify_enabled compare
Check if setting notify when pending invites equals true
should_notify all
Check if all conditions are true
notify ?
skip: step.should_notify not_equal true
user_rows slice
Take a subset of
session_rows slice
Take a subset of
org_rows slice
Take a subset of
invitation_rows slice
Take a subset of
role_rows slice
Take a subset of
permission_rows slice
Take a subset of
user_table to_table
Format results as a data table
session_table to_table
Format results as a data table
org_table to_table
Format results as a data table
invitation_table to_table
Format results as a data table
role_table to_table
Format results as a data table
permission_table to_table
Format results as a data table
card to_summary
Format results as a summary card
Settings 11 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

clerk setting =
channels setting = in_app
end hour setting = 10
weekdays setting = 1,2,3,4,5
row limit setting = 20
start hour setting = 8
user query setting =
session status setting = active
invitation status setting = pending
organization query setting =
notify when pending invites setting = true

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Send notificationsRead your Clerk connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

clerk clerkidentityaccess-governanceuserssessionsorganizationsinvitationsrolespermissionsdigestnotificationpack:clerk

Details

36 steps 11 configurable settings recipe_id: clerk-access-hygiene-digest