with Outline and Appcues?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outline: {
type: "app",
app: "outline",
}
},
async run({steps, $}) {
const data = {
"offset": `1`,
"limit": `20`,
"sort": `updatedAt`,
"direction": `DESC`,
}
return await axios($, {
method: "post",
url: `https://app.getoutline.com/api/users.list`,
headers: {
Authorization: `Bearer ${this.outline.$auth.api_key}`,
},
data,
})
},
})
The Appcues API enables developers to enrich and automate the user onboarding and engagement processes. By interfacing with Appcues, you can programmatically manage flows, segments, and events, and integrate user experience data into other systems for analysis or action. This supports creating customized, scalable user journeys and leveraging user interactions for informed decision-making across your business applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appcues: {
type: "app",
app: "appcues",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.appcues.com/v2/accounts/${this.appcues.$auth.account_id}/flows`,
auth: {
username: `${this.appcues.$auth.api_key}`,
password: `${this.appcues.$auth.api_secret}`,
},
})
},
})