with Greenhouse Job Board and Specific?
Modify an existing contact's details or create a new one if the specified contact does not exist. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greenhouse_job_board_api: {
type: "app",
app: "greenhouse_job_board_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://boards-api.greenhouse.io/v1/boards/${this.greenhouse_job_board_api.$auth.board_token}/jobs`,
headers: {
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})