with Scoro and Nextlead?
Emit new event when a lead is added to a list in NextLead. See the documentation
Emit new event when a new lead is captured in NextLead. See the documentation
Emit new event when a lead is updated in NextLead. See the documentation
Scoro is a comprehensive solution that combines project management, time tracking, and CRM functionalities. With the Scoro API, you can automate your business workflows, sync data across different systems, and enhance productivity by reducing manual tasks. The API allows you to access, manipulate, and integrate your Scoro data with other services. When used on Pipedream, you can create serverless workflows to connect Scoro with hundreds of other apps, respond to Scoro events in real-time, and automate actions based on triggers from within Scoro or other platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scoro: {
type: "app",
app: "scoro",
}
},
async run({steps, $}) {
const data = {
"company_account_id": `${this.scoro.$auth.company_name}`,
"apiKey": `${this.scoro.$auth.api_key}`,
"lang": `eng`,
}
return await axios($, {
method: "post",
url: `https://${this.scoro.$auth.company_name}.scoro.com/api/v2/companyAccount/list`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextlead: {
type: "app",
app: "nextlead",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.nextlead.$auth.api_url}/identify-user`,
headers: {
Authorization: `Bearer ${this.nextlead.$auth.api_key}`,
},
})
},
})