Skip to main content
Storages are key-value data stores built into Alumio that let you persist data between integration runs. They are used for caching, delta filtering, pagination tracking, cross-system ID mapping, and more.

What Storages can do

Storages give you a way to persist and retrieve data across integration runs. You can:
  • Cache data between runs to avoid reprocessing unchanged records (delta filtering).
  • Store and retrieve cross-system ID mappings, mutation dates, and lookup values.
  • Track pagination state across Scheduler runs to enable incremental data fetching.
  • Use a Storage as a data source in an Incoming configuration to process stored entities through a Route.
  • Automatically prune entities older than a defined threshold to manage database size.

Filtering Storages

The overview page lists all Storages in your environment. Filters are available for Name, Created at, Updated at, and Labels. Use + Add Filter for additional conditions. Click any column header to sort.

Creating a Storage

A Storage is configured with a name, an optional description, a storage type, logging options, and an optional pruning threshold. Logging controls which entity-level events are written to the log: creating, updating, and deleting entities can each be enabled independently. Pruning automatically deletes entities older than a configured threshold (time to live). This is particularly important for high-volume integrations — running out of database storage will make your Alumio environment unavailable.

Using Storages in integrations

Storages become useful through dedicated Entity transformers that read from and write to them during integration processing. Delta filtering –– the most common use case. The Filter previously stored entities transformer compares each incoming entity against what is already stored. Unchanged entities are filtered out; only new or changed entities pass through and create tasks. Records deleted at the source never arrive, so this transformer cannot detect them. See Detecting deleted records. Writing data –– the Write to storage and Write content to storage transformers persist values from the current integration run into a Storage for later retrieval. Used for saving mutation dates, lookup data, pagination state, and cross-system ID mappings. Reading data –– the Get entity from storage transformer retrieves a previously stored entity and makes it available in the current run. Used to look up values stored in a previous run, such as an ID created when a record was first written to the target system. Pagination tracking –– the Track progress in storage and Load progress tracker from storage transformers work together to save and restore pagination state across Scheduler runs, enabling incremental fetching from large APIs. Storage subscribers –– a Storage can act as a data source on an Incoming configuration. The Storage subscriber creates one task per entity; the Merged Storage subscriber combines all entities into a single task. Useful when downstream processing requires all records together, or when handling very large numbers of entities.

Detecting deleted records

Delta filtering with Filter previously stored entities detects new and changed records only. A record that was deleted at the source is no longer returned, so it never reaches the transformer and cannot be detected this way. Alumio does not have a transformer that detects deleted records. You can still handle deletions with one of the approaches below. Which one fits depends on what the source system offers. Recommended: use a deletion event from the source system If the source system can send a webhook event when a record is deleted, let the source system tell Alumio about each deletion. This is the most reliable option, because nothing has to be inferred. Step 1: Create a Webhook in Alumio. Go to Webhooks and create a Webhook for the deletion events. Alumio generates a dedicated POST endpoint for it. Step 2: Secure the Webhook. On the Processors tab, add a request validator as a pre-processor so that only the source system can trigger deletions. If the source system signs its webhook requests, use signature validation with the Digest HMAC signature type and fill in the header name and the shared secret. If it sends a fixed token in a header instead, use the Validate that header matches pattern validator. See Securing Webhooks for all options. Step 3: Register the endpoint in the source system. Subscribe to the source system’s delete event (for example product.deleted) and enter the Webhook URL as the destination. Step 4: Link an Incoming configuration. Link an Incoming configuration to the Webhook. In its transformers, add a Set values transformer that picks the identifier of the deleted record from the event payload. For example, set the key id to the value &{data.id} if the source system sends the identifier at data.id. The path depends on the payload of the source system. Step 5: Process the deletion in a Route. Connect the Incoming configuration to a Route with an Outgoing configuration that deletes the record in the target system, or marks it as inactive if the target system should keep it. Step 6: Clean up related Storage items. If you use a Storage for delta filtering or ID mapping for this record type, remove the record from it with the Storage: Delete item transformer. If a record with the same identifier is created again later, delta filtering then treats it as new. Webhook events can be missed, for example, when the source system is unable to deliver them. If every deletion must be processed, run the alternative approach below as a periodic safety net. Alternative: compare stored items with the latest retrieval If the source system has no deletion event, you can set up the comparison yourself. Keep a Storage with the identifiers of every record Alumio has retrieved. Then regularly fetch the full list of current identifiers from the source and compare the two. Identifiers that are in the Storage but no longer returned by the source belong to deleted records. Step 1: Create a Storage for known identifiers. Create a Storage, for example Products: known IDs, that only holds the identifiers of records retrieved from the source. Step 2: Save each retrieved record. In the Route that retrieves records from the source, add the Storage: Save item transformer and use the record’s identifier as the Storage identifier. Every record Alumio retrieves is now known. Step 3: Create a separate Route for the deletion check. Give it an Incoming configuration that retrieves the full list of current identifiers from the source as one entity, without splitting it into separate items. If the source API is paginated, collect all pages before the comparison step. Then put the current identifiers in a flat list, for example at currentIds, with a Set values transformer and a placeholder such as &{items[].id}. Step 4: Load the known identifiers. In the same Incoming configuration, add the Storage: Get all items transformer with the Destination storedIds. The transformer places the stored items under their identifiers, so the identifiers are the keys. Add a Map values transformer on storedIds with the Object: Get keys mapper to turn them into a flat list of identifiers. Step 5: Find the missing identifiers. Add the Apply operator transformer with these settings: Array Diff is not symmetrical, so the order matters. With Left and Right swapped, the result is the list of new records instead of deleted ones. Step 6: Guard against false deletions. If the retrieval in Step 3 fails or returns an incomplete list, every missing record looks deleted. Add a guard that stops the run before anything is deleted. Alumio has no predefined threshold for this, so choose the rule that fits your data:
  • Stop the run when the current list is empty.
  • Stop the run when the current count is below a percentage of the stored count, for example under 90%. Pick the percentage based on how many records normally disappear between runs.
  • Or cap the number of deletions per run, for example stop when more than 50 identifiers would be deleted. A larger batch is then checked by a person before it goes through.
To set up the guard:
  1. Add a Set values transformer that counts the lists: set storedCount to &{length(storedIds)}, currentCount to &{length(currentIds)} and deletedCount to &{length(deletedIds)}.
  2. Add an Apply transformer conditionally transformer with a Throw error transformer inside it. Set the condition to the rule you chose, for example currentCount equals 0, or deletedCount is greater than 50.
  3. Use an Exception message that explains the stop, for example Deletion check stopped: &{deletedCount} deletions found, maximum is 50.
If the guard stops a run because of a real bulk deletion, review the list of identifiers and raise the threshold for one run.
The percentage or cap only works if the retrieval itself is complete. If the source pages its results, make sure all pages were fetched before you compare. A missing page looks exactly like a mass deletion.
Step 7: Process each deletion. Loop over deletedIds with the For each item transformer. For each identifier, delete or deactivate the record in the target system, then remove it from the Storage with Storage: Delete item so it is not reported again on the next run. Step 8: Schedule the deletion check. Run the Route on a schedule that matches how quickly deletions need to reach the target system, preferably outside peak hours, since it retrieves the full list of identifiers each time.
The alternative approach only detects the deletion of items that were retrieved at least once before. An item that is deleted at the source before Alumio ever retrieves it will not be detected.

Export entities from a storage

You can export entities from storage to download them as a JSON file. Common reasons to do this: Reporting –– filter the entities you need and download them for analysis. Freeing up storage –– save a copy of the data before removing entities, so the storage stays within its memory limit. Step 1: Go to the storage you want to export from and open the Entities tab. Step 2: Select the entities you want to export. Once at least one entity is selected, the Export X entities button appears. Step 3: Click Export X entities. The Export entities dialog opens. Step 4: Set a Key, Condition and Value to filter the export. You can add as many filters as you need. Step 5: Click Apply. A JSON file containing the filtered entities is downloaded.