You’ll need to connect your smartwatch or fitness tracker to Strava in order to upload race data. You can’t record directly into Strava.
It’s super easy, though, and most watches and trackers are compatible. It only takes a few minutes after your triathlon to upload the data on your watch.