with BILL and Clio - EU?
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
The BILL API enables automation of accounts payable and receivable processes. With this API on Pipedream, you can create workflows that streamline financial operations, sync invoices, and manage transactions. Pipedream's serverless platform allows you to connect BILL with various other apps to trigger actions based on events, ensuring seamless financial data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bill: {
type: "app",
app: "bill",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.bill.$auth.base_url}/v3/login/session`,
headers: {
"devkey": `${this.bill.$auth.developerKey}`,
"sessionid": `${this.bill.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})