Lifestyle
Strava
13min
the strava modules enable you to monitor activities or athletes, or create, retrieve, and update activities in your strava account get started with strava prerequisites a strava account in order to use strava with make, it is necessary to have a strava account if you do not have one, you can create a strava account at www strava com connect strava to make 1\ go to make and open the strava module's create a connection dialog 2\ enter the name of the connection to the connection name field and click continue after you click the continue button, make will redirect you to the strava website where you will be prompted to grant make access to your account confirm the dialog by clicking the authorize button the connection has been established activities watch activities and athletes triggers when an activity or an athlete is added, updated or deleted required permissions activity\ read all, activity\ read strava webhooks may be delayed (minutes/hours) 1\ add the watch activities and athletes module to your make make 2\ run the make now, every time the activity is performed, the watch activities and athletes module in your make make is triggered create an activity creates a new activity required permissions activity\ write field description connection establish a connection to your strava account name enter the name of the activity type select the type of activity you want to add start date local enter the start date and time elapsed time in seconds enter the elapsed time of the activity in seconds description enter the description of the activity distance in meters enter the distance of the activity (in meters) is trainer activity select the yes option to tag the activity as a trainer activity (for example treadmill for run activity type) is commute select the yes option to tag the activity as commute get an activity retrieves activity details field description connection establish a connection to your strava account activity id enter (map) or select the activity you want to retrieve details about include all segments efforts select the yes option to include all segments efforts list activities retrieves all activities in your account required permissions activity\ read all, activity\ read field description connection establish a connection to your strava account before enter the date and time to filter activities that have taken place before the entered time after enter the date and time to filter activities that have taken place after the entered time limit set the maximum number of activities make will return during one execution cycle update an activity updates an existing activity required permissions activity\ read all, activity\ write field description connection establish a connection to your strava account activity id enter (map) or select the activity you want to update please find the descriptions of the fields in the create an activity section above stats get a stats report retrieves your activity report required permissions activity\ read all, activity\ read field description connection establish a connection to your strava account other make an api call allows you to perform a custom api call field description connection establish a connection to your strava account url enter a path relative to https //www strava com/api for example /v3/athlete/activities method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body enter the body content for your api call example of use list activity comments the following api call returns all comments of the specified activity in your strava account url /v3/activities/{activity id}/comments/ method get the result can be found in the module's output under bundle > body in our example, 3 comments were returned for the list of available endpoints, refer to the strava api documentation