with Onethread and Simla.com?
Emit new event when a new customer is created. See the documentation
Emit new event when a customer is updated. See the documentation
Creates a new order with customer and order details. See the documentation
The Onethread API allows you to tap into a project management platform designed to streamline teamwork and improve project execution. By integrating the Onethread API with Pipedream, you can automate repetitive tasks, sync data with other tools, and create custom notifications and reports. This enables you to craft workflows that connect Onethread data with hundreds of other apps, leading to a more efficient project management environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onethread: {
type: "app",
app: "onethread",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.onethread.app/api/v1/accounts/`,
headers: {
Authorization: `Bearer ${this.onethread.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simla_com: {
type: "app",
app: "simla_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.simla_com.$auth.subdomain}.simla.com/api/${this.simla_com.$auth.version}/users`,
headers: {
"X-API-KEY": `${this.simla_com.$auth.api_key}`,
},
})
},
})