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
Scan a given URL or URLs for potential security threats. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
Get the latest threat list update information from Google Safe Browsing API. 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}`,
},
})
},
})
The Google Safe Browsing API lets you check URLs against Google's constantly updated lists of unsafe web resources. These include social engineering sites (like phishing and deceptive sites) and sites that host malware or unwanted software. Within Pipedream, you can leverage this API to automate the process of scanning URLs in various contexts, such as user-generated content, emails, or within applications that require high-security measures.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_safebrowsing: {
type: "app",
app: "google_safebrowsing",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://safebrowsing.googleapis.com/v4/threatLists`,
params: {
key: `${this.google_safebrowsing.$auth.api_key}`,
},
})
},
})