with Strava and Engage?
Adds a new user to your Engage account. Use this to sync customer data with Engage. See the documentation
Returns the given activity that is owned by the authenticated athlete. See the docs
The Strava API lets you tap into the robust data from Strava's fitness app, which is a playground for athletes worldwide to track their workouts. With Pipedream, you can automate actions based on activities uploaded to Strava, such as running, biking, or swimming. Imagine syncing workout data to spreadsheets for analysis, auto-posting achievements to social media, or integrating with calendar apps for better scheduling. Pipedream's serverless platform makes it a breeze to create workflows that can listen for Strava webhooks, process data, and trigger actions in countless other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
strava: {
type: "app",
app: "strava",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.strava.com/api/v3/athlete`,
headers: {
Authorization: `Bearer ${this.strava.$auth.oauth_access_token}`,
},
})
},
})
The Engage API lets you automate and streamline your customer communication by sending personalized messages. With this API, you can craft interactions based on user behavior, preferences, and feedback. On Pipedream, you can integrate Engage with your workflow to trigger actions based on events from other apps, manage contact lists, and analyze communication patterns — all in real-time and without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
engage: {
type: "app",
app: "engage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.engage.so/v1/users`,
auth: {
username: `${this.engage.$auth.public_key}`,
password: `${this.engage.$auth.secret_key}`,
},
})
},
})