- Integrations
- /
- Switchy
- /
- Actions
- /
- Get Link Stats
SActionSwitchyUpdated May 2026
How do I get click analytics for a Switchy link?
Short answer: Drop the "Switchy → Get Link Stats" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Link ID link_id | string | Required | The Link ID assigned by Switchy. Find via the corresponding list/search operation in this app. Use the exact ID, not a name or label. |
Sample request
{"link_id": "{{trigger.link_id}}"}
Returns
{"by_country": {"IN": 32,"UK": 15,"US": 87},"total_clicks": 142,"unique_clicks": 98}
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for Get Link Stats.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about Get Link Stats.
What does the Get Link Stats action do in Switchy?
Returns click analytics for a single Switchy short link: totals, breakdown by country, and breakdown by device. Good for daily reports or for piping engagement data into your BI tool.
What inputs does Get Link Stats require?
Required: Link ID. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Switchy returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Get Link Stats support batch operations?
Yes. Run Get Link Stats inside a Loop node to process arrays. Tiny Command handles Switchy's rate limits automatically so you don't have to throttle manually.
More actions
Other Switchy actions.
Action
Create Short Link
Turns a long URL into a branded Switchy short link with optional retargeting pixels (Meta, TikTok, LinkedIn, etc.) attached. Use it to build trackable, retargetable links inside outbound flows.
ActionList Links
Lists every short link in the connected Switchy account with its slug, destination URL, and metadata. Useful for inventorying links or feeding a picker.
Send get link stats from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.