with Range and Autotask PSA?
Emit new event when a new check-in by teammate is created. See the docs
The Range API provides a platform for managing print shop operations, including job status tracking, quoting, invoicing, and scheduling. Leveraging Pipedream, users can automate workflows between Range and other apps, creating a seamless integration that boosts productivity. Whether it's syncing order details with a CRM, triggering notifications based on job status updates, or automating invoice creation, Pipedream acts as a conduit for connecting Range's print shop management capabilities with a myriad of other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
range: {
type: "app",
app: "range",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.range.co/v1/users/auth-user`,
headers: {
Authorization: `Bearer ${this.range.$auth.oauth_access_token}`,
"X-Range-App-ID": `AA0BFrfWOpGg8rTpgQAB`,
"X-Range-Client": `pipedream/1`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
autotask_psa: {
type: "app",
app: "autotask_psa",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.autotask_psa.$auth.url}V1.0/ClientPortalUsers/query`,
headers: {
"UserName": `${this.autotask_psa.$auth.username}`,
"Secret": `${this.autotask_psa.$auth.password}`,
"ApiIntegrationCode": `${this.autotask_psa.$auth.api_integration_code}`,
},
params: {
search: `{
"filter": [
{
"op": "gt",
"field": "id",
"value": "1"
}
]
}`,
},
})
},
})