with Salesloft and Pembee?
Emit new event when a cadence is updated in Salesloft. See the documentation
Emit new event when an email is updated in Salesloft. See the documentation
Emit new event when a person is created in Salesloft. See the documentation
Adds a person to a cadence in Salesloft. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesloft: {
type: "app",
app: "salesloft",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.salesloft.com/v2/me`,
headers: {
Authorization: `Bearer ${this.salesloft.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pembee: {
type: "app",
app: "pembee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webhooks.pembee.app/api/zapier/users`,
headers: {
Authorization: `Bearer ${this.pembee.$auth.api_key}`,
},
params: {
account_name: `${this.pembee.$auth.account_name}`,
},
})
},
})