Skip to content

Insert Text

What it does: Adds text content to webpages at specific locations, allowing you to create dynamic content updates, add annotations, or make interactive modifications.

NameTypeDescriptionRequiredDefault
Text ContentStringThe text you want to insertYes""
Target ElementStringCSS selector for where to insert (optional)Nobody
Insert PositionStringWhere to place text: before, after, insideNoinside
NameTypeDescription
successBooleanWhether the text was inserted successfully
insertedTextStringThe text that was inserted
targetElementStringWhere the text was inserted
positionStringThe insertion position used

Content Enhancement Add helpful annotations or explanations to existing webpage content for better understanding.

Dynamic Updates Insert real-time information like current prices, status updates, or personalized messages.

Form Assistance Add helpful hints or validation messages next to form fields to guide users.

  1. Prepare your text - the content you want to add to the page
  2. Choose the location - specify where on the page to insert the text
  3. Set the position - before, after, or inside the target element
  4. Run the workflow - the text gets added to the page

Simple Example:

{
"textContent": "✅ This information has been verified",
"targetElement": ".article-content",
"insertPosition": "after"
}
🔍 Technical Details

Element Targeting: Use CSS selectors to specify exactly where to insert text (like .class-name or #element-id).

Position Options:

  • Before: Adds text before the target element
  • After: Adds text after the target element
  • Inside: Adds text inside the target element

Text Formatting: The inserted text appears as plain text. For formatted content, use HTML insertion methods.

Limitations:

  • Changes are temporary and disappear when you refresh the page
  • Some websites may prevent content modification
  • Cannot insert into protected or secure elements

Add Verification Badge:

{
"textContent": "✅ Verified Information",
"targetElement": "h1",
"insertPosition": "after"
}

Insert Helper Text:

{
"textContent": "💡 Tip: This field is required",
"targetElement": "#email-input",
"insertPosition": "after"
}

Add Status Update:

{
"textContent": "🔄 Last updated: Today",
"targetElement": ".content-header",
"insertPosition": "inside"
}

Common Issues:

  • Text not appearing? Check that the target element exists on the page
  • Text in wrong location? Verify the CSS selector and try different position options
  • Formatting lost? This node inserts plain text - use HTML insertion for formatted content