My audio sources were a mess and I was looking for a way to clean this list up and have only the relevant audio sources I really use often. I've updated the code in the workflow like so in the "Script Filter" maybe it helps someone who is looking for something similar.
Below the code where DELL U2518D and DELL U2515H are the names of audio sources I never use
// Orignal
SwitchAudioSource -a -t output -f json | sed s/\"name\"/\"title\"/ | sed s/\"id\"/\"arg\"/ | jq -s . | jq -n '{ "items": input }'
// Updated
SwitchAudioSource -a -t output -f json | sed 's/"name"/"title"/' | sed 's/"id"/"arg"/' | jq -s '[.[] | select(.title | test("DELL U2518D|DELL U2515H") | not)]' | jq -n '{ "items": input }'
Thanks for the workflow!