Features

Async & workflows

GA & BetaHobby, Pro, Scale

Accept Stripe and GitHub webhooks while your app is asleep — zero lost events

Verify and persist inbound webhooks before responding, schedule one-shot delayed invocations, run crons and pull-queue workers, and execute multi-step workflows with automatic retries and dead-letter recovery.

Updated

Register a durable Stripe webhook and inspect dead-letter entries

External webhook providers time out or fail deliveries if a sleeping backend takes too long to respond or hits a transient error. Gregale combines signature verification, durable queuing, delayed tasks, batch jobs, crons, and multi-step workflow recovery natively on the same platform.

bash
curl -X POST https://api.gregale.dev/v1/apps/my-api/inbound-webhooks \
  -H "Authorization: Bearer $GREGALE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "stripe-primary",
    "provider": "stripe",
    "signing_secret": "whsec_...",
    "delivery_path": "/internal/stripe"
  }'

# Inspect failed deliveries or delayed tasks in the unified dead-letter ledger
gregale dlq list my-api

Key capabilities

Persist-before-ack inbound webhooks

Verifies Stripe or generic HMAC-SHA256 signatures, deduplicates on X-Gregale-Event-ID, persists to the durable queue, and returns 202 Accepted before waking your app.

Delayed one-shot execution

Schedule a durable future invocation directly on Gregale without provisioning a separate Redis queue, cron daemon, or external scheduler.

Built-in jobs, crons & pull leases

Run HTTP crons or command tasks alongside your app, process large batches with jobs and artifacts, or lease messages directly from workers without an HTTP listener.

Stored & code-first durable workflows

Orchestrate multi-step execution with retries, waits, dependencies, scheduled triggers, workflow insights, and configurable recovery policies.

Typical PaaS vs. Gregale

CapabilityTypical PaaSGregale
Webhooks arriving while backend sleepsMay time out on cold boot or drop on 503Signature checked and queued durably before 202 Accepted
Delayed tasks, crons & retriesRequires Upstash QStash, Inngest, or Temporal add-onsBuilt into the core API with unified dead-letter ledger
Pull-queue worker modelManage SQS/RabbitMQ separatelyPull leases with capacity-controlled worker acks/nacks

Deep-dive guides (5)

Runnable starters & integrations (3)

Browse all templates

Documentation references

Questions

Which webhook providers are supported out of the box?

Inbound webhook endpoints support stripe (verifying Stripe signatures with sealed secrets) and generic HMAC-SHA256 senders using X-Gregale-Event-ID, X-Gregale-Event-Type, X-Gregale-Timestamp, and X-Gregale-Signature headers.

What happens if my app returns an error when delivering a queued webhook?

Failed deliveries retry according to your plan policy (3, 10, or 25 attempts on Hobby, Pro, and Scale) and land in the app dead-letter queue (gregale dlq list) for inspection and replay.

Can I share one workflow recovery policy across scheduled and manual runs?

Yes. Stored workflows, delayed tasks, and async invocations expose run history, status insights, and policy-based recovery in both the dashboard and CLI.