Replace Text finds specific text in your Google Docs and replaces it with new content. Perfect for updating templates, personalizing documents, or refreshing data in existing reports without manual editing.


Inputs

FieldTypeRequiredDescription
Document URL/IDTextYesGoogle Docs document link or ID
Text ReplacementsMapperYesMap what text to find and what to replace it with

How It Works

This node searches through your Google Docs document for specific text strings and replaces them with new content. You can set up multiple find-and-replace operations in a single node.

Text Replacement Mapping

Set up replacements using the mapper:

  • Text to find: The exact text you want to replace
  • Replacement text: What to replace it with (can include data from previous nodes)

Example Mapping:

  • Find: [CAMPAIGN_NAME] → Replace: "Holiday Sale 2024"
  • Find: [TOTAL_CLICKS] → Replace: "1,250"
  • Find: [REPORT_DATE] → Replace: "December 15, 2024"

Configuration Examples

Template Document Updates

Scenario: Update a report template with current campaign data

Document content before:

Campaign Performance Report

Campaign: [CAMPAIGN_NAME]
Total Clicks: [TOTAL_CLICKS]
Total Cost: [TOTAL_COST]
Date: [REPORT_DATE]

Configuration:

  • Text Replacements:
    • [CAMPAIGN_NAME] → Connect Google Ads campaign name
    • [TOTAL_CLICKS] → Connect click count data
    • [TOTAL_COST] → Connect cost data
    • [REPORT_DATE] → Connect current date

Result: Template populated with real campaign data.

Personalized Document Creation

Scenario: Create personalized client reports from a template

Configuration:

  • Text Replacements:
    • [CLIENT_NAME] → “ABC Company”
    • [ACCOUNT_MANAGER] → “Sarah Johnson”
    • [PERFORMANCE_SUMMARY] → Connect summary from previous node

Result: Generic template becomes personalized client document.

Data Refresh in Existing Reports

Scenario: Update last month’s metrics in an existing document

Configuration:

  • Text Replacements:
    • November: $4,500November: $5,200
    • Q3 PerformanceQ4 Performance
    • Previous periodCurrent period

Result: Document updated with new data without recreating it.

Dynamic Content Insertion

Scenario: Replace placeholders with dynamic workflow data

Configuration:

  • Text Replacements:
    • [TOP_PERFORMING_CAMPAIGN] → Connect from analytics node
    • [CONVERSION_RATE] → Connect calculated percentage
    • [RECOMMENDATIONS] → Connect AI-generated insights

Result: Document populated with real-time workflow data.


Replacement Best Practices

Placeholder Design

  • Use distinctive placeholders like [CAMPAIGN_NAME] or {{METRIC}}
  • Avoid common words that might appear elsewhere in text
  • Be specific - use [Q4_REVENUE] not just [REVENUE]
  • Keep consistent format across all placeholders

Text Matching Rules

  • Exact match required - [CLICKS] won’t match [clicks]
  • Case sensitive - be consistent with capitalization
  • Include special characters in your search text if needed
  • Test replacements on document copies first

Content Organization

  • Group related replacements logically
  • Replace large sections with smaller, specific placeholders
  • Use multiple nodes for complex replacements if needed
  • Document your placeholder system for team clarity

Error Prevention

  • Check placeholder spelling in both document and mappings
  • Verify data connections from previous nodes
  • Test with sample data before running on important documents
  • Keep backup copies of template documents

Credit Cost

Free to use - no credits required.


FAQ