Product Roadmap Software
With the Aha API, you can build integrations that allow you to do things like:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aha: {
type: "app",
app: "aha",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.aha.$auth.subdomain}.aha.io/api/v1/me`,
headers: {
Authorization: `Bearer ${this.aha.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})