Select to view content in your preferred language

Set the trigger condition in Power Automate

1864
3
03-05-2021 10:22 AM
KerryKang
Frequent Contributor

Hello all, 

I am trying to set up webhook in Power Automate that works when users select 'Offline' to the question called 'Online_offline'.

 

1. I tried condition module and the flow did not run at all. I used 'Question..'  equal to 'Offline'.

2. I added condition directly under Survey123 setting, and the flow did not run either this time.

KerryKang_0-1614968373155.png

 

Has anyone done applying condition in Power Automate successfully?

 

Kerry

0 Kudos
3 Replies
IsmaelChivite
Esri Notable Contributor

@KerryKang   When you configure a webhook against a survey it triggers every time the form is submitted. You can use conditions in Power Automate to determine if you should do something or not once the flow has been triggered.

It is not possible to configure a webhook to only trigger if a condition is met. The webhook always triggers, and then you add the condition within your flow.

Hope it make sense!

0 Kudos
KerryKang
Frequent Contributor

Hi @sallismael 

Thank you for the information. Earlier I tried using 'condition' action after the survey but it did not work for me. Without 'condition' the rest of flow worked but it does not run at all after I added 'condition' part.

I typed 'Offline' directly in the value area. Do I miss something?

KerryKang_0-1614972465941.png

Kerry

Theisen
Occasional Contributor

Thanks Ismael, 

Could you please help understand the setting in the ArcGIS trigger below? This setting makes it seem like you can condition the trigger, but that doesn't seem to be correct. 

Theisen_0-1757604003349.png

My main goal for my flows is to send emails to recipients when a condition is met. This works perfectly and has no issues. However, I would like this flow to not send anymore emails once the initial email has been sent. Our workflow may include adding additional information to a layer after an email has been sent, but I don't want the flow to trigger and successfully send the same email as before. Does that make any sense? I know the workflow isn't great, but it is what we have. 

0 Kudos