with Lnk.Bio and Cyfe?
Creates a new link on your lnk.bio profile which will immediately publish and appear on top of your existing links. See the documentation
Lnk.Bio is a simple tool for creating micro landing pages that house all of your links in one place, often used for social media profiles like Instagram. With the Lnk.Bio API on Pipedream, you can automate the management of these links, pulling link data into other apps, or triggering actions based on link activity. Imagine updating links dynamically based on inventory levels from an e-commerce platform, or sending notifications when new links are added.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lnk_bio: {
type: "app",
app: "lnk_bio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://lnk.bio/oauth/v1/me`,
headers: {
Authorization: `Bearer ${this.lnk_bio.$auth.oauth_access_token}`,
},
})
},
})
The Cyfe API lets you automate and enhance your data visualization and business intelligence tasks. With Cyfe, you can programmatically create dashboards, add or update widgets, and manage data pushed to these widgets. By leveraging the Cyfe API on Pipedream, you gain serverless execution of workflows, allowing you to connect Cyfe with numerous other services and automate tasks without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cyfe: {
type: "app",
app: "cyfe",
}
},
async run({steps, $}) {
const data = {
"Date": `20130320`,
"Users": `3`,
}
return await axios($, {
method: "post",
url: `https://app.cyfe.com/api/push/{your_widget_id}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})