with Appcues and Postman?
Emit new event when a monitor run is completed. See the documentation
Updates a specific environment variable in Postman. See the documentation
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}`,
},
})
},
})
The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})