Adding a direct link to a topic in a data explorer query

I think for the scheduled data explorer automation you would need to use the second method and build the URL.