Using Applescript in Automator

My goal is to create a “service” that when I receive an email in french, I want to select the text and run the Service.

I get this when I “run”

Screen Shot 2021-04-27 at 6.22.06 PM

Please advise
Ron from Canada

I don’t have Chrome installed, so I can’t test it, but I found this solution:

tell application "Google Chrome"
    if not (exists window 1) then reopen
    set URL of active tab of window 1 to "https:/"
end tell