with Switch and Insites?
Emit new event when a new analysis is completed. See the documentation
Fetch a report from Insites based on the provided business details. See the documentation
/*
Switch is single path branching operator.
Create non-linear workflows with multiple
execution branches and Pipedream will execute
the first branch that matches the configured
rules. The order in which rules are defined
will affect the path of execution.
The code for this operator is not currently
public. Please select the *Switch* operator
from the *Add Step* menu.
Check out the docs to learn more:
https://pipedream.com/docs/workflows/control-flow/switch
*/
The Insites API offers a suite of tools for website testing and monitoring, enabling users to automate the process of checking website quality, performance, and compliance with SEO and accessibility standards. With Pipedream, you can harness this API to create workflows that trigger on events across your apps, perform actions based on website analysis results, and automate repetitive tasks that ensure your website maintains high standards for your users.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
insites: {
type: "app",
app: "insites",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.insites.com/api/v1/users`,
headers: {
"api-key": `${this.insites.$auth.api_key}`,
},
})
},
})