Zum Inhalt springen
Agentic Workflowdocs
v0.8.2Kostenlos installieren

knoten / extension

Get Selected Text

Get the selected text from the page of the actual openend tab

Aktion auf der Seite ErweiterungWeb-App — nicht verfügbar

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Read the text you have highlighted on the active tab into a field.

Workflow · first-workflow.awf 3 Schritte

My first workflow: ein Workflow mit 3 Schritten, beginnend mit When Started und endend mit Edit Fields.

In AWFlow öffnen

Get Selected Text takes whatever text is currently selected (highlighted with the mouse) on the active tab and stores it in the field you name in Output field name. You get plain text, without formatting.

The output holds only the new field. Turn on Include input fields to keep the incoming item’s fields next to it.

The node fails when nothing is selected, so the rest of the workflow does not run on empty text.

  • “Select, then act” workflows: translate, summarize, look up or save the passage you just highlighted.
  • Pair it with a Context Menu or Hotkey trigger so you select text and run the workflow in one gesture.
  • To keep links and formatting, use Get HTML of Selected Text. To read the whole page, use Get All Text.
EinstellungTypWas es bewirkt
Output field name (erforderlich)TextThe name of the output field.
Options GroupThe options for the node.
Options › Include input fields ToggleWhether to include the input fields in the output. Standard: Off

Output field name: for example selection. Later nodes read it with {{ $input.selection }}.

  • Output

One item with your field, for example { "selection": "the text you highlighted" }.

None. This node needs no connection and has no slots for other nodes.

  1. Add a Context Menu trigger, so the workflow appears when you right-click selected text.
  2. Add Get Selected Text with Output field name = selection.
  3. Add Translate with Text = {{ $input.selection }}, From = English and To = French. It runs on your device.
  4. Show the result with Display Markdown.
  • “No content found”. Nothing was selected on the active tab when the node ran. Select the text first, and keep that tab active while the workflow runs.
  • Selected text inside a box on the page is not picked up. Text selected inside an embedded frame (some editors and comment widgets) is not read; only the main page is.
  • The node fails outside the extension. This node runs in the browser extension; install it or run the workflow from the extension.
Turn highlighted text into a Todoist task Anfänger · 6 Min. Benötigt eine Verbindung Explain any highlighted text in plain words Anfänger · 4 Min. Auf dem Gerät Rewrite rough text in a professional tone Anfänger · 4 Min. Auf dem Gerät
Seite bearbeiten

Zuletzt aktualisiert:

Was this page useful?
Aria zu Get Selected Text fragen