Autopilot - API Workflow - Copy button not working in Autopilot panel

The Copy button in the Autopilot panel isn’t working. I tried it multiple times, but nothing gets copied. Could you please take a look and fix this?

CC: @diana.gray @Vibhor.Shrivastava

++ @silviu_tanasie @loginerror

Hello! We will investigate and fix.