Memory
The Memory tool in viaSocket is designed to store data across workflow runs, enabling seamless data sharing and connection between different steps or runs. This tool provides a persistent storage solution, making it easier to maintain context and continuity in your workflows.
Key Features
Persistent Storage: Retain data beyond the execution of individual workflows.
Data Sharing: Facilitate the exchange of data between multiple workflow steps or even separate workflows.
Scalability: Handle diverse data sizes and types, ensuring robust functionality for all use cases.
Flexibility: Retrieve, update, or clear stored data based on workflow requirements.
Supported Data Types
The Memory tool supports two types of data formats:
Dictionary
JSON
Supported Actions
Within the Memory tool, you can perform the following actions:
Create or Update Record: Add new data or modify existing data seamlessly. Use this action to ensure your workflow data stays updated and relevant.
Update a Record by ID: Modify specific records using the Update by ID action. This allows you to directly update a particular entry in your MongoDB storage by its unique identifier, ensuring precise changes to your stored data.
Find Record: Effortlessly access stored data with the Read action. Retrieve any saved information at any point in your flow to support decision-making and trigger subsequent actions based on the retrieved data.
Delete Record by ID: Maintain an organized and efficient workflow by removing unnecessary data with the Delete action. This allows you to securely delete obsolete records, optimizing your storage for active and relevant information.
Add New Record: Store new data seamlessly within your workflow using the Create action. Whether you're saving configurations, flags, or other crucial information, this action securely adds data to your MongoDB-based storage, ready for use in your automation flow.
Update Record Using Filter: Refine your updates by applying filters to target specific records. This action enables you to make precise modifications based on conditions you define, enhancing the flexibility of your data management.
Use Cases
Session Management: Store user session information and maintain it across different workflow runs.
Data Continuity: Keep track of intermediate results or process states to use in subsequent steps.
Conditional Logic: Use stored data to determine workflow paths or trigger specific actions.
State Management: Manage states in workflows that require a multi-step process with dependencies.