with Workday and PDF Munk?
Emit new event for each new worker created in Workday. See the documentation
Change the business title of a worker. See the documentation
Capture Screenshot of a Website URL into an image. See documentation
Converts a URL to a PDF file with customizable options. See documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workday: {
type: "app",
app: "workday",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.workday.$auth.rest_api_endpoint}/workers`,
headers: {
Authorization: `Bearer ${this.workday.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf_munk: {
type: "app",
app: "pdf_munk",
}
},
async run({steps, $}) {
const data = {
"url": `https://pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://pdfmunk.com/api/v1/generateImage`,
headers: {
"accept": `application/json`,
"client-api-key": `${this.pdf_munk.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})