I want to automate the creation and deletion of views.
Proposed solution
Can you allow a column of a particular bases view, dynamically generate other bases views, when a condition is met. And delete views when a condition is not met?
There’s various ways to do this but to my knowledge there isn’t a nice non-techy all in one. I don’t know enough about the problem you’re trying to solve, but here are the parts you’d need to create your own automation.
You’d need scheduled task to monitor whatever the condition is.
Then when the condition is met you’d need a script to run.
The script would then parse the .base file, (or the base code block in your Markdown).
Then the script would write a new view or delete an existing view according to your logic.