Auto start eMTB recording

Does anyone have a hint how to auto start eMTB workout with a Bosch Gen5 ebike?

Directly through the bike I didn't find a way.

Maybe through a cadence sensor?

I'd appreciate a hint.