Share Peloton ride
@droosevelt
code:
data:privatelast updated:3 years ago
@droosevelt/
Share Peloton ride

Trigger

Note that the trigger I've configured is part of an iOS automation for when I end a cycling workout on my Apple Watch, which then makes a GET request to the Pipedream tigger URL to kick off this workflow.

Peloton auth

Store your Peloton username and password as environment variables in your Pipedream settings here:
https://pipedream.com/settings/env-vars

Get latest Peloton workout

Based on this unofficial API documentation:
https://github.com/geudrik/peloton-client-library/blob/master/API_DOCS.md

Send a text

Uses this URL structure to insert the workout ID of the most recent workout:
https://members.onepeloton.com/profile/workouts/{{steps.make_peloton_request.me.data[0].id}}?utm_source=ios_app&utm_medium=in_app