with Short.io and Benchmark Email?
Returns detailed statistics for a domain in given period. See the documentation
Update original URL, title or path for existing URL by id. See the documentation
Short.io provides a robust API for URL shortening, allowing you to create, delete, and track shortened links programmatically. By integrating with Pipedream, you can automate link creation or aggregation of click data in real-time, triggering workflows in response to events like link clicks or creating short links in bulk from a data source.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
short: {
type: "app",
app: "short",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.short.io/api/domains`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.short.$auth.secret_key}`,
},
})
},
})
Benchmark Email API lets you automate your email marketing efforts. You can manage subscribers, send emails, and track campaign results. With Pipedream's serverless platform, tapping into this API means you can create custom, automated workflows that respond to events in real time across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benchmark_email: {
type: "app",
app: "benchmark_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientapi.benchmarkemail.com/Client/ProfileDetails`,
headers: {
"AuthToken": `${this.benchmark_email.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})