Custom URL Shortener
The Rebrandly API enables the creation, updating, and management of branded short links. Within Pipedream, you can leverage this API to automate custom URL shortening workflows, analyze link performance, and seamlessly integrate URL management into your business processes or applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rebrandly: {
type: "app",
app: "rebrandly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rebrandly.com/v1/account`,
headers: {
Authorization: `Bearer ${this.rebrandly.$auth.oauth_access_token}`,
},
})
},
})
The Vitally API offers a window into customer success operations, enabling you to automate workflows, integrate with other tools, and manipulate customer data programmatically. With Pipedream, you can harness this API to create custom automations that react to events in Vitally, sync data between Vitally and other platforms, or maintain up-to-date customer profiles across your business stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vitally: {
type: "app",
app: "vitally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.vitally.$auth.subdomain}.rest.vitally.io/resources/users`,
auth: {
username: `${this.vitally.$auth.api_key}`,
password: ``,
},
})
},
})