Wiza is a tool that helps you find and export accurate contact data for prospects from LinkedIn.
The Wiza API offers robust tools for scraping LinkedIn profiles and turning them into structured data such as emails, names, and company details. This data can be pivotal for sales and marketing professionals to build lead lists, validate contact information, and enrich existing databases directly through API integration. Leveraging this API on Pipedream allows users to automate the entire process of lead generation and management by connecting Wiza to a myriad of other services like CRMs, email marketing platforms, and data analysis tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wiza: {
type: "app",
app: "wiza",
}
},
async run({steps, $}) {
const data = {
"list": {
"name": "VP of Sales in San Francisco",
"enrichment_level": "partial",
"email_options": {
"accept_work": true,
"accept_personal": true,
"accept_generic": true
},
"items": [
{
"full_name": "Stephen Hakami",
"company": "Wiza",
"domain": "wiza.co",
"profile_url": "https://www.linkedin.com/in/stephen-hakami-5babb21b0/"
}
]
}
}
return await axios($, {
method: "post",
url: `https://wiza.co/api/lists`,
headers: {
Authorization: `Bearer ${this.wiza.$auth.api_key}`,
},
data,
})
},
})
Amazon Simple Email Service (SES) is a powerful cloud-based email sending service designed to help digital marketers and application developers send marketing, notification, and transactional emails. With the SES API, you can reliably send emails at scale, manage sender reputations, view email sending statistics, and maintain a high deliverability rate. Leveraging Pipedream's capabilities, you can integrate SES seamlessly into serverless workflows, automate email responses based on triggers from other apps, and analyze the effectiveness of your email campaigns by connecting to data analytics platforms.
module.exports = defineComponent({
props: {
amazon_ses: {
type: "app",
app: "amazon_ses",
}
},
async run({steps, $}) {
const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
const ses = new AWS.SES({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
const sesParams = {
Destination: {
ToAddresses: ["<your email here>"],
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
Data: "<h1>This is a test</h1>",
},
Text: {
Charset: "UTF-8",
Data: "This is a test",
}
},
Subject: {
Charset: "UTF-8",
Data: "Test email",
}
},
Source: "<your from address here",
};
this.resp = await ses.sendEmail(sesParams).promise()
},
})