Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Allows you to add one or more email addresses to the global suppressions group. See the docs here
Queues a connection request to actively connect with a targeted LinkedIn profile. See the documentation
Queues a direct message that will be sent to the targeted profile. See the documentation
Allows you to create a new contact list. See the docs here
The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendgrid: {
type: "app",
app: "sendgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendgrid.com/v3/user/account`,
headers: {
Authorization: `Bearer ${this.sendgrid.$auth.api_key}`,
},
})
},
})
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;
},
})