• Documentation
  • Examples
  • SDKs & APIs
Contact salesSign Up
  • Documentation
  • Examples
  • SDKs & APIs
    • AI Agents and RAG
    • AI Eval Scorer quickstart
    • AI Metadata quickstart
    • All examples
    • Email Sequence
    • Scheduling a one-off function
    • Fetch run status and output
    • Track all function failures in Datadog
    • Cleanup after function cancellation
    • Fetch: Durable HTTP requests
    • Stream updates from functions
    • Setup OpenTelemetry with Inngest
    • Durable Endpoints
    • Trigger workflows from Retool
    • Instrumenting GraphQL
    • Handle Clerk webhooks
    • Handle Resend webhooks
    • Cloudflare Workers & Hono environment variables
    • All patterns
    • Run experiments in production
    • Score agents on real outcomes
    • Score agent accuracy
    • Reliably run critical workflows
    • Run long jobs on serverless hosts
    • Process large datasets without starting over
    • Durable token streaming
    • Flash sales and bursty workflows
    • Building flows for lost customers
    • Reliable scheduling systems
    • Running functions in parallel
    • Running code at specific times
    • Build reliable webhooks
    • Keeping your API fast
  • Contact salesSign Up
Overview

Patterns

Patterns for building on Inngest: AI agents, durable workflows, scheduling, flow control, and background jobs. Each one explains a recurring problem, the tradeoffs involved, and how to solve it with Inngest's primitives.

Featured patternFlash sales and bursty workflowsWhen traffic spikes (a flash sale, a batch import, or an AI agent firing dozens of tool calls in parallel), four flow-control primitives keep you in control: throttle, concurrency, debounce, and idempotency. Here's when to reach for each.Read the pattern

Browse by primitive

Pick a category to see its patterns.

00
AI EvalsExperiment, score, pick winners3 patterns
01
Durable WorkflowsSteps that don't lose state4 patterns
02
Flow ControlSpike-proof the boring stuff1 pattern
03
Event CoordinationChoreograph the chaos3 patterns
04
SchedulingTime as a first-class input1 pattern
05
Background JobsOff the request path2 patterns
PreviousCloudflare Workers & Hono environment variables
NextRun experiments in production

Was this page helpful?

© 2026 Inngest Inc. All rights reserved.
We're hiring!
Star our open source repositoryJoin our Discord communityFollow us on XFollow us on Bluesky