Why Workflow scripts parse-fail "all the time": the script is a plain-JS string, and prompts are full of the chars JS uses to delimit/interpolate strings. Flip each snippet between the broken and fixed form — the panel runs your browser's real JS parser on it.