2 Problems - loop / sms gateway via http request

Post your questions and help other users.

Moderator: Martin

Post Reply
DonJaiquito
Posts: 3
Joined: 09 Apr 2017 10:47

2 Problems - loop / sms gateway via http request

Post by DonJaiquito » 05 Jun 2017 06:23

Hi,

I am currently facing two problems:

1. I have a flow in which a 3 second sound file is played. I want it to play in a loop for several times. How can I loop only the action of playing the sound file?

2. I try to make an SMS Gateway using the http request trigger. It works when I call the mobile phone's ip - it gets triggered. However, as in the example, I added ?receiver=123456&text=this is a test
in the following sms send action I used {receiver} and {text} but it tells me that the receiver is not valid.
So my question is how can I access the get parameters from the http trigger?

Thank you very much!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: 2 Problems - loop / sms gateway via http request

Post by Martin » 05 Jun 2017 19:19

Hi,

1. You can create a loop in a flow. Check out example Countdown in the catalog (on the flow list: menu->Catalog, select category Scripting)

2. Add a condition Debug Dialog directly as the first condition to your flow. Whenever the flow is executed, a popup dialog is displayed that shows all available variables. Also check out the documentation of the trigger. The parameters should become available to the flow as param_receiver and param_text.

Regards,
Martin

Post Reply