with ProfileAPI and Power Automate?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
profileapi: {
type: "app",
app: "profileapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.profileapi.com/2024-03-01/companies/find/jobs/latest`,
headers: {
"authorization": `ApiKey ${this.profileapi.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
power_automate: {
type: "app",
app: "power_automate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments?api-version=2016-11-01`,
headers: {
Authorization: `Bearer ${this.power_automate.$auth.oauth_access_token}`,
},
})
},
})