Our modern sales CRM frees you to maximize productivity, maintain pipeline visibility, and grow revenue.
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.
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})