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. 1

    Create an API key

    Go to Dashboard, Settings, API & Integrations and create a key with the links:read, links:write and webhooks:write scopes. Zapier needs webhooks:write to connect and to turn on triggers, links:read for sample data and links:write for the Create Link action.

  2. 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. 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.created
linkIdshortCodeshortUrloriginalUrlcreatedAt

Link Clicked

Fires for each tracked click or QR scan on one of your links.

link.clicked
linkIdshortCodedeviceTypecountryCodereferrerclickSourceclickedAt

Link Updated

Fires when the title, description or expiry of a link changes.

link.updated
linkIdshortCodechangesupdatedAt

Link Deleted

Fires when a link is deleted.

link.deleted
linkIdshortCodedeletedAt

Available Action

Create Link

Create a short link in your personal workspace.

FieldRequiredDescription
urlYesDestination URL to shorten. Must be https.
customCodeNoCustom short code
titleNoLink title
descriptionNoLink 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:

link.clicked payload
{
  "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.