n8n Posty5 Trigger
The Posty5 Trigger node is built on Posty5 webhooks. It registers its own endpoint when the workflow is activated and checks every signature, so you never copy an address or a secret.
Before you start
Section titled “Before you start”- Install the Posty5 community node in n8n.
- Add your Posty5 API key as a Posty5 API credential.
- n8n must be reachable over public HTTPS. n8n Cloud is, and a self-hosted n8n needs WEBHOOK_URL set to a public HTTPS address, for example through a tunnel.
Recipe, a Slack message when a link is clicked
Section titled “Recipe, a Slack message when a link is clicked”-
Create a workflow and add the Posty5 Trigger node.
-
Choose your Posty5 credential and the Short Link Visited event.
-
Under Links, keep all your links or pick specific short links by ID.
-
Add a Slack node after it, set to send a message to a channel.
-
Write the message with expressions from the event, as in the example below.
-
Activate the workflow.
A message text for the Slack node
Someone opened {{ $json.data.target.name }} from {{ $json.data.visit.country }} on a {{ $json.data.visit.deviceType }}.Options
Section titled “Options”| Option | |
|---|---|
| Events | The events that start the workflow. |
| Links | All your links and QR codes, specific short links, or specific QR codes. |
| Delivery | Each event at once, or one batch per minute, five minutes or hour. |
| Include Bot Visits | Whether visits recognised as bots also start the workflow. Off by default. |
| Milestones | The visit or scan counts that fire the milestone events, up to 10 numbers separated by commas. |
| Split Batches Into Items | With batches, one item per event (on, the default) or one item holding the whole batch (off). |
Testing, activating and deactivating
Section titled “Testing, activating and deactivating”- While you test the workflow, n8n listens on its test address. Use Send test on the endpoint in the Posty5 dashboard to fire a webhook.test event.
- Activating the workflow creates a webhook endpoint in your Posty5 account. It appears in Account settings, Webhooks, like any other.
- Deactivating the workflow deletes that endpoint, so Posty5 stops sending events to it.