Forgive the ignorance, but... I'm having trouble figuring out how that works because the Open URL action requires a specific URL, correct?
Maybe I worded my original question weirdly, so let me take another whack at explaining my intended use case:
Open Alfred
Search for a bookmark
If the selected bookmark URL contains "%sharepoint.com%", then open in Chrome. Else, open in default browser. (% is a wildcard here)
Note there are many different Sharepoint domains I use. For example, "https://workspace.web.sharepoint.com/abc" or "https://operations.web.sharepoint.com/xyz".