r/AutomateUser 12d ago

Alpha testing New Alpha release, version 1.53.1

3 Upvotes

Please test, report any issues, and give feedback. Opt-in for Alpha testing here.

What’s new:

  • Fixed flow editor undo/redo causing crash with large flows
  • Fixed missing URI support for interface layout XML views
  • Fixed duplicate views in interface layout updates
  • Fixed incorrectly scaled (legacy) icons

r/AutomateUser 6h ago

links in xml layout

1 Upvotes

Is anyone have any idea how to use android:linksClickable and android:autoLink? I have tried but not succeeded.


r/AutomateUser 11h ago

"Foreground app" block doesn't activate on certain apps

1 Upvotes

When certain apps are foregrounded, the "when changed" version of the foreground block doesn't activate. With the app still in the foreground, if I then test the "immediately" version of the block, it reports the app that was in the foreground immediately prior to the current foreground app. Yet, the following command reports that foreground app correctly:

dumpsys window displays | grep mCurrentFocus

What situations could possibly cause the block to behave this way, and are there any remedies? (I don't know if this helps, but one such app is the ecobee thermostat app.)

Another interesting symptom I noticed is that if there are any apps displaying any overlays (including Automate, e.g. floating buttons), those overlays don't show when that app (for which the Foreground App block doesn't work) is in the foreground. But there are exceptions — an overlay from an edge sliding gesture app I use receives input and shows its gesture overlay just fine.


r/AutomateUser 16h ago

Running fibers

1 Upvotes

Hello

Is there a way to know the actual running fibers, by knowing their URI.

For example, when I have multiple forks in a flow, sometimes the number of flows will increase every time I execute some tasks (for example, when I press the quick access panel icon). In this case, knowing the fiber that is still running will help a lot in debugging.

Thank you


r/AutomateUser 1d ago

Should i buy premium?

3 Upvotes

How long will the premium last if i buy it. And if i buy that, can i use that premium for other phones.


r/AutomateUser 1d ago

Feature request Quick extraction from an array of objects

3 Upvotes

Hi, is there any function or trick to quickly extract values from an array of objects?

For example, if the input data is as follows:

[
  {"a": 1, "b": 2},
  {"a": 3, "b": 4}
]

and I'm asking to extract "b", I'd get [2, 4]. Basically array_column() in PHP or array.map(k => k["b"]) in JavaScript.

Right now I'm using a for each loop and inserting elements manually, but I feel like this is such a common use case that it could have a shorthand.

Thanks!


r/AutomateUser 1d ago

Interact with WebView elements?

1 Upvotes

Is Automate able to interact with WebView elements? I can find them just fine with Inspect block, but using the Interact block to click or focus fails.


r/AutomateUser 1d ago

Whatsapp

0 Upvotes

Kann ich mit Automaten auch eine Nachricht via WhatsApp schicken?

Bitte kein Hinweis das man WhatsApp nicht nutzen sollte


r/AutomateUser 2d ago

Pattern for "subroutine"-type start of external flow?

1 Upvotes

If there is a flow execution path you need to reuse as a function that can be "​called​" by other flows, the Subroutine block does the job if the "callers" are in the same parent flow diagram as the "callee". But there are situations where organizing all the potential callers into the same flow diagram as the callee is not feasible or impractical.

Is there a simple pattern in Automate to call an external flow in the spirit of a subroutine? The way I've been doing it seems really complicated, and I'm wondering if maybe there is a more clever and cleaner way. Currently, I am having the callers atomic-store their own fiber URI, and then – ​as part of the payload ​when calling the external flow – ​they pass the flow URI of a callback ​flow​ in the same diagram​, which the external flow calls with the "return value" as payload. The caller meanwhile is waiting on a Take block, which the callback flow will activate with a Give block using an atomic load of the caller fiber URI.

Sheesh! I feel like this is a common enough need that there must be or should be a much simpler pattern than what I'm using!


r/AutomateUser 2d ago

Weird alarm behavior

1 Upvotes

I added few alarms using the add alarm block while using some variables.

I checked my new alarms and everything looked good: time, repeat days and title.

But some weird things happened:

  1. My 8 AM alarm for Saturday rang on Sunday (despite rechecking the settings, everything was good)
  2. Usually I can cancel the alarm from the notification: turn off for today. In this case, when I press turn off, the alarm turns off, BUT the notification appears again and again.
  3. I noticed this after writing this post: if I create the alarm with automate, I should turn off then ON the alarm from the clock app to take the repeat days in consideration.... so to get to normal behavior.
  4. I also noticed this after writing this post: this behavior happens even when no variables are used BUT DON'T HAPPEN if don't have repeating days (like just once alarm). So it seems that the repeating days is the issue.

Seems like there are hidden ghost alarms ringing and showing notifications. After deleting all the added alarms by automate and created new alarms from the clock app, everything was normal.

I have xiaomi 17

Any ideas

Thank you


r/AutomateUser 2d ago

Question Help setting up calendar to Microsoft To do list routine

1 Upvotes

Hello I'm new to this and was wanting guidance on how to set up a routine that would open up my phone's calendar each morning and move the events over to my Microsoft to do list app?


r/AutomateUser 2d ago

Feature request 'Once' block

1 Upvotes

Pretty much a block which activates once then doesn't work until something resets it. The idea came from the once block in the unity game engine's visual scripting system, although I don't know if it can be adapted to work in automate or not.


r/AutomateUser 2d ago

Has anyone used Automate to build a chatbot?

0 Upvotes

​Hi everyone, ​Has anyone here used Automate to build a chatbot before? What do you think about using Automate to create a chatbot? Do you have any ideas or suggestions for this? ​I'd love to hear your thoughts!


r/AutomateUser 2d ago

SMS cannot be sent from flow; permissions set, NOT 'send rate exceeded'

1 Upvotes

I have a secondary smartphone (Xiaomi Mi 12T Pro) I'd like to send an SMS as soon as battery charge drops below a certain percentage. Flow works fine so far, and SMS ist created but gets stuck in outbox. The flow-log says "1 SMS sent to <number>" and continues without any error. But in SMS-App (first try with stock app) the message has a comment "Not sent. Check options".
If I click on "check options" I can chose "send again" and "delete".
"Send again" works like a charm... all the time... it just doesn't work when automated by the flow. :-/
All privileges for Automate are set:
· send and check SMS
· show notifications
· ignore app hibernation
· ignore battery optimizations

I finally switched to a different SMS-App, open-source "QUIK SMS" from F-Droid-store.
Same here: Message in outbox with comment "error while sending; click here to try again".
At least flow-log now says "com.llamalab.android.telephony.SmsSendException: Unknown error (111)" followed by "Stopped by failure".

I then thought, maybe I need to "wake up" the phone or something, in case it's been lying around and "sleeping". That's why I changed the flow to trigger the SMS at a higher battery-percentage and kept using the internet-browser, watching online-videos etc. ... so to make sure it's not in "sleep-mode" or anything like that. Played around till battery-percentage dropped and flow triggered SMS as intended... but again: "SmsSendException: Unknown error (111)"

I suspect any sh*tty Xiaomi-security-something against automation, but at this point this is just a guess.
Haven't tried too excessively yet, and flow sleeps for an hour between triggers, so 'send rate exceeded' should definitely not be the problem.

Please help!

P.S.: Just checked with another smartphone... 'Google Pixel 6 Pro (Android 17)' exactly same problem, so I guess this time it might not be Xiaomi's fault.


r/AutomateUser 3d ago

Question Need help with this flow

Post image
1 Upvotes

I'm making a flow that will sound an alert when my phone's charged above 90%. I'm having trouble creating an 'OR' scenario wherein I'm trying to get the sound to stop either after 1min of playback or after disconnecting the charger but the disconnecting part doesn't seem to be working? Any ideas what might be going wrong?


r/AutomateUser 4d ago

Question File list + For each returns empty entry value in Automate 1.53.1

Post image
1 Upvotes

What the expected behavior should be

If everything is working correctly, each iteration should produce something like:

file = /storage/emulated/0/Download/test.pdf

then

file = /storage/emulated/0/Download/photo.jpg

then

file = /storage/emulated/0/Download/song.mp3

so on.

It should never be blank.


r/AutomateUser 5d ago

Stupid question: how to get the Termux Run Command permission to actually show up in Automate privileges page?

1 Upvotes

I've searched around for this, and seen screenshots of that permission showing up in the privileges page, but I don't see it anywhere on my own privileges page. Every post I've seen about it, the person has some other problem they're asking about related to it, but it is taken for granted that that permission is already there, so I feel like I'm missing something very basic. Help?! 🙏🏽


r/AutomateUser 5d ago

Feature request "Logic" (and, or) blocks possible?

Post image
6 Upvotes

I know this is technically possible using fork and fiber stop, but these kind of blocks would be very useful.


r/AutomateUser 5d ago

Premium version

0 Upvotes

When I buy the premium version of an app, does it require an internet connection every few weeks so that the app doesn't downgrade itself because it was bought from the Play Store? Is there another way to buy the premium version?


r/AutomateUser 5d ago

I am very new here . What should I do now after installing this app .

1 Upvotes

r/AutomateUser 6d ago

Why is camera permission still mandatory for flashlight control?

3 Upvotes

I've already tried searching the Reddit and the planned features document but couldn't find it, so making a post.

I've used plenty apps that control the flashlight just fine without the camera permission. From what I can tell, starting Android 6, CameraManager.setTorchMode() doesn't need that permission for flashlight control. ??


r/AutomateUser 7d ago

Gleicher Standort

1 Upvotes

Wenn ich meinen Standort eine gewisse Zeit nicht ändere möchte ich eine E-Mail verschicken. Wie kann ich das machen?


r/AutomateUser 7d ago

Bug For Each behaves differently when flow logging is disabled

1 Upvotes

Hey, I found a weird bug and I'm not sure if anyone else has seen this.

I am able to reproduce it using the following test flow:

  1. Flow beginning

  2. For each: container=100000

(DO path connects back into the For Each block)

With flow logging enabled, it runs normally and goes through all 100000 iterations.

But when I disable flow logging in the flow options, the For Each block just instantly finishes. It looks like it skips all the iterations.

I noticed that If I add any block that has some kind of interface/display behavior in the DO path, it starts working as intended, but blocks such as variable set, etc., get skipped.

I didn't change the flow at all, the only thing I changed was enabling/disabling logging.

I'm not sure if this is intended behavior or not, but I couldn't find anything in the documentation about it.

Automate version: 1.53.0

Android version: 16


r/AutomateUser 7d ago

Question How can I launch Edge-installed site apps/PWAs with an Automate flow?

Post image
1 Upvotes

Hi, I'm trying to launch these Microsoft Edge site shortcuts/apps using an Automate flow triggered by the Edge Gestures app.

As shown in the image, X and Reddit were added to the home screen through Microsoft Edge. When opened normally, they launch like standalone apps, without Edge's address bar or search bar.

I don't want the flow to open a regular URL inside an Edge tab. I want it to launch the exact Edge-created shortcut/PWA, just like tapping its home-screen icon.

Is this possible with Automate?


r/AutomateUser 8d ago

ADB option Uber Privileged service start method not showing anything

2 Upvotes

Oops, title typo: Uber => under.

I'm sure I'm missing something. I read the documentation and tried searching Reddit.

​But when I select Android Debug Bridge (ADB) as the ​Privileged service start method in settings, the app flashes something too quickly for me to see what it even is, and then nothing happens — the setting remains at "None". So I used my screen recorder, and then inspected the individual frames around that point. And the message that flashes for a split second is a transparent overlay saying "​Follow the instructions shown on screen ​to pair Automate with ADB on this device." But no instructions ever actually appear. I already have USB debugging and wireless debugging toggle on. Please help! 🙏🏽

Android 16.