with Close and Opsgenie?
Emit new event when configured type of events triggered, See all possibilities
Adds a note to an existing alert in Opsgenie. See the documentation
The Close API provides access to a robust CRM platform, enabling users to automate sales processes, manage leads, and track communication history. Harnessing the Close API within Pipedream's ecosystem allows for the creation of custom, serverless workflows that can react in real-time to events, synchronize data across apps, and streamline sales operations. By leveraging Pipedream's capabilities, you can trigger actions based on Close events, manipulate Close data, and integrate with countless other services to amplify your CRM's functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
close: {
type: "app",
app: "close",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.close.com/api/v1/me/`,
auth: {
username: `${this.close.$auth.api_key}`,
password: ``,
},
})
},
})
The Opsgenie API enables automated incident management and alerting to streamline response actions. It allows you to create, update, and manage alerts, as well as configure and query users, schedules, and on-call rotations. Integrating Opsgenie with Pipedream opens up possibilities for orchestrating complex workflows, such as incident triggering from various sources, auto-update of tickets, synchronization with other tools, and much more, all in a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opsgenie: {
type: "app",
app: "opsgenie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.opsgenie.$auth.instance_region}.opsgenie.com/v2/teams`,
headers: {
"Authorization": `GenieKey ${this.opsgenie.$auth.api_key}`,
},
})
},
})