with Zendesk Sell and Whautomate?
Emit new event when an appointment is cancelled in Whautomate.
Emit new event when a new contact is created in Zendesk Sell.
Emit new event when a new appointment is scheduled in Whautomate.
Emit new event when a new deal is created in Zendesk Sell.
Emit new event when a new client is created in Whautomate.
Assign one or more tags to an existing contact. See the documentation
Create a new contact associated with a WhatsApp number. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whautomate: {
type: "app",
app: "whautomate",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.whautomate.$auth.api_host}/v1/contacts`,
headers: {
"x-api-key": `${this.whautomate.$auth.api_key}`,
},
})
},
})