Skip to content
Integration

UniFi integrations and automation

Say what should happen in UniFi, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.

Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.

No credit card needed.

UniFi on Whenever

About UniFi

Monitor UniFi Site Manager inventory, internet health metrics, and SD-WAN configurations across the connected UI account's sites. This toolkit excludes arbitrary Cloud Connector requests and all local Network, Protect, Mobility, Carrier Fabric, and InnerSpace API surfaces.

How Whenever connects

Through its API, with the provider’s credentials and permissions.

Build it from your AI client

Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the UniFi workflow. It then runs on Whenever, with the chat closed.

Set up the Whenever MCP server

Plan your UniFi workflow

For anyone running UniFi gear at several locations, the recurring question is "is everything still up?" The UniFi Site Manager API answers it from the cloud side: it lists the hosts (consoles such as a Dream Machine or Cloud Key) and sites linked to your UI account, the devices under them, ISP metrics such as latency, packet loss and uptime, and the status of SD-WAN configurations. That makes it a good fit for a morning health report or an alert when a site's internet degrades.

Scope matters here. This integration uses Site Manager, which is read-oriented monitoring across the account. The separate UniFi Network and Protect application APIs run locally on each console and offer deeper control, but they are reached on the site's own network or through a remote connection, and this connection does not cover arbitrary console requests or local-only endpoints. If a task needs to change firewall rules or adopt devices, it is outside what this connection is meant for.

Authentication is an API key created in the UniFi Site Manager interface and sent in the X-API-KEY header. The key sees what the account sees, so an MSP account with many client sites returns all of them; filter by site or host id in the brief if a report should cover only some. Ubiquiti documents rate limits for the API and returns standard throttling responses when exceeded, so a report across many sites should page through results rather than request each device separately in a tight loop.

ISP metrics come in fixed intervals, such as five-minute or hourly samples over a time window. Decide the window and the threshold before writing the alert: average latency over the last hour above a value, or any period of packet loss, are clearer rules than "the internet looks bad". Keep each day's summary in a sheet if you want trend lines.

UniFi workflow examples

Starter briefs to set up with your accounts, not finished workflows.

Morning multi-site health report

One message summarising every site on the account.

Build this workflow

Alert on degraded internet at a site

A threshold rule over recent five-minute ISP samples.

Build this workflow

Weekly device inventory export

Keep an up-to-date asset list without logging into each console.

Build this workflow

Related apps for your workflows

All integrations

UniFi FAQs

Can this change settings on my UniFi network?

This connection uses the Site Manager API for monitoring hosts, sites, devices, ISP metrics and SD-WAN status. Configuration changes through local console APIs are not covered.

Where do I get a UniFi API key?

Create it in the API section of UniFi Site Manager. Requests send it in the X-API-KEY header and see the sites your UI account can access.

Does it work for consoles that are not linked to the cloud?

No. Site Manager only knows about hosts linked to your UI account. Consoles reachable solely on a private network are not reachable from the hosted runtime.

How fine-grained are UniFi ISP metrics?

The API returns samples at fixed intervals such as five minutes or one hour over a chosen time range. Pick the interval that matches your alert window.

Can I report on only some client sites?

Yes. Filter by host or site ids in the brief so a report or alert covers only the sites you list.

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.