with Survser and UptimeRobot?
Emit new event when a new survey response is received. See the documentation
Update an existing monitor's status to pause or resume monitoring. See the documentation
The Survser API is designed to streamline survey management and analysis, providing a set of tools to create, distribute, and analyze surveys. On Pipedream, you can automate survey distribution, sync responses with other data systems, and trigger actions based on survey outcomes. This enables seamless integration with other apps for advanced data processing, notifications, and more, enhancing decision-making processes and response times.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
survser: {
type: "app",
app: "survser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.survser.com/api/public/survey/list`,
params: {
key: `${this.survser.$auth.api_key}`,
},
})
},
})
The UptimeRobot API allows you to monitor the uptime of websites and services, sending alerts for any downtime detected. With Pipedream, you can harness this API to create tailored notifications, generate uptime reports, and synchronize with incident management tools. By leveraging Pipedream's capabilities, you can integrate UptimeRobot with a myriad of services to automate responses to uptime changes, streamline communication processes, and maintain a pulse on your web infrastructure's health.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uptimerobot: {
type: "app",
app: "uptimerobot",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.uptimerobot.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.uptimerobot.com/v2/getAccountDetails`,
data,
})
},
})