Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Emit new event when a threat list is updated. See the documentation
Emit new event when any of the specified SendGrid events is received
Allows you to add one or more email addresses to the global suppressions group. See the docs here
Scan a given URL or URLs for potential security threats. See the documentation
Get the latest threat list update information from Google Safe Browsing API. 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 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}`,
},
})
},
})