Offer multiple choices to your followers when they click on your Bio link, Link in Bio.
Go to siteLnk.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}`,
},
})
},
})
Automate Link Updates Based on Product Inventory
Use the Lnk.Bio API to check product inventory levels from a Shopify store and automatically update Lnk.Bio links to show "Out of Stock" or redirect to alternative products when inventory runs low.
Sync New Lnk.Bio Links to a Google Sheet
Every time a new link is added to your Lnk.Bio page, trigger a Pipedream workflow that adds the link details to a Google Sheet. This could be useful for tracking and analytics purposes, ensuring you keep a live database of all active links.
Send Notifications on Link Engagement
Monitor your Lnk.Bio link activity and use Pipedream to send a Slack message or an email via SendGrid when a link receives a certain number of clicks, allowing you to gauge the effectiveness of your social media campaigns in real-time.
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 uses OAuth authentication. When you connect your Lnk.Bio account, Pipedream will open a popup window where you can sign into Lnk.Bio and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Lnk.Bio API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://lnk.bio/manage/access
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://lnk.bio/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://lnk.bio/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}