n8n Integration

Trigger n8n workflows on every link click.

Connect ShortN to n8n using a Webhook node trigger.

  1. In n8n, create a new workflow with a Webhook trigger node.
  2. Set HTTP method to POST and copy the production webhook URL.
  3. In ShortN Dashboard → Integrations, select n8n and paste the URL.
  4. Assign the automation to your short links.
  5. Click Send Test to verify the workflow receives events.

Example visit payload

{
  "shortId": "abc1234",
  "originalUrl": "https://example.com/page",
  "destinationUrl": "https://shortn.info/abc1234",
  "ipAddress": "203.0.113.42",
  "userAgent": "Mozilla/5.0",
  "referrer": "https://google.com",
  "country": "Germany",
  "city": "Berlin",
  "visitedAt": "2026-07-07T12:00:00.000Z",
  "isTest": false
}