Access monday storage from integrations(node.js app)

Hello there,

We have an app on monday marketplace(hosted on monday code), it has a item view feature only. We are storing key-value pairs in monday.com storage(using monday-sdk-js library’s method storage) and secure storage(monday-code secure storage api).

Now, we are adding an integration feature that needs to get and set the data in the monday.com storage. We can access monday.com secure storage from integrations(node.js app) with the help of monday-apps-sdk, but we need access to data stored in monday.com storage(the data stored using the monday-sdk-js library’s storage method). We have tried to use the monday-sdk-js library in the node.js app but it shows undefined for the storage method.

So is there any way to access the monday storage data from the integrations feature?

Thanks

From the frontend: Access the global storage using monday-sdk-js library: monday.storage

From the backend: Access the global storage using apps-sdk library: JavaScript SDK

Data stored from the client-side will be accessible by your server app.

Your integration can use the shared parameter on storage.set(key, value, options) if you want the data to be accessible from the client-side too.

We have tried to access data stored from monday-sdk-js library’s storage method, using the monday-apps-sdk library’s storage method but getting value as null despite the value exists.

Screenshot named NoValueSS1.png shows what is logged using monday-apps-sdk library’s storage method and Screenshot named ValueSS2.png shows what is logged using monday-sdk-library’s storage method. For the same key.


Where are you setting the data in the storage – on the frontend or backend? If you’re setting it from the frontend, are you using the global storage –

Global storage method:
monday.storage.setItem('serialKey'...)

Instance-level storage method:
monday.storage.instance.setItem('serialKey'...)

  1. Setting data from frontend using the moday-sdk-js library method Storage.

  2. We are using the global storage.

The requirement is we need to access data set from the frontend using monday-sdk-js global storage method in the backend(integrations feature).

Thanks Dipro for your suggestions. I got an email from a monday support team member who is now taking up the issue.