Tasker - Work Profile Action
Context by Mishaal Rahman: While researching for my article on Android 14’s work profile changes, I discovered that it’s possible for 3P apps to toggle the work profile, so I told @joaomgcd & he added it to his Tasker app! You can now automate when your work profile is enabled