Custom Library or Module access in Workflows

For one of my projects, I'm using a custom JS library to execute some business logic on data I'm fetching from an API to create the "Master Data" for the apps I create. There are a few steps to the process, which are defined in a module that I include in all my apps so they can all share the same master data, that gets calculated live. I would like to be able to use this "Master data" in a workflow, but workflows can't use custom libraries, and they don't seem to be able to use my modules as a data point. Either one of these features would enable some very useful automation. Let me know if this wasn't clear, or if there's a good workaround I'm not aware of. Thanks,

Peter

Hi @pyee Can you share more information about how you plan to use the workflow?

If you only need the workflow to be triggered by some action in your module, you can use a workflow query & pass data from the app's module using a webhook.

If you need the module data to be accessible to a workflow without user interaction (when a user isn't currently accessing the app/module), then you may want to store that data in a database or api that the workflow can access. For example, you could store it in a Retool hosted database.