with Proposify and Exa?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proposify: {
type: "app",
app: "proposify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.proposify.com/user`,
headers: {
Authorization: `Bearer ${this.proposify.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
exa: {
type: "app",
app: "exa",
}
},
async run({steps, $}) {
const data = {
"query": `Tell me about Pipedream — what makes it great?`,
}
return await axios($, {
method: "post",
url: `https://api.exa.ai/search`,
headers: {
"x-api-key": `${this.exa.$auth.api_key}`,
},
data,
})
},
})