This plugin will allow you to automate various tasks using "Macros". Macros consist of list of conditions under which a list of actions will be performed.

https://obsproject.com/forum/resources/advanced-scene-switcher.395/