with Cloudpresenter and PDF4me?
Emit new event when a user adds a new contact in Cloudpresenter.
Creates a new contact within the Cloudpresenter application. See the documentation
Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. See the documentation
Updates an existing contact within the Cloudpresenter application. See the documentation
Merge multiple PDF files into a single PDF. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudpresenter: {
type: "app",
app: "cloudpresenter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api2.cloudpresenter.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.cloudpresenter.$auth.oauth_access_token}`,
"origin": `${this.cloudpresenter.$auth.api_base_url}`,
"workspace": `${this.cloudpresenter.$auth.workspace_id}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf4me: {
type: "app",
app: "pdf4me",
}
},
async run({steps, $}) {
const data = {
"webUrl": `https://www.pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdf4me.com/api/v2/ConvertUrlToPdf`,
headers: {
"authorization": `${this.pdf4me.$auth.api_key}`,
},
data,
})
},
})