Get Selected Text
Get Selected Text
Section titled “Get Selected Text”What it does: Captures any text you highlight on a webpage so your workflow can analyze, translate, or process it.
Perfect for: Research collection • Quote gathering • Language learning • Content analysis
What Goes In
Section titled “What Goes In”| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| Trim Whitespace | Boolean | Remove extra spaces from selected text | No | true |
| Max Length | Number | Maximum characters to capture (0 = unlimited) | No | unlimited |
| Include Context | Boolean | Include 50 characters before/after selection | No | false |
What Comes Out
Section titled “What Comes Out”| Name | Type | Description |
|---|---|---|
| selectedText | String | The text you highlighted |
| length | Number | Number of characters in selection |
| wordCount | Number | Number of words in selection |
| pageTitle | String | Title of the webpage |
| pageUrl | String | URL where text was selected |
Real-World Examples
Section titled “Real-World Examples”Research Assistant Highlight key findings from research papers and automatically save them to your knowledge base with source information.
Language Learning Select foreign text on any website to instantly translate it and add to your vocabulary list.
Content Creation Capture interesting quotes or statistics from articles to use in your own writing projects.
How to Use It
Section titled “How to Use It”- Highlight text on any webpage by clicking and dragging
- Run your workflow - the node automatically captures what you selected
- Process the text with other nodes like AI analysis or translation
🔍 Technical Details
Browser Requirements: Works in Chrome, Firefox, and Edge. Requires permission to access the current webpage.
Limitations:
- You must select text before running the workflow
- Cannot capture text from password fields or secure elements
- Some websites may block text selection
Try It Yourself
Section titled “Try It Yourself”Quick Start Workflow:
- Go to any news article or blog post
- Highlight an interesting paragraph
- Use this node to capture the text
- Connect it to an AI node to summarize or analyze the content
Common Issues:
- No text captured? Make sure you’ve highlighted text before running the workflow
- Missing formatting? Enable “Include Formatting” in the node settings
- Text too long? Set a “Max Length” limit to avoid processing issues
What’s Next?
Section titled “What’s Next?”Related nodes: Get All Text • Insert Text • Content Replacer
Common workflows: Smart Text Extraction • Research Collection • Content Analysis
Learn more: First Workflow Tutorial • Text Processing Patterns