Actions41
- Activity Actions
- Athlete Actions
- Club Actions
- Gear Actions
- Route Actions
- Segment Actions
- Segment Effort Actions
- Stream Actions
- Upload Actions
- Web Session (Undocumented) Actions
Upload → Upload Activity
AI-generatedSummary
Upload a new activity file to Strava in formats such as .fit, .tcx, .gpx or their compressed variants, creating an activity on the user's account.
Inputs
- Input Binary Field (required) — The name of the binary input field containing the activity file to upload. This binary data must be provided by a previous node or input.
- Data Type (required) — The format of the uploaded activity file, such as 'fit', 'tcx', 'gpx' or their gzipped variants.
- Additional Fields — Optional parameters to specify metadata about the activity, including Activity Type (string, e.g., 'ride'), Commute (boolean), Description (string), External ID (string, must be unique per athlete), Name (string), and Trainer (boolean, indicates if the activity was on a stationary trainer).
Output shape
a single JSON object representing the uploaded activity’s upload details or status
The node expects binary input matching the specified input binary field name. It submits a multipart/form-data HTTP POST request including the file and optional metadata fields. On success, it returns the API response JSON describing the upload. Failure cases such as missing binary data or empty files result in an error. This operation requires the Strava API activity:write scope.
Examples
Example 1: Upload a FIT activity file named 'activity.fit' from the binary property 'data', specifying the data type as 'fit' and setting the activity type as 'ride' with a description
Set 'Input Binary Field' to 'data', choose 'Fit' for Data Type, and optionally set Additional Fields like Activity Type to 'ride' and Description to your text.