Show URL’s Based on Output

This will show output from Create Request compose if there is any there it will show “URL1”

If Create Request is empty it will show “URL2”

if(
    not(empty(outputs('Create_Request')?['body']?['number'])),
    concat('https://URL1',outputs('Get_Created_Request')?['body']?['result']?[0]?['sys_id'], '.co.uk'),
    'https://URL2.co.uk'
)