How to use data stores for persistent memory on Make
Data stores in Make allow you to store and retrieve data persistently across scenario runs, acting as a database for your automations. You can create data stores, add/search/update records using dedicated modules, and use them to maintain state between executions.
Prerequisites
- Active Make account with paid subscription
- Basic understanding of Make scenarios
- Familiarity with JSON data structures
- Knowledge of Make modules and connections
Step-by-Step Instructions
Create a New Data Store
key field as the primary identifier.Add Data Store Modules to Your Scenario
Configure Add a Record Module
Set Up Search Records Module
Configure Update Record Module
Implement Data Retrieval Logic
Test and Monitor Data Store Operations
Common Issues & Troubleshooting
Records not being created or updated
Verify that all required fields are mapped correctly and that the data store connection is properly configured. Check if the key field contains valid, non-empty values and ensure your subscription includes data store operations.
Search operations returning no results
Double-check your filter conditions and ensure field names match exactly (case-sensitive). Verify that the data you're searching for actually exists in the data store using the Browse records feature in the dashboard.
Data store operations consuming too many operations
Optimize your search queries by using more specific filters and lower limits. Consider using Get a record instead of Search records when you know the exact key. Implement caching logic to avoid redundant data store calls.
Key conflicts when adding records
Implement unique key generation using functions like now combined with random numbers, or use UUIDs. Check for existing records before adding new ones, or use the update operation which handles both creation and modification.