Strava

Designed by athletes, for athletes, Strava's mobile app and website connect millions of runners and cyclists through the sports they love.

Integrate the Strava API with the MySQL API

Setup the Strava API trigger to run a workflow which integrates with the MySQL API. Pipedream's integration platform allows you to integrate Strava and MySQL remarkably fast. Free for developers.

Create Row with MySQL API on New Activity Created Event from Strava API
Strava + MySQL
 
Try it
Delete Row with MySQL API on New Activity Created Event from Strava API
Strava + MySQL
 
Try it
Execute Query with MySQL API on New Activity Created Event from Strava API
Strava + MySQL
 
Try it
Execute Raw Query with MySQL API on New Activity Created Event from Strava API
Strava + MySQL
 
Try it
Execute Stored Procedure with MySQL API on New Activity Created Event from Strava API
Strava + MySQL
 
Try it
New Activity Created Event from the Strava API

Emit new event when a new activity is created

 
Try it
New Activity Updated Event from the Strava API

Emit new event when an activity is updated

 
Try it
New Activity Deleted Event from the Strava API

Emit new event when an activity is deleted

 
Try it
New Column from the MySQL API

Emit new event when you add a new column to a table. See the docs here

 
Try it
New Custom Event from the Strava API

Emit new event when an activity is created, updated, or deleted

 
Try it
Create Row with the MySQL API

Adds a new row. See the docs here

 
Try it
Delete Row with the MySQL API

Delete an existing row. See the docs here

 
Try it
Create Activity with the Strava API

Creates a manual activity for an athlete. See the docs

 
Try it
Execute Query with the MySQL API

Find row(s) via a custom query. See the docs here

 
Try it
Get Activity By ID with the Strava API

Returns the given activity that is owned by the authenticated athlete. See the docs

 
Try it

Overview of Strava

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.

Connect Strava

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Overview of MySQL

The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.

Connect MySQL

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import mysql from '@pipedream/mysql';

export default defineComponent({
  props: {
    mysql,
  },
  async run({steps, $}) {
    // Component source code:
    // https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql

    const queryObj = {
      sql: "SELECT NOW()",
      values: [], // Ignored since query does not contain placeholders
    };
    const { rows } = await this.mysql.executeQuery(queryObj);
    return rows;
  },
});