Spotify

Spotify is a digital music service that gives you access to millions of songs.

Integrate the Spotify API with the Notion API

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

Add Items to a Playlist with Spotify API on New Database from Notion API
Notion + Spotify
 
Try it
Add Items to a Playlist with Spotify API on New Page in Database from Notion API
Notion + Spotify
 
Try it
Add Items to a Playlist with Spotify API on Page or Subpage Updated from Notion API
Notion + Spotify
 
Try it
Add Items to a Playlist with Spotify API on Updated Page ID from Notion API
Notion + Spotify
 
Try it
Add Items to a Playlist with Spotify API on Updated Page in Database from Notion API
Notion + Spotify
 
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 Page in Database from the Notion API

Emit new event when a page in a database is created

 
Try it
Page or Subpage Updated from the Notion API

Emit new event when a page or one of its sub-pages is updated.

 
Try it
New Playlist from the Spotify API

Emit new event when a new playlist is created or followed by the current Spotify user.

 
Try it
New Saved Track from the Spotify API

Emit new event for each new track saved to the current Spotify user's Music Library.

 
Try it
Add Items to a Playlist with the Spotify API

Add one or more items to a user’s playlist. See the docs here.

 
Try it
Append Block to Parent with the Notion API

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

 
Try it
Create a Playlist with the Spotify API

Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here.

 
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
Get a Category's Playlists with the Spotify API

Get a list of Spotify playlists tagged with a particular category. See the docs here.

 
Try it

Overview of Spotify

The Spotify API on Pipedream offers a creative playground for music lovers and developers alike. With it, you can manage playlists, search for music, get recently played tracks, and manipulate playback among other features. It's a gateway to a rich dataset of music and user information, enabling the creation of personalized and dynamic music experiences.

Connect Spotify

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