<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/RunSystemShortcutIntent/perform()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents23RunSystemShortcutIntentV7performAA0F15ResultContainerVys5NeverOA3HGyYaKF"
  },
  "title" : "perform()"
}
-->

# perform()

Performs a widget’s configured action, like opening another app or performing an App Shortcut, custom shortcut, or system action.

```
func perform() async throws -> IntentResultContainer<Never, Never, Never, Never>
```

## Discussion

The system only performs the intent if it’s triggered by a button you place in widget. The intent doesn’t have any effect in other
contexts.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)