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 OpenAI (ChatGPT) API

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

Chat with OpenAI (ChatGPT) API on New Activity Created Event from Strava API
Strava + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Activity Deleted Event from Strava API
Strava + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Activity Updated Event from Strava API
Strava + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Custom Event from Strava API
Strava + OpenAI (ChatGPT)
 
Try it
Summarize Text with OpenAI (ChatGPT) API on New Activity Created Event from Strava API
Strava + OpenAI (ChatGPT)
 
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 Custom Event from the Strava API

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

 
Try it
New File Created from the OpenAI (ChatGPT) API

Emit new event when a new file is created in OpenAI. See the documentation

 
Try it
Chat with the OpenAI (ChatGPT) API

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See docs here

 
Try it
Summarize Text with the OpenAI (ChatGPT) API

Summarizes text using the Chat API

 
Try it
Create Activity with the Strava API

Creates a manual activity for an athlete. See the docs

 
Try it
Classify Items into Categories with the OpenAI (ChatGPT) API

Classify items into specific categories using the Chat API

 
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 OpenAI (ChatGPT)

OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:

Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:

Connect OpenAI (ChatGPT)

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: {
    openai: {
      type: "app",
      app: "openai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.openai.com/v1/models`,
      headers: {
        Authorization: `Bearer ${this.openai.$auth.api_key}`,
      },
    })
  },
})