Interact Action Flow ⭕Autoalexa⭕

by Sid Stone

Version 1 (October 26, 2019)

Download (285 downloads)

This action flow for Autoalexa voice Assistant will allow you to Interact with apps and call global interactions like recent, back, split screen etc.
You will find ⭕Autoalexa⭕ here - https://llamalab.com/automate/community/flows/29369

Add the flow beginning uri to the statements in the autoalexcommands.json with key "interact".
i.e.
"statements": {
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"previous": "statements/40",
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"interact": "flows/38/statements/1"
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️}

Also add the utterance/s and value/s.
i.e.
"computer": {
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"spell": [["action": "value"]],
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"split screen": [["interact", "Toggle split screen"]],
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"previous app": [["interact", "Recent"], ["interact", "Recent",[0.05,0]]], \\works on android 7+
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️}

Then use voice commands -
computer split screen
computer previous app

You can add a delay and multiple calls to interact as in recent example.

Action values example 0x1000005, 0x1000003, 0x1000004. these can be found by selecting action in a interact block and pressing fx button.
I have added some text alternatives i.e. Toggle split screen, Quick settings, Recent, Notifications, Click and Back.