Builders · 6 min read

How to make any app, script or feed ring your phone

To make any app, script or feed ring your phone, give it the private link of a webhook alarm in LFG. Anything that can send an HTTP POST request to that link rings you like an alarm, and rings the friends you shared it with too. LFG is your daily social alarm & curiosity agent for iPhone and Android, and lfg.gm in a desktop browser.

Also called: webhook alarm · webhook to phone alarm · Zapier alarm · IFTTT alarm · server down alarm

Download on the App StoreGet it on Google Play

A webhook alarm is how a site monitor, a cron job, a trading bot, Zapier, Make, IFTTT or a phone shortcut gets a human out of bed.

The problem: your code can notice, but it cannot wake you

Builders already have scripts that know when something is wrong. A health check sees the API return 500s. A bot sees its order filled. A nightly job sees the backup failed. What they usually do with that knowledge is send an email, a Slack message or a push notification, and all of those wait politely until morning.

Full on-call tools solve this for companies with rotations and escalation policies. A solo founder, a two-person team or someone running a side project usually needs something smaller: one link that makes one or two phones ring when the script says so.

Three builders, three alarms

The site that goes down at 3am. Maya runs a small shop on her own. She already uses a site monitor that can call a webhook when the site stops answering. She makes a webhook alarm called "Shop down" with a 30 minute cooldown, shares it with her co-founder, and pastes the link into the monitor's alert settings. The first outage at 03:10 rings both phones. She fixes the expired certificate; he goes back to sleep once she posts in their chat.

The bot that needs a human. Ben runs his own trading script. It places orders on its own, but when a large order fills he wants to look at the position himself before the next session. He adds one line to the script's fill handler that POSTs to his alarm's link. LFG Alarm does not trade and sees nothing the script sends. It rings, and Ben opens his own dashboard to check.

The deploy that should not fail quietly. A three-person team adds a final step to their CI pipeline: if the production deploy fails, call the alarm link. The alarm is shared with all three. A 10 minute cooldown means a pipeline that retries five times rings once.

The integration is one request

curl -X POST https://api.lfg.gm/horn/your-token

Replace the placeholder with your own link from the app. In a script, the same idea is a single POST when your condition is true, for example the last line of a health check that has just failed. There is no key, header or body to add.

If you would rather not write the request yourself:

  • In code: the SDK's ring(url) does it in one line, in JavaScript (npm install lfg-alarm) or Python (pip install lfg-alarm). See the developers page.
  • GitHub Actions: the Ring my phone with LFG Alarm action (lfg-gm/ring-action@v1) rings it when a workflow fails.
  • Node-RED: add the LFG Alarm node from Manage palette.
  • Uptime Kuma: add a notification of type Webhook with the link as the Post URL. It also rings when the site comes back up.
  • Send an HTTP POST request and it rings. Opening the link in a browser does nothing.
  • Nothing you send is shown. Whatever is in the request appears nowhere. The phone only rings, so name the alarm for what it means ("Shop down", "Big fill").
  • A cooldown stops loops. Pick 1, 5, 10, 30 or 60 minutes (10 is the default). Calls during the cooldown after a ring are ignored, so a bot stuck in a loop cannot ring you all night.
  • Guard it like a password. If the link leaks, tap New URL and the old one stops working.
  • Never public. A webhook alarm is private, or shared with friends you choose. Only you know what sets it off.
  • Clear answers. A deleted alarm's link answers "not found"; a switched-off alarm answers that it is switched off.

How it rings

On Android a webhook alarm rings full screen, even on Do Not Disturb. On iPhone it arrives as a time-sensitive alert with the alarm's own sound; it can come through Focus but respects the silent switch, so keep the ringer on if you depend on it overnight. With an lfg.gm tab open on an awake laptop, it rings there too, for up to ten minutes. See alarms on your laptop.

Make it in the app

  1. Tap Explore something, then 🌐 Webhook.
  2. Tap Cooldown and pick how long it waits between fires: 1, 5, 10 or 30 minutes, or 1 hour.
  3. Choose who it is for, private or friends, and tap Arm it.
  4. On the link card, tap the copy icon, then Test fire to ring only your own phone and check it works.
  5. Paste the link into your monitor, script, Zap or shortcut.

Your AI agent can make one too: ask for a webhook alarm, private or for friends, and it hands you the link to paste into your monitor, script or Zap.

Set one up with no code

Under the link, What's a webhook? explains it for people who have never used one, with three everyday ideas:

  • Ring when an app you use says so, through Zapier, Make or IFTTT.
  • A one-tap button on your phone for the crew: "we're outside", "the game's on".
  • Ring when your site goes down or a big sale lands.

It also has a prompt to copy into ChatGPT, Claude or any AI. The prompt explains how the link works, with a placeholder in place of your real link. Then it asks the AI to suggest ideas and walk you through a free, no-code tool step by step.

You paste your real link into the tool yourself, so it never goes into a chat.

Common mistakes

  • Testing by opening the link in a browser. That sends a GET request and does nothing. Use Test fire, or a POST.
  • A cooldown that is too short for a flapping service. If your site goes up and down every minute, a 1 minute cooldown rings every minute. Use 30 minutes.
  • Pasting the link into a public repository. Keep it in a secret or environment setting, and tap New URL if it ever leaks.

Sources and further reading

questions people ask
What happens if I delete the alarm?

The link stops working: a call to a deleted alarm's link gets a "not found" answer. A switched-off alarm answers that it is switched off.

Can a stranger ring my phone with it?

No, only someone who has the link can. Keep it private, and change it with New URL if it leaks.

Is this an on-call tool?

No. It has no schedules or escalation. It rings the phones on the alarm. See alert apps compared.

Can my AI agent make one?

Yes. Through the LFG Alarm connector, ask for a webhook alarm, private or for friends, and it hands back the link to paste into whatever should ring it.

keep exploring

One use case opens another.

Never miss the moment.

Free on Android and iPhone.

Download on the App StoreGet it on Google Play