Let people use your app from Siri and Shortcuts
See which App Intents your app's last build declares, ask your Agents which features should get one, and try them on a device.
People reach an app from Siri, the Shortcuts app and Spotlight through its App Intents: the actions the app tells iOS it can do, such as “Start Focus Session” or “Create Note”. Your Agents write them into the app. The project’s profile lists the App Intents the app’s last build declares, and asks your Agents which features should get one.
This page is about the app you’re building. To send messages to your Agents from Siri, see Use AirBuild with Shortcuts and Siri.
Open Siri & Shortcuts
The row shows how many App Intents the last build declares, or — until a build has reported them. Every project has the row, with or without an Apple Developer account.
What the page shows
Under the app’s icon and name, a line says where the list comes from:
| What you see | What it means |
|---|---|
| “n App Intents” and “From the build on date” | The list below is from the build made on that date. |
| “The last build declares no App Intents yet.” | The app has none yet. Ask your Agents for some (below). |
| “The app hasn’t been built since this list was added. Build it again to see its App Intents.” | No build has reported a list yet. Ask an Agent to build the app. |
The list comes from the app’s latest build for Preview. Signed builds, the ones for TestFlight, the App Store or a device, don’t change it.
The App Intents are grouped by where they live:
| Section | What’s in it |
|---|---|
| App | The App Intents in the app itself. |
| Extension | The App Intents in one of the app’s extensions, for example a widget. The extension’s bundle ID is under its list. |
| App Entities | The things the App Intents work on, such as a note or a session. Each is listed once. |
Each App Intent shows its name and a line of facts:
| Fact | What it means |
|---|---|
| No parameters, or how many it has, for example 2 parameters | How many values it takes, for example which note to open. |
| App Shortcut | The app offers it as an App Shortcut. |
| Opens the app | Running it brings the app to the front. |
| Schema: and a name | It follows one of Apple’s assistant schemas. |
Under the count, the page says “This is what the build declares. Whether Siri runs an App Intent is tested on a device.” When the build declares more than the page can list, it adds “The build declares more than this list can hold, so some are left out.”
If the list can’t be loaded, the page says why and offers Try Again.
Ask your Agents for App Intents
- On the Siri & Shortcuts page, tap Ask Agents to Assess at the bottom (on the Mac, click it).
- The page closes, and this message goes into the project’s chat as yours: “Please assess which of the app’s features are worth turning into App Intents for Siri, Shortcuts and Spotlight, and list the App Intents the app already declares.”
- The Agents answer in the chat. Tell them which ones to add.
You can also ask in your own words:
Add an App Intent that starts a focus session, and make it an App Shortcut so people can start one from Siri.After the next build, open Siri & Shortcuts again. The new App Intents are in the list, and the date says which build it’s from.
Try them on a device
The list shows what the build declares, not that Siri runs it. Try the App Intents on a real iPhone or iPad. Preview devices start with Siri turned off.
- Put the build on your iPhone. See Install your app on your iPhone, or Share a beta with TestFlight.
- Open the Shortcuts app and search for your app’s name. Its App Shortcuts are there, and its other App Intents are actions you can add to a shortcut.
- Say an App Shortcut’s phrase to Siri. Ask your Agents in the chat which phrases they gave it.
If something doesn’t work, tell the Agents in the project’s chat what you did and what happened.