# Siri and Shortcuts

> Use Deck's actions in the Shortcuts app and with Siri.

Deck provides actions for the Shortcuts app. Add them to a shortcut to read your history, search it, paste from it or control recording. Siri phrases are available in Chinese only.

## Actions

| Action | Parameters | Result |
|---|---|---|
| **Get Recent Clipboard Records** | **Count** (default 5); **Type**: all, text, image, file, link, code or color (optional) | A list of clipboard items |
| **Get Recent Text** | **Count** (default 1) | A list of text |
| **Get Recent Links** | **Count** (default 5) | A list of links |
| **Get Recent Images** | None | The latest image as a file |
| **Search clipboard history** | **Keyword**; **Count** (default 10) | A list of clipboard items |
| **Get Clipboard by App** | **App Name**; **Count** (default 10) | A list of clipboard items |
| **Get Clipboard Count** | **Type** (optional) | A number |
| **Get Clipboard Statistics** | None | A text summary of how many items you have |
| **OCR Image Recognition** | None | The text found in the latest image |
| **Copy to Clipboard** | **Text** | Nothing |
| **Paste History** | **Clipboard Items**; **Plain Text Mode** (default off) | A text message |
| **Set Tag** | **Clipboard Items**; **Tag** | A text message |
| **Remove Tag** | **Clipboard Items** | A text message |
| **Delete Clipboard Item** | **Clipboard Items** | A text message |
| **Control Clipboard Monitoring** | **Actions**: **Pause**, **Resume** or **Timed Pause**; **Pause Duration (Minutes)** (used by **Timed Pause**, 5 if empty) | A text message |
| **Clear Clipboard History** | **Confirm Clear** (default off) | A text message |

> [!WARNING]
> **Clear Clipboard History** deletes your whole history. It does nothing unless **Confirm Clear** is on.

## Example

To copy the latest link into a note, build a shortcut with **Get Recent Links** (**Count** 1), then pass its result to an action of the app you want.

- Previous: [Smart rules and script plugins](https://deckclip.app/docs/automation/smart-rules.md)
- Next: [The deckclip command line](https://deckclip.app/docs/automation/cli.md)

---

- HTML: https://deckclip.app/docs/automation/shortcuts
- 中文: https://deckclip.app/zh-cn/docs/automation/shortcuts.md

© 2026 Yuze Pan
