with Snappy and Zendesk Sell?
Snappy API enables interaction with Snappy, a customer support tool designed to streamline communication and enhance support team efficiency. By leveraging the Snappy API on Pipedream, you can automate ticket management, organize customer inquiries, and orchestrate seamless communication between support staff and customers. With Pipedream's ability to connect to countless services, you can create workflows that react to events in real-time, sync data across platforms, and personalize customer interactions, all in a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
snappy: {
type: "app",
app: "snappy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.besnappy.com/api/v1/accounts`,
auth: {
username: `${this.snappy.$auth.api_key}`,
password: ``,
},
})
},
})
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`,
},
})
},
})