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
Creates a new document within a chosen parent document or private channel. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
Fetches a certain number of sub-documents related to a parent document in Slite. 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}`,
},
})
},
})
Slite's API enables you to automate interactions with the Slite note-taking and collaboration platform within Pipedream. By tapping into the Slite API, you can create, update, and search notes and channels, or automate content synchronization and alerts. Integrating Slite with Pipedream can streamline team communication, content management, and ensure key information is shared and acted upon promptly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slite: {
type: "app",
app: "slite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.slite.com/v1/ask`,
headers: {
"accept": `application/json`,
"x-slite-api-key": `${this.slite.$auth.api_key}`,
},
params: {
question: `What are the names of my existing docs?`,
},
})
},
})