r/AutomateUser • • 23h ago

Question How to control a flow based on if another flow is running?

1 Upvotes

So I have two flows.

  • Spotify Start
  • Hybrid Assistant Start

Both flows await for a Bluetooth connection to my car.

Since they both start at the same time and want to have Hybrid Assistant on top, I delay it starting up for 7 seconds to let time for the Spotify Start flow to finish its thing, which is to launch the Spotify app, set the Bluetooth Music volume to 100% and Play the current playlist.

That's working fine, but I don't always want the Spotify Start flow running but I always want the Hybrid Assistant Start flow running and I'm trying to add a condition to bypass that 7 seconds delay if the Spotify Start flow is stopped. I'm currently trying the "Fiber Stopped?" block but don't know what to put in the Fiber URI argument. I tried with "SpotifyFiber" (which I've set in the Spotify Start "Fiber URI" argument) and with the Spotify Start Flow URI and both gives me

java.lang.IllegalArgumentException: Not a fiber URI

What should I enter there or is there a better way?

Thanks


r/AutomateUser • • 23h ago

Question User interface

0 Upvotes

I want to build my own to-do list app using Automate because I haven't found an existing app that stores all my task information in a simple .txt file that ChatGPT can both read and edit.

The idea is to use ChatGPT as a personal planning assistant while using Automate to manage my tasks on my phone.

However, I'd like to have a simple user interface for adding, editing, viewing and completing tasks, rather than editing the text file manually.

What's the best way to create a basic user interface within an Automate flow? Has anyone built something similar?

Any suggestions or examples would be appreciated!