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
Create or update a batch of contacts by its ID or email. See the documentation
Shortens a given long URL into an alias. If the alias name is not provided, the system generates one. If the domain input is not provided, it defaults to short.fyi. See the documentation
The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.
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}`,
},
})
},
})
Shorten.REST API on Pipedream allows you to automate URL shortening, expanding, and tracking within your custom workflows. With this API, you can create short, branded links programmatically, obtain detailed analytics on click-throughs, and manage your URLs efficiently, all within Pipedream's serverless platform. This enables seamless integration of URL management into your applications, marketing campaigns, or day-to-day tasks while leveraging various triggers and actions from other apps available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shorten_rest: {
type: "app",
app: "shorten_rest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shorten.rest/clicks`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.shorten_rest.$auth.api_key}`,
},
})
},
})