On Item Added
Overview
The On Item Added Component triggers when a new item is added to storage, providing real-time updates whenever an insertion occurs.
Usage
This component is used to monitor a specified storage location and trigger workflows whenever a new item is inserted.
Output Ports
item
Emits the details of the newly added storage item.
Properties
storeId
string
The ID of the storage space being monitored.
Processing Logic
Registers Webhook: The component registers a webhook to listen for new storage items.
Monitors Insertions: Whenever an item is added, the webhook captures its details.
Sends Data:
If an insertion occurs, the component outputs the item's details to
item
.The webhook ensures that only insertions are processed.
Output Data Schema
key
string
The key of the added item.
value
string
The value of the added item.
storeId
string
The storage ID where the item was added.
createdAt
string
The timestamp when the item was created.
updatedAt
string
The timestamp when the item was last updated.
Notes
Real-Time Monitoring: Captures insertions as they happen.
Webhook-Based Execution: Efficiently listens for storage updates.
Supports Automation: Ideal for triggering workflows when new data is added.
This component is essential for workflows that require automatic processing of new storage entries in real time.
Last updated