Support for Defining and Executing Workflows via JSON or Database Entries
Hello Stagehand team,
I’m exploring the use of Stagehand as a “universal browser workflow engine.” Currently, it appears that each workflow requires a dedicated TypeScript script.
I’m interested in knowing if there’s a way to define workflows as JSON objects or database entries, which could then be dynamically loaded and executed by Stagehand. This approach would facilitate managing workflows as data, enhancing scalability and maintainability.
Specifically, I’m looking for functionality that allows: • Defining workflows in JSON format or storing them in a database. • Loading these workflows into Stagehand at runtime. • Executing the loaded workflows without the need for separate TypeScript scripts for each.
Is such a feature currently supported or planned for future releases? If not, could you suggest any workarounds or best practices to achieve this functionality with the current version of Stagehand?
Thank you for your time and for developing such a powerful automation framework!