with Miyn and Relink - URL Shortener?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
miyn: {
type: "app",
app: "miyn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://calendar.miyn.app/zapier.php`,
params: {
api_key: `${this.miyn.$auth.api_key}`,
},
})
},
})
Relink - URL Shortener API offers a straightforward way to shorten URLs, track clicks, and analyze the performance of your links. It's handy for crafting more manageable links for social media, improving email marketing click-through rates, or keeping tabs on how your audience engages with your content. Using Pipedream, you can seamlessly integrate Relink with other services, creating automated workflows that save time and provide valuable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
relink_url_shortener: {
type: "app",
app: "relink_url_shortener",
}
},
async run({steps, $}) {
const data = {
"url": `https://yoururl.com`,
}
return await axios($, {
method: "post",
url: `https://rel.ink/api/links/`,
data,
})
},
})