Add Item
AI-generatedSummary
Add an item to a Redis-backed debounce queue identified by a unique key, resetting the debounce timer for that key to delay processing until no new items arrive within the specified debounce period.
Inputs
- Key (required) — Unique identifier for grouping items, such as a user_id or session_id, which determines the debounce queue to which the item will be added.
- Item Data (JSON) (required) — The JSON string or expression representing the item data to accumulate in the queue.
- Debounce Seconds (required) — Number of seconds to wait after the last added item before the queue is considered ready for processing.
Output shape
a single JSON object per input item
The output JSON includes success status, the key used, the item added (parsed JSON), the scheduled processing time as an ISO string, and the debounce interval in seconds.
Examples
Example 1: Add a JSON-formatted event to debounce queue for user 'user_123' with 10 seconds debounce window.
Key='user_123', Item Data='{"event":"click","page":"home"}', Debounce Seconds=10