Hide bot and bubble if not authorized

I understand how to get the main document url from the page hosting the bot, and can run a webhook to validate the url but, is there a way to "hide" or disable the bubble/bot after checking, if the url doesn't meet criteria? I can easily put a path in the bot flow that routes to a "You are not authorized to use this bot" message displayed, but I'm wanting to hide even the bubble if the url doesn't even meet criteria that I check with a webhook as the first step in the bot.
Was this page helpful?