with Alchemer 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 Alchemer API facilitates the creation and management of surveys, collection and analysis of responses, and automation of survey-related workflows. With Pipedream, you can harness this API to trigger actions in other applications based on survey events, sync survey data with databases or CRM systems, and even automate follow-up communications based on participant responses. Think of it as a bridge between Alchemer's rich survey feature set and a universe of other apps to streamline your data collection and analysis processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alchemer: {
type: "app",
app: "alchemer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.alchemer.com/v5/account`,
params: {
api_token: `${this.alchemer.$auth.api_key}`,
api_token_secret: `${this.alchemer.$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,
})
},
})