HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Triggered when a new contact is created. See the documentation
Triggered when a new message is received. See the documentation
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
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}`,
},
})
},
})
SuperPhone is a communication platform that allows users to manage text and call campaigns through a personal phone number. Leveraging the SuperPhone API on Pipedream, you can automate interactions with contacts, send personalized messages, and get analytics on message deliverability and engagement. With Pipedream's serverless platform, you can trigger workflows on various events, like receiving a new message or a specific keyword, and connect to countless other apps to extend functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
superphone: {
type: "app",
app: "superphone",
}
},
async run({steps, $}) {
const data = {
"query": `{{your_query}}`, // such as "query testAuth {defaultForm {id}}"
}
return await axios($, {
method: "post",
url: `https://api.${this.superphone.$auth.environment}/graphql`,
headers: {
Authorization: `Bearer ${this.superphone.$auth.api_key}`,
"Accept": `application/json`,
},
data,
})
},
})