with SalesBlink and ServiceTitan?
SalesBlink is a comprehensive sales outreach automation suite that enables users to find prospects, outreach, and close deals. Leveraging the SalesBlink API on Pipedream allows for creating custom automated workflows to streamline the lead generation, outreach, and follow-up processes. Developers can use this integration to sync leads between platforms, automate outreach campaigns, follow up systematically, and track the entire sales pipeline effectively.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesblink: {
type: "app",
app: "salesblink",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://run.salesblink.io/api/my-team`,
headers: {
"Authorization": `${this.salesblink.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicetitan: {
type: "app",
app: "servicetitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api${this.servicetitan.$auth.environment}servicetitan.io/settings/v2/tenant/${this.servicetitan.$auth.tenant_id}/employees`,
headers: {
Authorization: `Bearer ${this.servicetitan.$auth.oauth_access_token}`,
"st-app-key": `${this.servicetitan.$auth.client_id}`,
},
})
},
})