Trigger: Photo Taken
This trigger fires when a photo is taken with the device camera.
Options
No configuration options. The trigger fires for any photo capture.
Magic Text
When this trigger fires, the following values are available via magic text:
- {photo_file_path}
- {photo_uri}
Examples
Example 1: Log each photo capture
Triggers Photo Taken
Actions
Write to File - Append "Photo saved at {photo_file_path}" to photo_log.txt
Display Notification: "Photo taken"
Example 2: Extract text from the new photo
Triggers Photo Taken
Actions Text from Image (OCR) - Photo Taken Trigger
Notes
- Requires Android 7 or later
- Storage permission is required
See Also