Customer Success Software
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
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,
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}