Automate LNK7 with Zapier, Make and n8n
Automation tools can create LNK7 links for you whenever something happens elsewhere: a new product, a new blog post, a new row in a sheet. They can also keep links up to date and report on their clicks. It is free, like everything else. The Integrations page (Settings, Integrations) shows every option that is available to you and its setup.
What You Need
An API token: open Settings, API tokens, and create one with the read and write abilities. Make it inside the workspace the links should go to: a token always works in the workspace it was made in. Give a tool its own token, so you can delete it on its own if you stop using the tool.
Zapier
When the LNK7 app for Zapier is available to you, the Integrations page shows an Add LNK7 to Zapier button. Choose it, then in a Zap add an LNK7 step and paste your API token when Zapier asks to connect. You can use:
- **New Link** (trigger): starts a Zap when a link is created in the workspace
- **Create Link**: shortens a URL, with an optional custom slug, title, expiry date or click limit
- **Update Link**: changes a link's destination, slug, title, expiry or click limit, or pauses it or turns it back on
- **Find Link**: finds a link by its slug or short URL, and can create it if there is none
- **Get Link Clicks**: a link's clicks over the last few days (up to 90), with its top country, referring site and device
Make
When the LNK7 app for Make is available to you, the Integrations page shows an Add LNK7 to Make button. Install it in your Make organisation, then add an LNK7 module and connect it with your API token. It has Watch new links, Create a link, Update a link, Search links and Get link clicks.
Make, n8n and Other Tools Without an App
Any tool that can send a web request can use LNK7's API directly: the HTTP, Make a request module in Make, the HTTP Request node in n8n, and similar steps elsewhere. To create a link, send a POST request to https://app.lnk7.io/api/v1/links with:
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
Accept: application/json
{"destination_url": "https://example.com/spring-sale", "custom_slug": "spring-sale"}
The reply's data.short_url is the new short link. The API Integration Guide lists every other request: updating and deleting links, searching them and reading their analytics.
Limits
Automation tools share your API limits: 60 requests a minute for each token's owner. A link's slug must be free, and a URL must pass the same safety check as links you make in the dashboard; if it does not, the tool shows LNK7's reason.