with BenchmarkONE and Zendesk Sell?
Emit new event when a webhook automation step is triggered in BenchmarkONE.
Emit new event when a new contact is created in Zendesk Sell.
Emit new event when a new deal is created in Zendesk Sell.
Emit new event when a new lead is created in Zendesk Sell.
Adds a note to a BenchmarkONE contact. See the documentation
Adds tags to a contact. If the contact does not exist, it will be created first. See the documentation
Creates a new contact in BenchmarkONE. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benchmarkone: {
type: "app",
app: "benchmarkone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hatchbuck.com/api/v1/settings/source`,
params: {
api_key: `${this.benchmarkone.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zendesk_sell: {
type: "app",
app: "zendesk_sell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getbase.com/v2/users/self`,
headers: {
Authorization: `Bearer ${this.zendesk_sell.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})