Take Photo / TakePhoto (internally is.workflow.actions.takephoto)

This action requires that Shortcuts has permission to use WFUserInteractionResource,WFCameraAccessResource.



Uses the camera to take photos.


Photo from the camera.


TakePhoto showCameraPreview=(true | false | variable) WFPhotoCount=number camera=("Front" | "Back")


showCameraPreview: Switch (Docs)

Default Value: true Allows Variables: true

Accepts a boolean or a variable.

WFPhotoCount: Stepper Number (Docs)

Default Value: 1 Allows Variables: true

Only enabled if: argument WFCameraCaptureShowPreview == true

	Accepts a number 
	or variable
	with a number.

camera: Enumeration (Docs)

Default Value: "Back" Allows Variables: true

Accepts a string or variable containing one of the options:

  • Front
  • Back

source json (for developers)

	"ActionClass": "WFTakePhotoAction",
	"ActionKeywords": [
	"AppIdentifier": "com.apple.camera",
	"Category": "Photos & Video",
	"Description": {
		"DescriptionResult": "Photo from the camera.",
		"DescriptionSummary": "Uses the camera to take photos."
	"InputPassthrough": false,
	"LastModifiedDate": "2015-08-20T07:00:00.000Z",
	"Name": "Take Photo",
	"Output": {
		"Multiple": true,
		"OutputName": "Photo",
		"Required": true,
		"Types": [
	"Parameters": [
			"Class": "WFSwitchParameter",
			"DefaultValue": true,
			"Key": "WFCameraCaptureShowPreview",
			"Label": "Show Camera Preview"
			"Class": "WFStepperParameter",
			"DefaultValue": 1,
			"Key": "WFPhotoCount",
			"RequiredResources": [
					"WFParameterKey": "WFCameraCaptureShowPreview",
					"WFParameterValue": true,
					"WFResourceClass": "WFParameterRelationResource"
			"StepperDescription": "Number of Photos",
			"StepperNoun": "Photo",
			"StepperPluralNoun": "Photos",
			"StepperPrefix": "Take"
			"Class": "WFEnumerationParameter",
			"DefaultValue": "Back",
			"Items": [
			"Key": "WFCameraCaptureDevice",
			"Label": "Camera"
	"RequiredResources": [
	"Subcategory": "Camera",
	"UnsupportedEnvironments": [
	"UserInterfaces": [