Skip to content

Contacts ​

Contacts, phone calls, and FaceTime.

import Contacts;

call ​

Calls the phone number passed in as input.

call(contact: Text)
ParameterTypeDefault
contactText—

Shortcuts action: com.apple.mobilephone.call

contacts ​

Passes the specified contacts to the next action.

contacts(contact: Text) -> Contact
ParameterTypeDefault
contactText—

Shortcuts action: is.workflow.actions.contacts

editContact ​

editContact(property: Enum, value: Any) -> Contact
ParameterTypeDefault
propertyFirst Name | Middle Name | Last Name | Birthday | Prefix | Suffix | Nickname | Company | Job Title | Department | Email Addresses | Phone Numbers | URLs | Notes | Street Address | City | State | ZIP Code | Country | Has Photo | Photo | Group—
valueAny—

Shortcuts action: is.workflow.actions.setters.contacts

emailAddress ​

Passes the specified email addresses to the next action.

emailAddress(emailAddress: Text) -> Email
ParameterTypeDefault
emailAddressText—

Shortcuts action: is.workflow.actions.email

facetime ​

Calls the contact passed in as input using FaceTime.

facetime(callType: Enum, contact: Text)
ParameterTypeDefault
callTypeVideo | Audio"Video"
contactText—

Shortcuts action: com.apple.facetime.facetime

findContacts ​

findContacts(sortBy: Enum, order: Enum, WFContentItemLimit: Boolean, WFContentItemLimitNumber: Number) -> Contact
ParameterTypeDefault
sortByFirst Name | Middle Name | Last Name | Birthday | Prefix | Suffix | Nickname | Company | Job Title | Department | Email Addresses | Phone Numbers | URLs | Notes | Street Address | City | State | ZIP Code | Country | Has Photo | Photo | Group—
orderLatest First | Oldest First—
WFContentItemLimitBooleanfalse
WFContentItemLimitNumberNumber5

Shortcuts action: is.workflow.actions.filter.contacts

getDetailsOfContacts ​

getDetailsOfContacts(get: Enum) -> Any
ParameterTypeDefault
getFirst Name | Middle Name | Last Name | Birthday | Prefix | Suffix | Nickname | Company | Job Title | Department | Email Addresses | Phone Numbers | URLs | Notes | Street Address | City | State | ZIP Code | Country | Has Photo | Photo | Group—

Shortcuts action: is.workflow.actions.properties.contacts

newContact ​

Creates a new contact.

newContact(firstName: Text, lastName: Text, company: Text, photo: Image, phoneNumber: Text, emailAddress: Text, notes: Text) -> Contact
ParameterTypeDefault
firstNameText—
lastNameText—
companyText—
photoImage—
phoneNumberText—
emailAddressText—
notesText—

Shortcuts action: is.workflow.actions.addnewcontact

phoneNumber ​

Passes the specified phone numbers to the next action.

phoneNumber(phoneNumber: Text) -> Phone
ParameterTypeDefault
phoneNumberText—

Shortcuts action: is.workflow.actions.phonenumber

selectContact ​

Prompts to pick a person from your contacts and passes the selection to the next action.

selectContact(selectMultiple: Boolean) -> Contact
ParameterTypeDefault
selectMultipleBoolean—

Shortcuts action: is.workflow.actions.selectcontacts

selectEmailAddress ​

Prompts to pick an email address from your contacts and passes the selection to the next action.

selectEmailAddress() -> Email

Shortcuts action: is.workflow.actions.selectemail

selectPhoneNumber ​

Prompts to pick a phone number from your contacts and passes the selection to the next action.

selectPhoneNumber() -> Phone

Shortcuts action: is.workflow.actions.selectphone