Better Stack lets you see inside any stack, debug any issue, and resolve any incident.
Acknowledges an incident, marking it as acknowledged in Better Stack. See the documentation
Initiates an incident that signals the team. See the documentation
Brings a closure to an incident by resolving it with optional resolution details. See the documentation
The Better Stack API allows you to enhance your app's capabilities with powerful monitoring, logging, and analytics tools. By connecting to the API through Pipedream, you can create custom, serverless workflows that automate the ingestion, analysis, and response to your app's operational data. Leverage real-time insights, set up alerts, and integrate with various other services to maintain optimal performance and swiftly troubleshoot issues.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
better_stack: {
type: "app",
app: "better_stack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://uptime.betterstack.com/api/v2/monitors`,
headers: {
Authorization: `Bearer ${this.better_stack.$auth.uptime_token}`,
},
})
},
})
The Klaviyo API grants you the power to automate and personalize your email marketing efforts. With it, you can manage lists, profiles, and campaigns, track event-driven communications, and analyze the results. By leveraging this API on Pipedream, you can create intricate, automated workflows that respond in real-time to your users' behavior, sync data across multiple platforms, and tailor your marketing strategies to improve engagement and conversion rates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klaviyo: {
type: "app",
app: "klaviyo",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://a.klaviyo.com/api/accounts/`,
headers: {
"Authorization": `Klaviyo-API-Key ${this.klaviyo.$auth.api_key}`,
"revision": `2023-12-15`,
},
})
},
})