with Cloudpresenter and Salesloft?
Emit new event when a user adds a new contact in Cloudpresenter.
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
Creates a new contact within the Cloudpresenter application. See the documentation
Adds a person to a cadence in Salesloft. See the documentation
Updates an existing contact within the Cloudpresenter application. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudpresenter: {
type: "app",
app: "cloudpresenter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api2.cloudpresenter.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.cloudpresenter.$auth.oauth_access_token}`,
"origin": `${this.cloudpresenter.$auth.api_base_url}`,
"workspace": `${this.cloudpresenter.$auth.workspace_id}`,
},
})
},
})
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`,
},
})
},
})