The Clio API offers a powerful way for law firms and legal professionals to automate and streamline their operations. By integrating with Pipedream, users can create custom workflows that leverage Clio's capabilities such as managing cases, tracking time, billing, and client communications. With Pipedream’s serverless platform, these automations can be triggered by a vast array of events and can connect Clio with other apps and services to enhance productivity and data consistency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio: {
type: "app",
app: "clio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio.$auth.oauth_access_token}`,
},
})
},
})
Time Tracking Automation: Automatically log billable hours in Clio when a timer is stopped in a time tracking app like Toggl. This workflow could check for new time entries in Toggl and create corresponding time entries in Clio, ensuring accurate and up-to-date billing records.
New Client Onboarding: Streamline the process of adding new clients to Clio by triggering an automation when a new client form is submitted through a service like Typeform. The workflow can create a new matter in Clio, generate a welcome email via Gmail or SendGrid, and schedule an initial consultation in Google Calendar.
Document Management Sync: Keep all legal documents in sync between Clio and cloud storage services like Dropbox or Google Drive. Whenever a document is uploaded to a specific case folder in the cloud service, the workflow would create a link in the corresponding matter in Clio, keeping case-related documents organized and accessible.
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
Clio uses OAuth authentication. When you connect your Clio account, Pipedream will open a popup window where you can sign into Clio and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Clio API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://app.clio.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://app.clio.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://app.clio.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}