HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Adds a contact to a specific static list. See the documentation
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Create or update a batch of contacts by its ID. See the documentation
The Pipedream HubSpot app enables you to build event-driven workflows that interact with the HubSpot API. We have a variety of pre-built triggers and actions that don't require any code to configure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubspot: {
type: "app",
app: "hubspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubapi.com/integrations/v1/me`,
headers: {
Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
},
})
},
})
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)
}