Take Photo
Takes a picture with the phone’s front or back camera, with flash and a delay before the shot.
An action in the Photos group.
Its type is action.camera_photo.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
in |
in | execution in | — |
out |
out | execution out | — |
delaySeconds |
Wait before the shot | data in | Int |
toFolder |
Save in this folder | data in | String |
name |
File name | data in | String |
state |
Result | data out | Object{changed: Boolean, uri: String, path: String, name: String, width: Int, height: Int, sizeBytes: Long, needsConfirmation: Boolean, error: String} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| Camera | lens |
back |
back, front |
| Flash | flash |
off |
off, on, auto; shown when lens is back |
| Wait before the shot | delaySeconds |
0 |
seconds |
| Save in this folder | toFolder |
— | — |
| File name | name |
— | — |
| If one is already there | whenExists |
keep_both |
replace, keep_both, skip |
- camera access
A missing permission is flagged in the editor rather than blocking the macro — the graph is fine, the phone is not, and granting it starts the node working with no edit here at all.