Skip to content

Sharing ​

Sharing content and social media.

import Sharing;

airdrop ​

Prompts to share the specified content via AirDrop.

airdrop(content: Any)
ParameterTypeDefault
contentAny—

Shortcuts action: is.workflow.actions.airdropdocument

postOnFacebook ​

Shares the input on Facebook.

postOnFacebook(content: Any)
ParameterTypeDefault
contentAny—

Shortcuts action: is.workflow.actions.postonfacebook

postToSharedAlbum ​

postToSharedAlbum(images: Image)
ParameterTypeDefault
imagesImage—

Shortcuts action: com.apple.mobileslideshow.StreamShareService

sendEmail ​

Pass text into the action to set the email body. Other types of input are added as attachments.

sendEmail(WFEmailAccountActionSelectedAccount: Text, WFSendEmailActionFrom: Text, recipients: Text, cc: Text, bcc: Text, subject: Text, message: Text, saveAsDraft: Boolean, showComposeSheet: Boolean)
ParameterTypeDefault
WFEmailAccountActionSelectedAccountText—
WFSendEmailActionFromText—
recipientsText—
ccText—
bccText—
subjectText—
messageText—
saveAsDraftBoolean—
showComposeSheetBooleantrue

Shortcuts action: is.workflow.actions.sendemail

sendMessage ​

Sends a message. Pass images, videos, or other files as input to include attachments.

sendMessage(recipients: Text, message: Text, prefix: Text)
ParameterTypeDefault
recipientsText—
messageText—
prefixText—

Shortcuts action: is.workflow.actions.sendmessage

sendViaDeskconnect ​

Sends the input to another device via DeskConnect. DeskConnect makes it easy to send web pages, documents, pictures, and anything else between your devices.

sendViaDeskconnect(content: Any)
ParameterTypeDefault
contentAny—

Shortcuts action: is.workflow.actions.deskconnect.send

sendViaMessenger ​

Sends the input via Facebook Messenger

sendViaMessenger()

Shortcuts action: is.workflow.actions.facebook.messenger.send

share ​

Prompts to share the specified content.

share(content: Any)
ParameterTypeDefault
contentAny—

Shortcuts action: is.workflow.actions.share

shareWithApps ​

Prompts to share the specified content using action extensions and sharing extensions provided by other apps.

shareWithApps(content: Any, app: Text)
ParameterTypeDefault
contentAny—
appText—

Shortcuts action: is.workflow.actions.runextension

tweet ​

Tweets the input.

tweet(tweet: Text)
ParameterTypeDefault
tweetText—

Shortcuts action: is.workflow.actions.tweet

uploadToImgur ​

Uploads the input to Imgur.

uploadToImgur(images: Image, uploadAnonymously: Boolean, directLink: Boolean, createAlbum: Boolean, albumLayout: Enum, albumPrivacy: Enum, title: Text, description: Text) -> URL
ParameterTypeDefault
imagesImage—
uploadAnonymouslyBooleantrue
directLinkBoolean—
createAlbumBooleanfalse
albumLayoutBlog | Grid | Horizontal | Vertical"Blog"
albumPrivacyPublic | Hidden | Secret"Hidden"
titleText—
descriptionText—

Powered by Imgur (imgur.com)

Shortcuts action: is.workflow.actions.imgur.upload