I'm working on a flow that submits a command to the phone network and, if successful, would receive an SMS confirmation.
How can I have my flow wait for the SMS confirmation, detect the confirmation SMS, and continue the flow?
So far from what I've seen, receiving an incoming SMS is considered a trigger and there isn't an option to create a trigger within a flow that already has a trigger.
Would I need to create 2 flows? (one for the first part of the command, and another for receiving the confirmation SMS)
Have flow wait for incoming confirmation SMS
Moderator: Martin
Re: Have flow wait for incoming confirmation SMS
Yes, two flows are required in this case.
Something like this:
Flow1:
-...
-action ' Set Flow State: Enable Flow2'
-action 'Send SMS'
Flow2:
-trigger 'SMS Received: ...'
-action 1, 2, 3
-action ' Set Flow State: Disable Flow2'
Enabling/disabling Flow2 is only necessary when the expected SMS does not contain a text suitable as a filter for the 'contains text' option in the SMS trigger.
Something like this:
Flow1:
-...
-action ' Set Flow State: Enable Flow2'
-action 'Send SMS'
Flow2:
-trigger 'SMS Received: ...'
-action 1, 2, 3
-action ' Set Flow State: Disable Flow2'
Enabling/disabling Flow2 is only necessary when the expected SMS does not contain a text suitable as a filter for the 'contains text' option in the SMS trigger.