[Webhook] Extract URL setup into the worker process/file.