Zum Inhalt springen
Business ProcessPro — €97

Manual Trigger with Redis-based Concurrency Control

100/100
28 Nodes

Beschreibung

Startet manuell einen Prozess mit Nebenläufigkeitskontrolle über Redis, um doppelte Ausführungen zu verhindern.

Setup-Anleitung

### 📥 Input Buffer

1. **Save incoming message**

   * Push the new message into Redis list `buffer_in:{{context_id}}`.
2. **Update metadata**

   * Set `last_seen:{{context_id}}` to the current timestamp (with a TTL of `waitSeconds + 60`).
   * INCR the counter key `buffer_count:{{context_id}}` (also expiring after `waitSeconds + 60`).
3. **Check “waiting” flag**

   * GET `waiting_reply:{{context_id}}`.
   * If it’s null (no batch in flight), SET it to `true` with TTL `waitSeconds` to block concurrent triggers.

Benötigte Integrationen (5)

Execute Workflow

ExecuteWorkflow

Manual

Manual

Redis

Redis

API Key

Stop And Error

StopAndError

Wait

Wait

Workflow freischalten

Kaufe das Pro Bundle für €97 — erhalte sofortigen Zugang zu diesem und allen weiteren Starter + Pro Workflows als ZIP-Datei zum Import in n8n.

Sichere Zahlung via Stripe. 7-Tage Geld-zurück-Garantie.
← Zurück zum Marketplace