Strava
Read activities, athlete profile, and stats, and log or edit workouts on Strava.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Strava
OAuth sign-in
Strava
Connect to Strava to read activities, athlete profile, and stats, and to log or edit workouts.
Set up in Strava
Use a Strava account with access to the records and operations that your workflow needs.
If your organization restricts application access or user consent, have its administrator approve the connection before you sign in.
Set up in StackAI
Open Settings → Connections, add a connection, and select Strava.
Select Connect, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
StackAI obtains the OAuth credentials during sign-in. You do not need to paste an access token or refresh token.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Strava action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Create Activity
Log a manual workout on Strava when no device recorded it, with name, sport, start time, and duration.
Required permissions: activity:write.
Inputs
Activity name
string
Yes
Title shown on the activity, e.g. 'Morning Run'.
Sport
select (string)
Yes
The kind of workout (Run, Ride, Swim, Yoga, ...). Available values: Run, Trail Run, Ride, Mountain Bike Ride, Gravel Ride, E Bike Ride, E Mountain Bike Ride, Swim, Walk, Hike, Alpine Ski, Backcountry Ski, Nordic Ski, Snowboard, Snowshoe, Ice Skate, Inline Skate, Roller Ski, Skateboard, Handcycle, Velomobile, Wheelchair, Virtual Ride, Virtual Run, Virtual Row, Rowing, Canoeing, Kayaking, Stand Up Paddling, Surfing, Kitesurf, Windsurf, Sail, Golf, Soccer, Basketball, Badminton, Cricket, Padel, Pickleball, Racquetball, Squash, Table Tennis, Tennis, Volleyball, Crossfit, Elliptical, High Intensity Interval Training, Pilates, Physical Therapy, Rock Climbing, Stair Stepper, Weight Training, Workout, Yoga, Dance.
Start time (local)
datetime
Yes
When the workout started, in the athlete's local time.
Duration (seconds)
integer
Yes
Total workout duration in seconds.
Time zone
string
No
IANA time zone the start time is in. Only used when the start time carries a UTC offset (the date picker does); defaults to the zone of your latest activity.
Show advanced fields
boolean
No
Reveal description, distance, trainer, and commute fields. Default: false.
Description
textarea
No
Optional notes shown under the activity.
Distance (meters)
number
No
Distance covered, in meters (Strava is metric).
Trainer activity
boolean
No
Mark as done on a trainer/indoor machine.
Commute
boolean
No
Mark as a commute.
Outputs
Activity ID
string
Identifier of the created activity.
Activity URL
string
Link to the activity on Strava.
Name
string
Activity title.
Sport
string
Sport type.
Start (local)
string
Local start time.
List Activities
List the connected athlete's recent activities, optionally within a date range.
Required permissions: activity:read.
Inputs
Started after
datetime
No
Only activities that started after this time.
Started before
datetime
No
Only activities that started before this time.
Max results
integer
No
Maximum number of activities to return (default 30). Minimum: 1. Maximum: 200. Default: 30.
Page
integer
No
Page number to resume a previous listing. Minimum: 1.
Outputs
Activities
object_array
The matching activities.
Next page
integer
Page number to fetch more, empty when done.
Get Activity Details
Fetch one activity's full details by id: distance, times, speeds, heart rate, elevation, and more.
Required permissions: activity:read.
Inputs
Activity
string
Yes
The activity to fetch.
Include segment efforts
boolean
No
Also list every segment effort of the activity under segment_efforts, including hidden ones.
Outputs
Activity
object
The activity's full details.
Update Activity
Edit an existing activity's name, sport, description, or flags like commute and trainer.
Required permissions: activity:write.
Inputs
Activity
string
Yes
The activity to update.
New name
string
No
New activity title.
New description
textarea
No
New description text.
Show advanced fields
boolean
No
Reveal sport, gear, and the commute/trainer/mute flags. Default: false.
Sport
select (string)
No
Change the kind of workout. Available values: Run, Trail Run, Ride, Mountain Bike Ride, Gravel Ride, E Bike Ride, E Mountain Bike Ride, Swim, Walk, Hike, Alpine Ski, Backcountry Ski, Nordic Ski, Snowboard, Snowshoe, Ice Skate, Inline Skate, Roller Ski, Skateboard, Handcycle, Velomobile, Wheelchair, Virtual Ride, Virtual Run, Virtual Row, Rowing, Canoeing, Kayaking, Stand Up Paddling, Surfing, Kitesurf, Windsurf, Sail, Golf, Soccer, Basketball, Badminton, Cricket, Padel, Pickleball, Racquetball, Squash, Table Tennis, Tennis, Volleyball, Crossfit, Elliptical, High Intensity Interval Training, Pilates, Physical Therapy, Rock Climbing, Stair Stepper, Weight Training, Workout, Yoga, Dance.
Commute
boolean
No
Mark or unmark as a commute.
Trainer activity
boolean
No
Mark or unmark as a trainer activity.
Mute (hide from feeds)
boolean
No
Hide this activity from followers' home feeds.
Gear
string
No
Gear to associate (bike or shoes id), or 'none' to clear.
Outputs
Activity
object
The updated activity.
Get Athlete Stats
Get your totals: recent (last 4 weeks), year-to-date, and all-time distance, time, and counts for rides, runs, and swims.
Required permissions: profile:read_all.
Inputs
No input fields are required in this catalog entry.
Outputs
Athlete ID
string
The athlete the stats belong to.
Stats
object
Recent, year-to-date, and all-time totals.
Get Athlete Profile
Get the connected athlete's profile: name, username, location, weight, FTP, and registered gear.
Required permissions: read.
Inputs
No input fields are required in this catalog entry.
Outputs
Athlete ID
string
The athlete's id.
Username
string
Strava username.
Name
string
First and last name.
Profile
object
Full profile details.
Triggers
A trigger starts a workflow when its configured event occurs. Configure the event and filters before enabling the trigger.
New Activity
Fires when the connected athlete records or uploads a new activity on Strava.
Optionally limit this to one sport. Leave blank to watch every sport.
Required permissions: activity:read.
Configuration
Only this sport
select (string)
No
Only fire for activities of this sport (leave empty for all). Available values: Run, Trail Run, Ride, Mountain Bike Ride, Gravel Ride, E Bike Ride, E Mountain Bike Ride, Swim, Walk, Hike, Alpine Ski, Backcountry Ski, Nordic Ski, Snowboard, Snowshoe, Ice Skate, Inline Skate, Roller Ski, Skateboard, Handcycle, Velomobile, Wheelchair, Virtual Ride, Virtual Run, Virtual Row, Rowing, Canoeing, Kayaking, Stand Up Paddling, Surfing, Kitesurf, Windsurf, Sail, Golf, Soccer, Basketball, Badminton, Cricket, Padel, Pickleball, Racquetball, Squash, Table Tennis, Tennis, Volleyball, Crossfit, Elliptical, High Intensity Interval Training, Pilates, Physical Therapy, Rock Climbing, Stair Stepper, Weight Training, Workout, Yoga, Dance.
Event inputs
Activity ID
string
Yes
The new activity's id. Default: .
Name
string
Yes
Activity title. Default: .
Sport
string
Yes
Sport type. Default: .
Start (local)
string
Yes
Local start time. Default: .
Distance (m)
number
No
Distance in meters.
Moving time (s)
integer
No
Moving time in seconds.
Activity URL
string
Yes
Link to the activity. Default: .
Outputs
Activity ID
string
The new activity's id.
Name
string
Activity title.
Sport
string
Sport type.
Start (local)
string
Local start time.
Distance (m)
number
Distance in meters.
Moving time (s)
integer
Moving time in seconds.
Activity URL
string
Link to the activity.
Important behavior
If an operation is denied, check the connection’s granted permissions and the account’s access in the provider. Reauthorize the connection when it needs additional permissions.
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

