Twilio is a cloud communications platform for building SMS, Voice & Messaging applications on an API built for global scale.
Emit new event every time an SMS is sent to the phone number set. Configures a webhook in Twilio, tied to an incoming phone number.
Emit new event when a new playlist is created or followed by the current Spotify user.
Emit new event for each new track saved to the current Spotify user's Music Library.
Emit new event for each new Spotify track related with an artist. see docs here
Emit new event each time a call to the phone number is completed. Configures a webhook in Twilio, tied to a phone number.
Add one or more items to a user’s playlist. See the docs here.
Make a phone call, passing text that Twilio will speak to the recipient of the call. See the docs for more information
Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here.
Send an SMS with text and media files. See the docs for more information
With the Twilio API, you can build telephone applications that make and receive
phone calls, as well astext messaging applications that send and receive text
messages.
Some examples of applications you could build include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twilio: {
type: "app",
app: "twilio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twilio.com/2010-04-01/Accounts.json`,
auth: {
username: `${this.twilio.$auth.AccountSid}`,
password: `${this.twilio.$auth.AuthToken}`,
},
})
},
})
Assuming you have a Spotify Developer account (https://developer.spotify.com/), you can use the Spotify API to build the following:
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}`,
},
})
},
})