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 Notion API

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

Append Block to Parent with Notion API on Activity Created from Strava API
Strava + Notion
 
Try it
Create a Page with Notion API on Activity Created from Strava API
Strava + Notion
 
Try it
Create Page from Database with Notion API on New Activity Created Event from Strava API
Strava + Notion
 
Try it
Duplicate Page with Notion API on New Activity Created Event from Strava API
Strava + Notion
 
Try it
Find a Page with Notion API on Activity Created from Strava API
Strava + Notion
 
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 Database from the Notion API

Emit new event when a database is created. Note: Databases must be shared with your Pipedream Integtration to trigger event.

 
Try it
New Activity Deleted Event from the Strava API

Emit new event when an activity is deleted

 
Try it
New Page in Database from the Notion API

Emit new event when a page in a database is created

 
Try it
Append Block to Parent with the Notion API

Creates and appends blocks to the specified parent. See the documentation

 
Try it
Create Page with the Notion API

Creates a page from a parent page. The only valid property is title. See the documentation

 
Try it
Create Activity with the Strava API

Creates a manual activity for an athlete. See the docs

 
Try it
Create Page from Database with the Notion API

Creates a page from a database. See the docs

 
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 Notion

Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Leveraging Pipedream's platform, you can build workflows that connect Notion with a myriad of other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.

Connect Notion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    notion: {
      type: "app",
      app: "notion",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.notion.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
        "Notion-Version": `2021-08-16`,
      },
    })
  },
})