activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Dec 8, 2025

Invoke Apple Shortcut

UiPath.AppleScripting.Activities.InvokeAppleShortcut

Invokes an Apple shortcut and returns its output.

This activity runs an Apple Shortcut by name and returns the result. Apple Shortcuts are automation workflows created in the Shortcuts app on macOS. The activity supports various input types including text, files, or a dictionary of arguments. You can specify output options such as the output path and output type (UTI format). The activity includes timeout configuration and error handling options.

Note: This package only runs on macOS systems.

Project compatibility

Windows | Cross-platform

Configuration

You can configure the activity and its properties as follows:

  • Shortcut name - The name of the shortcut to run.
  • Input arguments - A dictionary of key-value pairs to pass as input to the shortcut.
Note: For more details on the plus menu options, check Designing automations.

Properties

  • Output path - Optional path where the shortcut output will be written to a file.
  • Output type - Optional Uniform Type Identifier (UTI) for the output format, for example, public.jpeg, public.plain-text.
  • Throw on fail - If set to True, throws an exception when the exit code of the shortcut is not 0. The message contained in the exception will be the content of the standard error stream.
  • Timeout (milliseconds) - Specifies the amount of time (milliseconds) to wait for the activity to run before throwing an error. Leave blank to wait indefinitely.
  • Result - The result of the shortcut invocation.

  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.