# Smiirl: Counter integration

URL: https://help.hubhus.com/kb/how-to-integrate-smiirl-counter-with-hubhus
Category: Integrations / Counters
Updated: 2026-09-28T14:41:01.929+00:00

Summary: Get Counter ID + Token from Smiirl (Settings → PUSH NUMBER). Build counter logic in Hubhus as an HTML component. Create HTTP webhook: GET http://api.smiirl.com/{ID}/{ACTION}/{TOKEN}/{COMPONENT_SLUG} . Trigger via action listener (event-based) or automation (scheduled). Use set for totals, increment for individual events.

Connect a Smiirl physical counter to Hubhus and display real-time sales numbers, lead counts, or bookings on a mechanical display that updates automatically.

## Get started in 4 steps

1. **Get Smiirl credentials**. Log in at [my.smiirl.com](https://my.smiirl.com/en/) → Settings → Options → **PUSH NUMBER**. Note your **Counter ID** and **Token** - needed for the webhook URL.
2. **Build counter logic as HTML component**. In Hubhus: **Campaign settings → HTML components → + New**. Name it descriptively (e.g. "Smiirl - Sales this month"). The component should output a single number (count campaigns by status, sum a field, count bookings, etc.). Save and note the slug.
3. **Create HTTP webhook**. **Campaign settings → HTTP & webhooks → + Create**. Method: GET. URL pattern: http://api.smiirl.com/{COUNTER_ID}/{ACTION}/{TOKEN}/{COMPONENT_SLUG}
  Replace with your Counter ID, action ( `set`/ `increment`/ `decrement`), Token, and HTML component slug. Example: `http://api.smiirl.com/12345/set/abc123xyz/sales-counter`
4. **Trigger the webhook**. **For totals (set):** Use a scheduled automation (e.g. hourly). **For individual events (increment):** Use an action listener on "booking confirmed" or "status changed". If using increment, remember to reset the Smiirl counter manually at period start via the Smiirl dashboard.

**Read more**

Smiirl API actions

| Action | Description | Best use |
| --- | --- | --- |
| `set` | Sets the counter to an absolute number | Totals updated on schedule (e.g. hourly) |
| `increment` | Adds the value to the current count | Individual events (new booking, new lead) |
| `decrement` | Subtracts the value from the current count | Cancellations or reversals |

If using `increment`, remember to reset the Smiirl counter manually at the start of each period (day/week/month) via the Smiirl dashboard - Hubhus cannot reset it automatically.

Common use cases

**Display total sales this month:** Create an HTML component that counts campaigns with status "Won" created this month. Use `set` action triggered by a scheduled automation running every hour.

**Count new leads today:** HTML component counts campaigns created today. Use `set` action triggered every 30 minutes by automation.

**Increment on every new booking:** HTML component outputs `1`. Use `increment` action triggered by an action listener on "Booking confirmed" event.

Troubleshooting

**Counter not updating:** Test the webhook URL directly in a browser (GET request). Verify the Counter ID and Token are correct. Check that the HTML component slug is correct and that the component outputs only a plain number (no HTML wrapper or extra text).

**Counter shows wrong number:** If using `increment` and the count is too high, the counter was never reset. Use `set` instead to push the correct absolute value, or reset via the Smiirl dashboard.

**Webhook fires but Smiirl shows nothing:** The Smiirl counter must be online and connected to Wi-Fi. Verify in your Smiirl dashboard that the counter is active. Also check that your Hubhus account's outbound HTTP requests are not blocked (Campaign settings → HTTP & webhooks → test manually).

## Related articles

- https://help.hubhus.com/kb/hubhus-integrations-overview
- https://help.hubhus.com/kb/what-is-the-hubhus-api
- https://help.hubhus.com/kb/hh-components-reference-guide
