Get marketing clarity with CallTracking and LeadTracking.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The WhatConverts API allows you to track, manage, and report on leads and conversions from various marketing channels. With this API, you can automate the ingestion of lead data into your CRM, generate custom reports, and receive real-time alerts for new leads. When you implement this API within Pipedream, you can create powerful, serverless workflows that respond to events in WhatConverts, or trigger actions based on data from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatconverts: {
type: "app",
app: "whatconverts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.whatconverts.com/api/v1/leads`,
auth: {
username: `${this.whatconverts.$auth.api_token}`,
password: `${this.whatconverts.$auth.api_secret}`,
},
})
},
})
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)
}