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