The Jobber API allows for the automation of service business operations, such as scheduling jobs, managing clients, and invoicing. By pairing it with Pipedream, you can craft powerful serverless workflows that react to events in Jobber or integrate with other services to streamline your business processes. With Pipedream’s ability to connect to hundreds of apps, you can create custom automations without writing a lot of code, handling everything from data transformations to complex logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jobber: {
type: "app",
app: "jobber",
}
},
async run({steps, $}) {
const data = {
"query": `query SampleQuery {
user(id: null){
id
email {
raw
}
}
}`,
}
return await axios($, {
method: "POST",
url: `https://api.getjobber.com/api/graphql`,
headers: {
Authorization: `Bearer ${this.jobber.$auth.oauth_access_token}`,
"X-JOBBER-GRAPHQL-VERSION": `2023-03-29`,
},
data,
})
},
})
Job Completion to Invoice Generation: Once a job is marked as completed in Jobber, a workflow in Pipedream automatically generates an invoice for that job, attaches a report if needed, and sends it to the customer, streamlining the billing process.
Client Onboarding Automation: When a new client is added to Jobber, Pipedream triggers a workflow that sends a welcome email using SendGrid, creates a new contact in HubSpot, and schedules an initial consultation call on Google Calendar, ensuring no step in the onboarding process is missed.
Real-time Job Updates to Slack: Keep your team informed with real-time updates by using Pipedream to send a notification to a designated Slack channel whenever the status of a job in Jobber changes. This ensures everyone is up to speed with the current status without having to check Jobber directly.
Generates a new quote for the client's first property in Jobber. See the documentation
Creates a new service request for a client's first property within Jobber. See the documentation
Jobber uses OAuth authentication. When you connect your Jobber account, Pipedream will open a popup window where you can sign into Jobber and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Jobber API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://api.getjobber.com/api/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
POST
https://api.getjobber.com/api/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://api.getjobber.com/api/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}}