Assign multiple variables from one object in single block

64 views
Skip to first unread message

Vitaliy Vityuk

unread,
Jul 24, 2025, 6:06:58 AMJul 24
to Automate for Android
Hello!
I have input payload like:

{
"phone": "1234",
"message": "some message"
}

and I want to assign 2 variables "phone" and "message" in one block instead of 2 blocks "Set Variable".

Is it possible?

Thank you!

Marjorie Corpuz

unread,
Jul 24, 2025, 8:36:22 AMJul 24
to automa...@googlegroups.com
Hello 


--
You received this message because you are subscribed to the Google Groups "Automate for Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automate-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/automate-user/f2212c99-2c2c-4675-b78e-c2cb73bbfdffn%40googlegroups.com.

Henrik "The Developer" Lindqvist

unread,
Jul 24, 2025, 9:19:26 AMJul 24
to Automate for Android
Use the Destructuring assign block.

Vitaliy Vityuk

unread,
Jul 24, 2025, 4:33:21 PMJul 24
to Automate for Android
Thank you! Working!

четвер, 24 липня 2025 р. о 16:19:26 UTC+3 Henrik "The Developer" Lindqvist пише:
Reply all
Reply to author
Forward
0 new messages