Skip to content

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:
ParameterRequiredDescription
EXTRA_SEARCH_QUERYYesSearch keyword
EXTRA_LIMITNoMaximum number of results
EXTRA_PASTE_TYPENoFilter 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:
ParameterRequiredDescription
EXTRA_TEXTYesThe text to copy

Broadcast

CLIPBOARD_CHANGED

CrossPaste broadcasts this event whenever the clipboard content changes.

  • Action: com.crosspaste.event.CLIPBOARD_CHANGED
  • Fields:
FieldDescription
EXTRA_RESULT_CONTENTThe clipboard content
EXTRA_RESULT_TYPEThe content type
EXTRA_RESULT_TIMESTAMPTimestamp of the change

Example: Auto-Save Clipboard to Notes File

Using Tasker, you can automatically save every clipboard entry to a text file:

  1. Create a new Profile with the trigger Event > Intent Received.
  2. Set the action to com.crosspaste.event.CLIPBOARD_CHANGED.
  3. Add a Task with the action File > Write File.
  4. Write %EXTRA_RESULT_CONTENT to 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.