with Clio - EU and Office 365 Management?
Emit new event when the state of a bill has changed in Clio. See the documentation
Emit new event when a new activity is created in Clio. See the documentation
Emit new event when a new document is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio_eu: {
type: "app",
app: "clio_eu",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://eu.app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio_eu.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
office_365_management: {
type: "app",
app: "office_365_management",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.office_365_management.$auth.api_endpoint}/api/v1.0/${this.office_365_management.$auth.tenant_id}/activity/feed/subscriptions/list`,
headers: {
Authorization: `Bearer ${this.office_365_management.$auth.oauth_access_token}`,
},
})
},
})