Control D is a modern and customizable DNS service that blocks threats, unwanted content and ads - on all devices.
The Control D API allows you to manage and monitor internet access across different devices and networks. With it, you can automate the control of browsing data, enforce internet access policies, and generate detailed reports on internet usage. When integrated with Pipedream, these capabilities can be extended to automate workflows involving data from other apps, trigger actions based on internet usage patterns, and much more, leveraging Pipedream's capability to connect with hundreds of other apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
control_d: {
type: "app",
app: "control_d",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.controld.com/users`,
headers: {
Authorization: `Bearer ${this.control_d.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})