The New Way Businesses Buy From Businesses
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Drift API allows you to interact with all of the resources in Drift. This
includes retrieving and updating conversations, retrieving and updating
contacts, and more.
With the Drift API, you can build applications to:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drift: {
type: "app",
app: "drift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://driftapi.com/users/list`,
headers: {
Authorization: `Bearer ${this.drift.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})