Show Options Based on Output

This will show output from Create Request compose if there is any it will show “REQ12345”
If Create Request is empty it will show “See Spark Queue”

if(
    not(empty(outputs('Create_Request')?['body']?['number'])),
    outputs('Create_Request')?['body']?['number'],
    'See Spark Queue'
)