Zapier Integration
Connect TrimLink to thousands of apps and automate your link workflows with Zapier. The integration needs the Growth plan or higher.
Getting Started
- 1
Create an API key
Go to Dashboard, Settings, API & Integrations and create a key with the
links:read,links:writeandwebhooks:writescopes. Zapier needswebhooks:writeto connect and to turn on triggers,links:readfor sample data andlinks:writefor the Create Link action. - 2
Connect TrimLink in Zapier
In Zapier, search for "TrimLink" and paste your API key when asked. Zapier sends the key with every request for you.
- 3
Build your Zap
Choose a trigger (for example Link Clicked) or the Create Link action and set up your workflow.
Available Triggers
New Link Created
Fires when a link is created in your TrimLink account.
link.createdLink Clicked
Fires for each tracked click or QR scan on one of your links.
link.clickedLink Updated
Fires when the title, description or expiry of a link changes.
link.updatedLink Deleted
Fires when a link is deleted.
link.deletedAvailable Action
Create Link
Create a short link in your personal workspace.
| Field | Required | Description |
|---|---|---|
url | Yes | Destination URL to shorten. Must be https. |
customCode | No | Custom short code |
title | No | Link title |
description | No | Link description |
Output: id shortCode shortUrl originalUrl createdAt
Example Workflows
Log clicks to Google Sheets
Link Clicked, then add a row in Google Sheets
Keep a spreadsheet of clicks for reporting.
Notify Slack on new links
New Link Created, then send a Slack message
Tell your team channel whenever a link is created.
Auto-shorten links from forms
Typeform submission, then Create Link in TrimLink
Create short links from URLs submitted through a form.
Post QR scans to Slack
Link Clicked with a filter on clickSource = qr, then send a Slack message
Hear about scans of a printed code as they happen.
Trigger Payload Format
Triggers receive the same payload as webhooks:
{
"id": "link.clicked_9c8b7a6d-5e4f-4a3b-8291-0d1e2f3a4b5c",
"event": "link.clicked",
"timestamp": "2026-01-31T12:00:00.000Z",
"data": {
"linkId": "9c8b7a6d-5e4f-4a3b-8291-0d1e2f3a4b5c",
"shortCode": "my-link",
"deviceType": "mobile",
"countryCode": "US",
"referrer": "https://twitter.com/",
"clickSource": "direct",
"clickedAt": "2026-01-31T12:00:00.000Z"
}
}Troubleshooting
- Connection fails: Check that the key is valid, not revoked, and has the webhooks:write scope. "Zapier integration requires the Growth plan or higher." means the account is below Growth.
- Cannot turn on a trigger: Each Zap with a TrimLink trigger uses one webhook endpoint, shared with your own webhooks: Growth 3, Teams 10, Enterprise unlimited. Turn off an unused Zap or delete a webhook to free a slot.
- Triggers not firing: Check the Zapier webhook in API settings. Deliveries are not retried, so a Zap that was off or slow misses that event.
- Action errors: The url field is required and must be a public https URL. A taken customCode returns an error that names the code.
- Rate limits: Zapier requests count toward your daily API budget. When it runs out, Zapier gets "Daily API request limit exceeded". See Rate Limits.