Tasker / Automation Integration — Make Clipboard Part of Your Workflow
CrossPaste provides an open Intent API that is compatible with popular Android automation tools including Tasker, Automate, and MacroDroid. Build powerful clipboard-driven workflows with ease.
Receivable Intents
GET_LATEST
Get the latest clipboard entry.
- Action:
com.crosspaste.action.GET_LATEST
SEARCH_CLIPBOARD
Search your clipboard history with filters.
- Action:
com.crosspaste.action.SEARCH_CLIPBOARD - Parameters:
| Parameter | Required | Description |
|---|---|---|
EXTRA_SEARCH_QUERY | Yes | Search keyword |
EXTRA_LIMIT | No | Maximum number of results |
EXTRA_PASTE_TYPE | No | Filter by type: text, url, image, file, html, rtf, color |
COPY_TO_CLIPBOARD
Copy text content to the clipboard via CrossPaste.
- Action:
com.crosspaste.action.COPY_TO_CLIPBOARD - Parameters:
| Parameter | Required | Description |
|---|---|---|
EXTRA_TEXT | Yes | The text to copy |
Broadcast
CLIPBOARD_CHANGED
CrossPaste broadcasts this event whenever the clipboard content changes.
- Action:
com.crosspaste.event.CLIPBOARD_CHANGED - Fields:
| Field | Description |
|---|---|
EXTRA_RESULT_CONTENT | The clipboard content |
EXTRA_RESULT_TYPE | The content type |
EXTRA_RESULT_TIMESTAMP | Timestamp of the change |
Example: Auto-Save Clipboard to Notes File
Using Tasker, you can automatically save every clipboard entry to a text file:
- Create a new Profile with the trigger Event > Intent Received.
- Set the action to
com.crosspaste.event.CLIPBOARD_CHANGED. - Add a Task with the action File > Write File.
- Write
%EXTRA_RESULT_CONTENTto your desired notes file path.
Every time you copy something, it will be automatically appended to your notes file.
More Automation Ideas
- Auto-translate: Detect language of copied text and trigger a translation app.
- Link archiving: Automatically save copied URLs to a bookmark manager or read-later service.
- Work log: Append timestamped clipboard entries to a daily log file.
- Smart categorization: Route clipboard content to different files or apps based on content type.