with Pendo and Terraform?
Retrieves a list of runs in a workspace in Terraform. See the documentation
The Pendo API provides a suite of endpoints that allow you to tap into user insights and product data collected by Pendo. With this API, you can automate the retrieval of visitor analytics, track feature usage, and manage guides and feedback within your application. When used within Pipedream, you can craft workflows that respond to this data in real-time, connect with other apps, and streamline your user-centric operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pendo: {
type: "app",
app: "pendo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.pendo.$auth.subdomain}.pendo.io/api/v1/report`,
headers: {
"x-pendo-integration-key": `${this.pendo.$auth.integration_key}`,
},
})
},
})
The Terraform API allows for the automation of infrastructure as code (IaC) management tasks. With Pipedream, you can orchestrate workflows that interact with Terraform to create, update, or destroy infrastructure programmatically. You can trigger workflows with webhooks, schedule them, or run them in response to events from other services. By integrating Terraform with Pipedream, you can streamline your DevOps processes, enforce compliance, and manage infrastructure changes with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
terraform: {
type: "app",
app: "terraform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.terraform.io/api/v2/account/details`,
headers: {
Authorization: `Bearer ${this.terraform.$auth.api_token}`,
"Content-Type": `application/vnd.api+json`,
},
})
},
})