with Outline and CompanyCam?
Emit new event when a new document is created. See the docs
Emit new event when a new photo is uploaded. See the docs
Emit new event when a new project is created. See the docs
Emit new event when a project is labeled. See the docs
Find a project by name or create it if it doesn't exist. See the docs
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outline: {
type: "app",
app: "outline",
}
},
async run({steps, $}) {
const data = {
"offset": `1`,
"limit": `20`,
"sort": `updatedAt`,
"direction": `DESC`,
}
return await axios($, {
method: "post",
url: `https://app.getoutline.com/api/users.list`,
headers: {
Authorization: `Bearer ${this.outline.$auth.api_key}`,
},
data,
})
},
})
The CompanyCam API provides programmatic access to CompanyCam’s project-based photo solution, allowing for the management of photos, users, and projects within their ecosystem. With Pipedream, you can harness this API to create powerful automations and integrations that streamline photo management workflows, sync project details, and enhance reporting capabilities for teams in construction, roofing, and similar industries.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
companycam: {
type: "app",
app: "companycam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.companycam.com/v2/users/current`,
headers: {
Authorization: `Bearer ${this.companycam.$auth.oauth_access_token}`,
},
})
},
})