---
title: perform()
framework: appintents
role: symbol
role_heading: Instance Method
path: appintents/runsystemshortcutintent/perform()
---

# perform()

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

## Declaration

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

## Discussion

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.
