Skip to main content

Shortcuts

Default Shortcuts

The 7 iOS Shortcuts the agent server ships with by default. Tap Get Shortcut to install on your iPhone or iPad — they work as soon as you connect to the server.

Important: Don't rename the Shortcuts after installing — the agent server triggers them by their exact identifiers (newNote, newCalendarEvent, findCalendarEvents, editCalendarEvent, removeCalendarEvent, newTaskList, addTasks). If you rename one, update the corresponding skill in your agent server.

Shortcut Tutorials

Build-your-own examples that show the patterns behind the default shortcuts. Use them as starting points for your own automations with the starter server.

How it works: Your server responds with a shortcut field → PocketHook triggers the iOS Shortcut → the Shortcut receives data as input. For multi-action responses, Shortcuts run sequentially.

Build Your Own

The server response that triggers a Shortcut is simple.

{
  "msg": "Turning on lights...",
  "shortcut": "ToggleLights",
  "data": { "state": "on", "room": "living-room" }
}

Create a Shortcut on your device with the matching name, and PocketHook does the rest. See the Setup Guide and API Reference for full details.