Can an Android phone run automations from an HTTP request or a webhook?

Yes. In Flowroid, the Webhook Received trigger gives a flow its own URL on the phone, and the opt-in HTTP API server lets another system list, run and edit flows. Both require a token or key by default, and both listen only on the phone until you turn on LAN access.1,2 The other direction is an ordinary action: HTTP Request sends a request from any flow — to your own server, a home-automation hub or a chat webhook.3 Tasker, MacroDroid and Automate can receive HTTP requests too: Tasker through its HTTP Request event, MacroDroid through a local HTTP server trigger and a cloud webhook, and Automate through its HTTP accept block.4,5,6,7,8

Sources
13
Checked

Side by side

The rows this question turns on. Numbers are sources, listed at the end.

Receiving HTTP requests, root and accessibility in Tasker, MacroDroid, Automate and Flowroid
TaskerMacroDroidAutomateFlowroid
Receiving HTTP requestsAn HTTP Request event starts a server on a port you choose.4An HTTP Server Request trigger on the local network, and a cloud webhook trigger delivered through Google’s push messaging.5,6A built-in web server through the HTTP accept block, which its documentation describes for simple message exchanges.7,8An opt-in HTTP API server that requires authentication and listens only on the phone until LAN access is turned on.2
RootNot for most features; a few actions, such as Kill App and Mobile Data on some devices, need root.9Some system-setting actions, such as airplane mode, mobile data and battery saver, need a permission granted through ADB, Shizuku or root.10Not for most blocks; a shell-command block runs commands as superuser on rooted devices.11Never. No feature uses root, ADB or a computer.12
Accessibility serviceUsed for some features, such as closing the notification tray and detecting which app is open.9Optional, in two services: one for app-launch and gesture triggers, one for UI interaction and reading the screen.10,13Used for UI interaction, key presses, screenshots, toast messages, the foreground app and fingerprint gestures.7None, in any release.12

Recipes that use it

Sources

Every source was read on . Every claim about another app on this page carries the number of the source that says it. Prices are Google Play’s US prices on that day; apps change, so check the source before you rely on a detail. Something here out of date? Tell us and we will correct it.

  1. Flowroid help — Inbound webhooksflowroid.com
  2. Flowroid help — The embedded HTTP API serverflowroid.com
  3. Flowroid help — Action catalogflowroid.com
  4. Tasker user guide — HTTP Request eventtasker.joaoapps.com
  5. MacroDroid wiki — HTTP Server Request triggerwiki.macrodroid.com
  6. MacroDroid wiki — Webhookswiki.macrodroid.com
  7. Automate on Google Playplay.google.com
  8. Automate documentation — HTTP acceptllamalab.com
  9. Tasker on Google Playplay.google.com
  10. MacroDroid wiki — Permissions and Special Accesswiki.macrodroid.com
  11. Automate documentation — Shell command superuserllamalab.com
  12. Flowroid help — Troubleshooting & FAQflowroid.com
  13. MacroDroid on Google Playplay.google.com

The full comparison

Every row, both “fits better” lists and a decision key — or all four apps on one page.

Put your phone on your own network’s API

Install Flowroid, switch on the HTTP API server or a webhook trigger, and call a flow from curl. The trial is the whole app, the server included.

Get on Google PlaySee what people automate
Scan to installPoint your phone’s camera here to open the Play listing.

14 days free, everything included. Then $4.99 once.