Customer Success Software
The Totango API taps into the realm of customer success, offering intricate data on customer interactions and health scores. This API is a gateway for syncing customer data, tracking events, and constructing a responsive and personalized customer journey. Utilize Pipedream's capabilities to connect Totango to a myriad of other apps, creating automated workflows that enhance customer insights, trigger actions based on customer status, and streamline communication across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
totango: {
type: "app",
app: "totango",
}
},
async run({steps, $}) {
const data = {
"query": `{"terms":[],"count":1000,"offset":0,"fields":[],"scope":"all"}`,
}
return await axios($, {
method: "post",
url: `https://api.totango.com/api/v1/search/users`,
headers: {
"app-token": `${this.totango.$auth.api_key}`,
},
data,
})
},
})
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})