Flow with function that repeats

I want to make a flow that keeps repeating itself (sending the same voice message to a speaker) until a button is pressed. Can anyone help with this.

Flow named: Loop
WHEN: This flow is started
AND: Switch is ON
THEN:

  1. Play MP3 on fe Sonos
  2. Start a Flow “Loop” delayed with 5 seconds.

There are many ways to create loops. Some examples are in the discussion:
How o create a Loop?
Or you search or loop or recursive.
Have fun

1 Like