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
Queues a connection request to actively connect with a targeted LinkedIn profile. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
Queues a direct message that will be sent to the targeted profile. See the documentation
Queues a profile save action to store the targeted profile as a lead. 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 Dux Soup API enables users to automate interactions and manage leads on LinkedIn. Within Pipedream, you can harness this API to craft workflows that engage with your LinkedIn network, manage connections, and streamline your lead generation process. Automating tasks like sending connection requests, following up with contacts, and tracking profile visits can save valuable time and boost your LinkedIn marketing efforts.
// To use any npm package on Pipedream, just import it
import axios from "axios";
import jsSHA from "jssha";
export default defineComponent({
props: {
dux_soup: {
type: "app",
app: "dux_soup",
}
},
async run({ steps, $ }) {
const targeturl = `${this.dux_soup.$auth.target_url}/queue`;
const userid = `${this.dux_soup.$auth.user_id}`;
const auth_key = `${this.dux_soup.$auth.auth_key}`;
var shaObj = new jsSHA("SHA-1", "TEXT");
const timestamp = +new Date();
let commandrequestjsonbody = {
command: "visit",
targeturl,
userid: userid,
timestamp: timestamp,
params: {
profile: "",
}
}
commandrequestjsonbody = JSON.stringify(commandrequestjsonbody);
shaObj.setHMACKey(auth_key, "TEXT");
shaObj.update(commandrequestjsonbody);
var hmac = shaObj.getHMAC("B64");
const config = {
url: targeturl,
method: "POST",
headers: {
"X-Dux-Signature": hmac,
"Content-Type": "application/json"
},
data: commandrequestjsonbody
};
return (await axios(config)).data;
},
})