The DataStore module is the workflow’s main structured data storage system. It supports multiple actions: add records (add), bulk add (bulk), filter (filter), get a specific field (getField), check existence (exists), delete (delete), modify tags (modifyTags) and map keys to values (map). Records are organized in groups, each with a unique key and optional tags. Tags allow categorizing and filtering records with OR, AND or exclusion modes. Supports dynamic variables {{variable}} in fields like key, row and tags.
Parameters vary depending on the selected action. Available variants are:
Parameter Type Required Description group dataStoreGroup Yes Group where to store the record. key text Yes Field to use as unique identifier. Supports {{variable}}. row text Yes Data to store. Use {{data}} for the complete input. tags dataStoreGroupTags No Group tags to assign to the record.
Parameter Type Required Description group dataStoreGroup Yes Group where to store the records. key text Yes Field of each object to use as unique key. dataKey text Yes Array of objects to store. Use {{data}} if the input is the array. tags dataStoreGroupTags No Tags to apply to all records.
Parameter Type Required Description group dataStoreGroup No Filter by group (empty = all). key text No Filter by specific key. tags dataStoreGroupTags No Filter by tags. tagMode select No Filter mode: any (OR), all (AND), exclude. Default: any.
Parameter Type Required Description group dataStoreGroup Yes Group to search in. key text Yes Record key to search for. field text Yes Field name to get from the record.
Parameter Type Required Description group dataStoreGroup Yes Group to search in. key text Yes Key to search for. tags dataStoreGroupTags No Also filter by tags (optional). tagMode select No Filter mode: any (OR), all (AND).
Parameter Type Required Description id text No Specific record ID to delete. group dataStoreGroup No Record group (if no ID is specified). key text No Record key to delete (used with group).
Parameter Type Required Description ids text No Record IDs separated by comma. group dataStoreGroup No Group to filter records (if no IDs). tags dataStoreGroupTags No Filter tags to find records. add dataStoreGroupTags No Tags to add to records. remove dataStoreGroupTags No Tags to remove from records.
Parameter Type Required Description group dataStoreGroup Yes Group to search in. keys text Yes Array of keys to map. Supports {{data.ids}}. field text Yes Field to extract from each record. transform select No Transformation: uppercase, lowercase, trim, or none.
Varies by action:
{ "nextModule" : " siguiente " , "data" : { "success" : true , "key" : " clave_registro " } }
{ "nextModule" : " siguiente " , "data" : [{ "id" : 1 , "group_name" : " clientes " , "record_key" : " juan " , "row_data" : {}, "tags" : [] }] }
{ "nextModule" : " siguiente " , "data" : { "isFound" : true , "message" : " Found " , "row" : { "datos" : " del_registro " } } }
{ "nextModule" : " siguiente " , "data" : { "success" : true , "deletedCount" : 1 } }
"label" : " DataStore Add " ,
Supports dynamic variables {{variable}} in key, row, dataKey and tags fields.
If the action is add and a record with the same key already exists in the group, it is updated.
For bulk, the input can be an array or an object that is converted to an array.
The exists action returns isFound: true/false with the record data if it exists.
The delete action can delete by direct ID or by group + key combination.
The modifyTags action allows adding and removing tags simultaneously on multiple records.
The map action allows getting a specific field from multiple records at once, with optional transformations.
Each variant has its own parentNode dataStore and its own icon/color for easy visual identification.
DataStoreTrigger (trigger activated by DataStore changes)
dataframe (legacy version, obsolete)
decision (to evaluate query results)
iterator (to iterate over filtered results)