Concurrency lock to prevent double runs — a ready block

A ready block: sets a lock for the duration of a run, drops repeat requests and prevents two copies of a scenario from running at once.

  • Concurrent runs ruled out
  • Repeat requests filtered out
  • Lock set and released automatically
  • Drops into any scenario as a block
WebhookRedis

How it works

To connect Webhook and Redis, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Incoming Webhook Data
  2. Then: Fetch Webhook Data & Declare lockValue
  3. Then: Check Redis Lock
  4. Check: redisLock existence boolean
  5. If yes: Acquire Redis Lock
  6. Check: Workflow Switch
  7. If yes: Workflow 1
  8. Then: Discard Redis Lock
  9. If no: Workflow 2
  10. If no: Workflow 3
  11. If no: redisLock acquired booleans
  12. If no: Poll for lock
  13. Check: duplicateWebhook boolean

You can launch this Webhook + Redis integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.