with noCRM.io and OTO?
Emit new event when the status of an order changes. See the documentation
noCRM.io API offers the ability to streamline and automate the sales process, focusing on lead management. With the noCRM.io API, you can create, update, delete, and retrieve leads, manage lead statuses, and trigger actions based on lead activity. Pipedream's serverless platform enhances these capabilities by allowing you to integrate noCRM.io with a plethora of other apps, setting up complex workflows without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nocrm_io: {
type: "app",
app: "nocrm_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.nocrm_io.$auth.subdomain}.nocrm.io/api/v2/users`,
headers: {
"X-API-KEY": `${this.nocrm_io.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})