/okta-workflows:okta-workflows-hooks-streamingfrom okta-workflows
Documents Okta Workflows streaming and event hook limits: rigid Record/State contract, non-stoppable streaming (up to 1M records, ~25h), paginateData limitation, event hook timeouts/retries, API Endpoint connection drops, and caller lookup via root_wf_id.
Ships in okta-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Six quirks covering the hook/streaming/handler-flow layer.
"You can't stop a flow once the execution begins. A helper flow that streams data from a search or list card runs until the API returns all records or the flow reaches the specified maximum number of records. Also, an in-progress flow doesn't stop running if you deactivate the flow." Streaming handles data sets that exceed the 10,000-record standard search limit, up to a 1 million-record maximum; "Processing 500,000 records takes approximately 13 hours. Processing 1 million records takes approximately 25 hours."
Record and State (both Object)"In the helper flow, create two input entries: Record and State. Set the type for both fields to
Object… The helper flow requires the input fields to be named Record and State." Record = current
item being processed; State = parent-defined extra inputs sent with every record.
State is NOT a mutable cross-page accumulator (the paginateData custom-parameter limitation)The docs describe State as parent-defined inputs sent to the helper flow with each record; there is
no documented mechanism for the helper flow to mutate State and have that change survive to the next
record/page. This is the structural limitation behind the user's finding that streaming Handler Flows
do not thread custom/user-defined parameters through the built-in paginate mechanism.
object containing a break key
(commonly named break) set to FALSE plus a path field naming that key; the helper flow updates
the object each iteration and removes the path key to stop. "Proper use of the path field is
important… If it isn't properly managed, the flow could run until it hits the maximum count of 5,000
iterations." For state that must persist across pages, externalize it to a Tables row keyed by run
ID rather than relying on State.Event hook completion timeout is 3 seconds with a single retry (4xx = no retry; 2xx = success; redirects not followed). Limits: 400,000 applicable events / 24h per org (System Log warning at 280,000; resets 24h after the first event); max 25 active event hooks/org; max 500 flows using an Okta event card as trigger; max 100 events per event hook payload; max 100 inline hooks/org (3s timeout each). "There's no guarantee for the order of event hook delivery or flow execution" — a deactivation-event flow may run before or after a reactivation, so the user state may have changed.
Synchronous API-endpoint connections terminate at 60 seconds (the flow itself keeps running); async waits drop at 120s. Inline hooks time out at 3s. Workaround: add API Connector Close as the first card to release the HTTP connection immediately, then process asynchronously; or use Call Flow Async + Return Raw.
The first Helper Flow card exposes a Caller object containing root_wf_id. root_wf_id reliably
resolves only the immediate caller one level deep; for robust multi-level lineage use Event metadata
in Execution Log Streaming.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/okta-workflows-branchingUse when an Okta Workflows If/Else or If/ElseIf takes the wrong branch, or when designing branching / comparison logic in a flow: no implicit type coercion in comparisons ('6' Text vs 30 Number; '80' > '9' is false though 80 > 9 is true) affecting True/False Compare, If/Else, If/ElseIf, Continue If, and Return Error If; the don't-nest-more-than-3-If/ElseIf guidance; passing a value directly into an If/ElseIf condition throwing an error (the Flow Control - Assign card tip-bug); Return / Continue If acting as anonymous helper flows inside If/ElseIf and If Error blocks (proceeding after the block instead of halting); not being able to drag outputs from inside a branch to later cards (Create Outputs / View Outputs); and If/Else supporting only ONE condition (And/Or/Not/XNOR). Triggers on wrong branch, silent wrong branch, True/False Compare, implicit datatype conversion, nested If/ElseIf, Continue If, Return Error If, Branching card outputs, one condition./okta-workflows-connectorsUse when using the Okta or Azure AD / Microsoft Entra ID connectors in Okta Workflows: Okta Search Groups exact eq only except Custom Search Criteria (sw, ew); OKTA_GROUP vs APP_GROUP vs BUILT_IN Group Type for filtering Entra-imported groups (filter Type = APP_GROUP; UNCONFIRMED); Search Group Rule doing keyword (not exact) search; Okta connector concurrency/rate limits (30 concurrent, 15 GET/READ per-user, 6,000/min, hidden from the dashboard; DynamicScale 5x=50 to 50x=150); Entra delegated-permissions-only with no app-only/service-principal (use a dedicated service account); reauthorization breaking on scope changes; Entra record caps (Search Groups 4,000, Group Members 900, Users 4,000; input can't contain #); mail-enabled security/distribution groups silently failing on writes; List Contact Folder's 2-level cap. Triggers on Search Groups, APP_GROUP, Okta connector rate limits, DynamicScale, Azure AD connector, delegated permissions, 900 members, mail-enabled security group, List Contact Folder./okta-workflows-deploymentUse when versioning, deploying, promoting, or moving Okta Workflows between orgs (Preview to Production) via flopack import/export: export stripping all connection information and table DATA so only the schema survives (restore connections; tables start empty); broken references needing manual remapping on import (a helper flow missing from the export must be replaced first); flopack/template schema rules (workflow.flopack and workflow.json must be valid JSON; the name value, 50-char limit, must exactly match the enclosing folder; connector names must match connectors.json; folder name must match ^[a-z0-9_]{2,50}$; the details object (flowCount, helperFlowsCount, mainFlowsCount, flos[] with id/name/type/screenshotURL, tags) must exactly match the flopack or CI validation fails); max folder depth 5; duplicate-folder skipping table data. Triggers on flopack, workflow.json, export/import, empty tables after import, broken references, connectors.json, Preview to Production./okta-workflows-error-handlingUse when building error handling and retry logic in Okta Workflows: card-level retry firing ONLY on HTTP 429 Too Many Requests (and 504 in Connector Builder), with no error handling for other HTTP errors; defaults Retry 0 times, After 5 minutes, Then Halt Flow / Return Values / Run another Flow; Connector Builder default retry on 429/504 three times, 1-3 seconds apart; non-429 retries needing an If Error block; custom retry status codes via a List Construct card (rename its output retry_codes, select 'Specified errors' in the Raw Request card's Error Handling dialog, drag it into the Status Codes field); the recommended limit of no more than three nested If Error blocks; and error propagation from helper flows (If Error / Try blocks act as anonymous helper flows, a Return proceeds after the block, so use Return Error / Return Error If outside the block to propagate a hard failure). Triggers on 429 retry, 504, retry_codes, Specified errors, nested If Error blocks, Return Error, Try block propagation./okta-workflows-execution-limitsUse when hitting or planning around Okta Workflows execution limits: platform hard limits (100 MB instance memory; 2,000,000 max steps/flow; recursion limit 250 with the 'Stack limit exceeded' error; 1 MB per execution-history message ('too large to display' is explicitly NOT an error); 10 invocations/sec/flow, then 429; 30-day history; files 10 MB attachment, 2 GB download/upload, SFTP 25 MB, 30-day retention; 30-day max pause); plan-gated active flow counts (Free Trial/Starter 5, Light 50, Medium 150, Maximum unlimited, legacy Advanced Lifecycle Management 100 parent flows; turned-off flows excluded); automated flow throttling (allocation limited, completion not prevented, lower threshold on Free Trial/Starter); and export flow rate limits (15-minute window; Starter 10, Light 100, Medium 300, Maximum 1000; exceeding fails the export). Triggers on Stack limit exceeded, recursion limit, too large to display, active flow limit, flow throttling, export rate limit./okta-workflows-field-guideUse when starting or architecting an Okta Workflows identity source-of-truth to Okta sync pipeline (e.g. Entra ID), or when you need the cross-cutting rules that govern every other Okta Workflows skill: the TL;DR, the five key findings, the single most important architectural rule (never do bulk/looping work synchronously in a parent flow; use Stream Matching Records or For Each - Ignore Errors with bounded concurrency into helper flows), the design-phase / bulk-sync / state-across-pages / Preview-to-Production / guardrail / Entra recommendations, the caveats (THEORY and UNCONFIRMED labels, no latency SLA, the two concurrency figures), and the recent 2025-2026 platform changes (Okta ITP connector, Send Slackbot Message deprecation, Connector Builder Polling Monitors, OKTA-928020 / OKTA-858112 / OKTA-946866 fixes). Triggers on Okta Workflows overview, Entra to Okta sync design, Stream Matching Records vs For Each, and where-do-I-start questions.npx claudepluginhub the-vibey-project/vibey --plugin okta-workflows