Starting a flow from an external app's notification

Yes you can using Macrodroid sending a webhook.
Example:

Translated:

Required phone apps:

  • MacroDroid
  • KNVB Orange (read: your app which sends the notifications)

Create a new macro with Macrodroid.
Triggers:

Add a trigger, go to “Device event” > “Notification”, choose “Receive notification”, select “choose app(s)”, select the KNVB Orange app;
The trigger is: Notification received. Contains: ]-

Actions:
IF
Notification present. Contains: [1]- (app: KNVB Oranje)
(The following is optional)
OR
Notification present. Contains: [2]- (app: KNVB Orange)
OR
Notification present. Contains: [3]- (app: KNVB Oranje)
OR
Notification present. Contains: [4]- (app: KNVB Oranje)
OR
Notification present. Contains: [5]- (app: KNVB Oranje)
… etcetera for even higher scores.

Example:

THEN
Choose Applications > Open Website/HTTP GET

The webhook looks like this:
https://YourAthomID.connect.athom.com/api/manager/logic/webhook/orange?tag=goal
(And optionally add a popup message to check)
YourAthomId can be found here, next to “cloudId”

Example

homey:
On Homey you create the following flow, at DAN / THEN you can indulge yourself with light / sound effects, etc.:

2 Likes