# Starting a flow from an external app's notification

**URL:** <https://community.homey.app/t/starting-a-flow-from-an-external-apps-notification/59400>\
**Category:** Questions & Help\
**Created:** [January 29, 2022, 8:40pm UTC](https://community.homey.app/t/starting-a-flow-from-an-external-apps-notification/59400 "2022-01-29T20:40:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 29, 2022, 9:09pm UTC](https://community.homey.app/t/starting-a-flow-from-an-external-apps-notification/59400/2 "2022-01-29T21:09:27Z")

</div>

Yes you can using Macrodroid sending a webhook.  
Example:

> [@Oranje Doelpunt/Goal alert](https://community.homey.app/t/oranje-doelpunt-goal-alert/48456):
>
> Vanwege een vraag van iemand heb ik een doelpunt alert gemaakt voor Homey i.c.m. Android. Dan kun je bijv. je hele huis en tuin oranje laten knipperen whatever. Benodigde telefoon apps: Macrodroid KNVB Oranje Maak met Macrodroid een nieuwe macro. Triggers: Voeg een trigger toe, ga naar “Apparaat gebeurtenis”\>“Notificatie”, kies “Notificatie ontvangen”, selecteer “kies app(s)”, selecteer de KNVB Oranje app; De trigger is: Notificatie ontvangen. Bevat: ]- Acties: ALS Notificatie aan…

**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:

 ![oranje-goal_macro](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d800487f6ba776c54486aeab28f9054d10857ef.jpeg)

THEN  
Choose Applications \> Open Website/HTTP GET

The webhook looks like this:  
[https://YourAthomID.connect.athom.com/api/manager/logic/webhook/orange?tag=goal](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](https://tools.developer.homey.app/tools/system), next to “cloudId”

Example

 ![webhook_ex](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9fc2068e9b83788581ef85022f9315a2a9a8bec6.jpeg)

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

---

_[View the full topic](https://community.homey.app/t/starting-a-flow-from-an-external-apps-notification/59400)._
