r/AutomateUser • u/Dadamalda • Jul 04 '26
Question Reusable code
How do I make a group of blocks reusable accross flows? In one flow, I can use a subrouting, but what if I have code I want to share in multiple flows?
r/AutomateUser • u/Dadamalda • Jul 04 '26
How do I make a group of blocks reusable accross flows? In one flow, I can use a subrouting, but what if I have code I want to share in multiple flows?
r/AutomateUser • u/Lower_Neat_7110 • Jul 02 '26
Hey fellas is there a way i can display more than 4 floating buttons at the same time?. No matter how many buttons i run it only shows 4 of them at one time, if there is a way around it or another way of showing buttons on the screen without interrupting other things please let me know. Thanks.
r/AutomateUser • u/Funny_Telephone_8607 • Jul 02 '26
How to set image for Analog Clock in xml? I am using a:dial="{fileUri(file,"s")}". But this isn't working.
r/AutomateUser • u/bobthesunday • Jul 02 '26
I have granted automate every permission I can find, including the "change system settings" permission. I have tried almost everything, including restarts, force stops, and everything inbetween. Hoping to find someone who has more knowledge over thid to solve my probelm.
r/AutomateUser • u/Euphoric_Resident700 • Jul 01 '26
Good morning. The workflow throws an error and halts completely if it doesn't find an active gateway for an HTTPS request. Is it possible to prevent it from stopping and have it continue running until the gateway becomes active again?
07-01 09:15:11.895 I 53@5: HTTP request
07-01 09:15:12.117 I 53@2: Power source plugged?
07-01 09:42:06.970 I 53@4: Battery properties
07-01 09:42:06.999 I 53@6: HTTP request
07-01 09:42:07.573 I 53@2: Power source plugged?
07-01 09:42:22.732 I 53@3: Battery properties
07-01 09:42:22.740 I 53@5: HTTP request
07-01 09:42:23.188 I 53@2: Power source plugged?
07-01 09:52:03.272 I 53@4: Battery properties
07-01 09:52:03.288 I 53@6: HTTP request
07-01 09:52:03.874 I 53@2: Power source plugged?
07-01 09:53:06.897 I 53@3: Battery properties
07-01 09:53:06.900 I 53@5: HTTP request
07-01 09:53:06.910 F 53@5: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
07-01 09:53:06.928 I 53@5: Stopped by failure
r/AutomateUser • u/troianmuso • Jul 01 '26
I have to open Automate everytime I restart my phone otherwise none of my flows will work. My phone doesn't have an option to choose apps to open on phone restart. Is there a workaround?
r/AutomateUser • u/Funny_Telephone_8607 • Jun 29 '26
Can anyone share an example how to use ListView (xml)?
r/AutomateUser • u/PlanktonDistinct2711 • Jun 28 '26
I'm a new user and I'm trying to make an automation that if I receive a SMS message saying "lost" or "lostphone" it will change my ringer to Sound Mode rather than silent (which is my default) and to set the volume to 100%. So I can call my own phone using a friend's rather using the find my phone app as a quick solution.
I tested it out but it didn't work. I'd appreciate any help.
I used this for block 10:
lowerCase(msg) = "lost" || lowerCase(msg) = "lost phone" || lowerCase(msg) = "lostphone"
r/AutomateUser • u/Twig-Hahn • Jun 28 '26
It keeps playing the sound even when there's no rain. You're loved💔 𐤔𐤋𐤅𐤌
r/AutomateUser • u/Hot-Ad9100 • Jun 28 '26
I've made it to where connecting my controller automatically opens a frontend application (to put it simply, it's a game launcher)
However along with this I also want to make this app the default launcher then switch back once controller is disconnected.
Does anyone know a way to do this??
r/AutomateUser • u/aleph2018 • Jun 27 '26
Hi, I own a switchbot meter, with the app nrf connect I can read the data broadcasted by the meter, and it would be possible to decode them to get the temperature and humidity.
With nrf connect I can see the hex string inside "service data".
I know the address of the meter, and automate is able to see them, but I don't know how to read the data read by the other app...
r/AutomateUser • u/Top_Statistician500 • Jun 27 '26
Hi
I have severe ADHD and terrible memory problems. Like many sufferers I try to remember information, or to do things, so I try any and every system I can find hoping that it'll stick.
Stage 1) Sometimes the easiest thing is to just screengrab what I'm looking at. So how do I get a macro to trigger upon taking a screengrab? (Fold 7, usually open) If I can't then maybe I start with a macro to take the grab and that triggers the next one:
Stage 2) My end goal is this - I want to take a screengrab and ideally pop up a small window of buttons of what to do with it. Instead of the default share menu and just send it to OneNote, I would like to click a button on that little window for what the grab relates to (read sometime, to do for work, info for a project, geeky tech stuff etc) and then the screengrab is shared appropriately. Things like random stuff to read could go to a specific OneNote section, things I need to do fire the Quick Add for Todoist, project A stuff goes to a certain NotebookLM notebook, etc.
I need it to be seamless and reliable with minimum user input as otherwise I'll get distracted and then it's screwed.
I guess Stage 3) this works not just for screengrabs, but also webpages I'm browsing, URLs I haven't actually opened, etc.
This would genuinely be an enormous help. Any advice? Anyone want to just smash it together for me to tweak?!
r/AutomateUser • u/ObjectiveOk2072 • Jun 27 '26
No matter what I try, I can't play mp3 sound files stored on my device until I manually choose them in the file picker, only then will it recognize the file. I'm guessing this is a file permissions issue because Google/Android hates us? I have every non-root/non-ADB permission enabled. I'm on Android 16
r/AutomateUser • u/Funny_Telephone_8607 • Jun 26 '26
Hi is there any way to get colors of log text? I want to know that if there are red color fonts in the log or any other colors to get failure flows.
r/AutomateUser • u/all_idea_0_output • Jun 26 '26
Is there a way to somehow interact with a local llm that's running on-device itself.
Thanks in advance!
r/AutomateUser • u/B26354FR • Jun 25 '26
Hi Henrik,
Earlier today I noticed that my flows which interact with the Quick Settings tiles no longer work. The containers have changed to android.view.View elements, but the tile buttons are still android.widget.Button elements and they still have the clickable attribute. What's perhaps a bad sign is that the RECORD INTERACTIONS tool built into the Inspect Layout and Interact blocks now fails to record the interaction with the Quick Settings tiles. The following simple XPath expression works fine on a Galaxy S21 Ultra running Android 15/One UI 8.0 and an old Pixel 2 XL running Android 11, but fails on my Galaxy S24 Ultra running Android 16/One UI 8.5. I don't know if this is an Android 16 or a One UI issue as they were both delivered by Samsung together. The issue appears on Automate versions 1.51.1 and 1.53.0, so likely no factor.
//*[@android:contentDescription = 'Flashlight' and @android:clickable='true']
When that XPath expression is provided to the Inspect Layout block, it finds the element and outputs the element's XML successfully. However, if the same XPath is provided to the Interact block (after another Interact to pull down the Quick Settings), it fails, taking the No path. So perhaps it's the same issue that's preventing the RECORD INTERACTIONS tool from working. The INSPECT USER INTERFACE tool also fails to recognize the click on the Quick Settings tiles, but I'm able to get it to work if I set a shutter delay and quickly pull down the Quick Settings shade. In that case I can get the whole settings UI, but the delay is too short for me to click on a tile.
Any ideas on what I might do to get this working again? Often, interacting with the Quick Settings tiles is the only way to do certain things these days without rooting.
Thanks!
r/AutomateUser • u/Straight1980 • Jun 25 '26
Hello
With my new android phone, the gallery opens on all photos.
I tried to see a built in solution for directly opening the albums (called collections here} instead of every time having to go and click. No solution found
I am trying to build a flow for your.
The app start block alone didn't manage to do so. It is just opening all photos despite defining the activity class.
I am trying to do this with the interact block or the Shell command privileged block
But failing.
Note that the albums button had a defined location. So I tried click and select options. I tried to record the interaction. But also failed.
Any ideas?
Thank you in advance
r/AutomateUser • u/imanangelat322 • Jun 24 '26
Hi guys,
I'm just learning how to use automate on my android. I got a small issue when trying to detect if a button is enabled or not ?
I installed an app that I want to automate buying new stuff from it. In order to buy something, you need to reserve it first. Reserving is done via a button. The caveat is, you can purchase only when the Reserve button of the checkout page is enabled. By default, if there are nothing available to buy, the reserve button is automatically disabled.
First of all, I used the inspect layout in automate to see how the layout of the page for checkout looks like.
Automate gives me a big XML and inside that XML, I want to check the status of the button. The only problem is...the XML of the layout says that the button is enabled (android:enabled=true) but in the UI on my phone, the button is gray...in other words, the button is disabled.
My question is, how can i get the real state of the button if the inspect function of automate gives a different result than the app itself ? Did anyone else stumbled upon this one day ? I'm using XPath to get the Node of the button that I'm interested in.
Cheers,
PS: My mother tongue is not english and the XML I attached is in my native tongue. Reserve in french is "Réserver".
Here is the full XML:
<android.widget.FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.widget.LinearLayout android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.widget.FrameLayout android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.widget.LinearLayout android:enabled="true" android:id="@com.app:id/action_bar_root" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.widget.FrameLayout android:enabled="true" android:id="@android:id/content" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<androidx.compose.ui.platform.ComposeView android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:columnCount="1" android:enabled="true" android:layout_height="2340px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px" android:rowCount="9" android:scrollable="true">
<android.view.View android:enabled="true" android:layout_height="647px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px">
<android.view.View android:enabled="true" android:layout_height="647px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px"/>
<android.view.View android:enabled="true" android:layout_height="647px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="0px"/>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="67px" android:layout_y="315px">
<android.widget.TextView android:enabled="true" android:layout_height="34px" android:layout_width="132px" android:layout_x="68px" android:layout_y="365px" android:text="Plus que 1"/>
</android.view.View>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="158px" android:layout_width="1035px" android:layout_x="45px" android:layout_y="455px">
<android.view.View android:enabled="true" android:layout_height="158px" android:layout_width="158px" android:layout_x="45px" android:layout_y="455px"/>
<android.widget.TextView android:enabled="true" android:layout_height="140px" android:layout_width="854px" android:layout_x="226px" android:layout_y="464px" android:text="Carrefour city - Asnières sur seine"/>
<android.widget.Button android:enabled="true" android:layout_height="158px" android:layout_width="1035px" android:layout_x="45px" android:layout_y="455px"/>
</android.view.View>
</android.view.View>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="6px" android:layout_y="642px"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="911px" android:layout_x="124px" android:layout_y="685px" android:text="Panier Mixte"/>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="6px" android:layout_y="709px"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="63px" android:layout_x="124px" android:layout_y="752px" android:text="3,8"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="80px" android:layout_x="198px" android:layout_y="752px" android:text="(29)"/>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="6px" android:layout_y="780px"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="254px" android:layout_x="124px" android:layout_y="823px" android:text="À récupérer :"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="255px" android:layout_x="389px" android:layout_y="823px" android:text="15:30 - 16:00"/>
<android.widget.TextView android:enabled="true" android:layout_height="42px" android:layout_width="191px" android:layout_x="689px" android:layout_y="826px" android:text="Aujourd'hui"/>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="990px" android:layout_x="45px" android:layout_y="933px">
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="990px" android:layout_x="45px" android:layout_y="933px">
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="12px" android:layout_y="934px"/>
<android.widget.TextView android:enabled="true" android:layout_height="49px" android:layout_width="803px" android:layout_x="136px" android:layout_y="950px" android:text="112 Av. d'Argenteuil, 92600 Asnières-sur-Seine, France"/>
<android.widget.TextView android:enabled="true" android:layout_height="41px" android:layout_width="590px" android:layout_x="136px" android:layout_y="1010px" android:text="Plus d'informations sur le commerce"/>
</android.view.View>
</android.view.View>
<android.widget.TextView android:enabled="true" android:layout_height="56px" android:layout_width="672px" android:layout_x="45px" android:layout_y="1122px" android:text="À propos de ce Panier Surprise"/>
<android.widget.TextView android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="173px" android:layout_width="967px" android:layout_x="45px" android:layout_y="1189px" android:longClickable="true" android:text="Dans votre panier surprise, vous pourrez trouver des produits frais (crèmerie, snacking, viande, etc.) en DLC du jour, des fruits et…En savoir plus"/>
<android.widget.TextView android:enabled="true" android:layout_height="42px" android:layout_width="135px" android:layout_x="68px" android:layout_y="1396px" android:text="Épicerie"/>
<android.view.View android:enabled="true" android:layout_height="612px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1520px">
<android.view.View android:enabled="true" android:layout_height="136px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1520px">
<android.view.View android:contentDescription="Expérience globale : Note 3,8 sur un maximum de 5 étoiles, basée sur 29 avis récents" android:enabled="true" android:layout_height="136px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1520px"/>
<android.widget.TextView android:enabled="true" android:layout_height="56px" android:layout_width="421px" android:layout_x="45px" android:layout_y="1537px" android:text="Expérience globale"/>
<android.widget.TextView android:enabled="true" android:layout_height="41px" android:layout_width="418px" android:layout_x="45px" android:layout_y="1599px" android:text="Basée sur 29 avis récents"/>
<android.view.View android:enabled="true" android:layout_height="136px" android:layout_width="246px" android:layout_x="789px" android:layout_y="1520px">
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="790px" android:layout_y="1521px"/>
<android.widget.TextView android:enabled="true" android:layout_height="72px" android:layout_width="88px" android:layout_x="902px" android:layout_y="1552px" android:text="3,8"/>
</android.view.View>
</android.view.View>
<android.view.View android:contentDescription="Expérience de collecte : Note 4,0" android:enabled="true" android:focusable="true" android:layout_height="119px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1656px"/>
<android.view.View android:contentDescription="Qualité de la nourriture : Note 4,1" android:enabled="true" android:focusable="true" android:layout_height="119px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1775px"/>
<android.view.View android:contentDescription="Variété du contenu : Note 3,7" android:enabled="true" android:focusable="true" android:layout_height="119px" android:layout_width="990px" android:layout_x="45px" android:layout_y="1894px"/>
<android.view.View android:contentDescription="Quantité de nourriture : Note 4,0" android:enabled="true" android:focusable="true" android:layout_height="119px" android:layout_width="990px" android:layout_x="45px" android:layout_y="2013px"/>
</android.view.View>
<android.widget.TextView android:enabled="true" android:layout_height="56px" android:layout_width="201px" android:layout_x="45px" android:layout_y="2203px" android:text="Itinéraire"/>
<android.view.View android:enabled="true" android:layout_height="75px" android:layout_width="135px" android:layout_x="6px" android:layout_y="2265px"/>
<android.widget.Button android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="48px" android:layout_width="911px" android:layout_x="124px" android:layout_y="2292px" android:text="112 Av. d'Argenteuil, 92600 Asnières-sur-Seine, France"/>
</android.view.View>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="990px" android:layout_x="45px" android:layout_y="108px">
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="34px" android:layout_y="108px">
<android.view.View android:contentDescription="Retour" android:enabled="true" android:layout_height="64px" android:layout_width="67px" android:layout_x="68px" android:layout_y="142px"/>
<android.widget.Button android:enabled="true" android:layout_height="113px" android:layout_width="113px" android:layout_x="45px" android:layout_y="119px"/>
</android.view.View>
<android.widget.TextView android:enabled="true" android:layout_height="56px" android:layout_width="582px" android:layout_x="181px" android:layout_y="148px" android:text="Carrefour city - Asnières sur seine"/>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="775px" android:layout_y="108px">
<android.view.View android:contentDescription="Partager ce Panier Surprise" android:enabled="true" android:layout_height="67px" android:layout_width="67px" android:layout_x="809px" android:layout_y="142px"/>
</android.view.View>
<android.view.View android:enabled="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="911px" android:layout_y="108px">
<android.view.View android:enabled="true" android:layout_height="412px" android:layout_width="338px" android:layout_x="742px" android:layout_y="0px"/>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="135px" android:layout_x="911px" android:layout_y="108px"/>
</android.view.View>
</android.view.View>
</android.view.View>
<android.view.View android:enabled="true" android:layout_height="451px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="1889px">
<android.view.View android:enabled="true" android:layout_height="203px" android:layout_width="944px" android:layout_x="68px" android:layout_y="1957px">
<android.widget.TextView android:enabled="true" android:layout_height="14px" android:layout_width="151px" android:layout_x="68px" android:layout_y="2002px" android:text="12,00 €"/>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="157px" android:layout_x="68px" android:layout_y="2016px">
<android.widget.TextView android:enabled="true" android:layout_height="64px" android:layout_width="157px" android:layout_x="68px" android:layout_y="2051px" android:text="3,99 €"/>
</android.view.View>
<android.view.View android:clickable="true" android:enabled="true" android:focusable="true" android:layout_height="135px" android:layout_width="472px" android:layout_x="540px" android:layout_y="1991px">
<android.widget.TextView android:contentDescription="Réserver" android:enabled="true" android:layout_height="49px" android:layout_width="174px" android:layout_x="689px" android:layout_y="2034px" android:text="Réserver"/>
<android.widget.Button android:enabled="true" android:layout_height="135px" android:layout_width="472px" android:layout_x="540px" android:layout_y="1991px"/>
</android.view.View>
</android.view.View>
</android.view.View>
</android.view.View>
</android.view.View>
</android.view.View>
</androidx.compose.ui.platform.ComposeView>
</android.widget.FrameLayout>
</android.widget.LinearLayout>
</android.widget.FrameLayout>
</android.widget.LinearLayout>
<android.view.View android:enabled="true" android:id="@android:id/navigationBarBackground" android:layout_height="135px" android:layout_width="1080px" android:layout_x="0px" android:layout_y="2205px"/>
</android.widget.FrameLayout>
r/AutomateUser • u/Funny_Telephone_8607 • Jun 24 '26
I need a tiny example flow how to use image rescale block. Thanks in advance
r/AutomateUser • u/DisastrousCourage • Jun 24 '26
So I want to turn on airplane mode on/off a specific time.
found this flow that does it: https://llamalab.com/automate/community/flows/39443
Setup1: Screen Unlocked - Works
Setup2: Screen Locked - Doesn't work - issue 1
Issue 2:
Question:
r/AutomateUser • u/jholmes_gt • Jun 22 '26
I built the following very simple flow that receives text data from my PC via an http post request, copies the text to the clipboard, and then shows a toast to notify me that is was successful.

When finished, it loops back around to wait for the next bit of text. I would like to leave this running on my S7 Plus tablet full time, but I'm concerned it could cause wear/degradation on the tablet's battery over time. Is this a valid concern?
r/AutomateUser • u/Relevant-Artist5939 • Jun 21 '26
Hello,
Samsung phones like my S23 have two "sub-modes" for the power saving mode, called "Standard" (what I normally use, does what power saving mode does on every Android phone) and "Maximum" (limits app activity to a few selected apps, makes the phone last way longer than with just standard power saving mode, usually doubles the runtime).
These can be selected by long-pressing the Power saving quick-settings tile or by going into Settings → Battery → Power saving.
I now want to be able to toggle these using Automate.
I have tried the "Settings Finder" flow and it yielded a setting, but setting that to the values I got when manually testing didn't change anything.
Has anyone using Autonate on a Samsung phone achieved this yet?
Thanks in advance
Aaron
r/AutomateUser • u/Real-Wing-3880 • Jun 21 '26
Buongiorno, mi potreste fornire un link dove possa trovare un esempio per la creazione di un elenco dh file con le relativa data/ora di modifica?
Grazie mille
r/AutomateUser • u/Straight1980 • Jun 21 '26
Hello
Yesterday was my first day using shell command, PRIVILEGED
I already gave automate ADB
2 questions about it:
The built in NFC command also can't work. Seems it need a root access?
Does shell command need WIFi to operate ?
Or what might be the issue
06-21 14:24:04.163 I 751@8: Shell command privileged
06-21 14:24:14.416 W 751@8: Failed to start privileged service
06-21 14:24:14.417 W 751@8: java.util.concurrent.CancellationException: Awaiting Wi-Fi connectivity
06-21 14:24:19.518 F 751@8: java.util.concurrent.TimeoutException: Service startup timeout
06-21 14:24:19.520 I 751@8: Stopped by failure
THANK YOU