presentation | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. |
search_method | string or SelectableOption | Yes | - | Method to identify elements for text replacement: ‘alt_text’ - Find elements by their alt text property (RECOMMENDED) ‘regular’ Find and replace text within slide content Always use and recommend alt text method for reliability. Tell users they need to: 1. Insert a text box in their slides 2. Right-click on text boxes in their slides Select “Alt Text” 3. Add unique identifiers (e.g., “Cost”, “Conversions”) 4. Use these alt text values in the find/replace operation Alt text prevents issues when slide content changes and ensures consistent targeting. |
update_type | string or SelectableOption | Yes | - | Choose how to provide the text replacement data. Available options: ‘all’ - Use data from previous steps containing find/replace pairs, ‘mapped’ - Define individual text replacements manually |
text_replacements | object | No | - | Manual text replacements as key-value pairs where key is text to find and value is replacement text. REQUIRED when update_type is ‘mapped’. MUST BE NULL/EMPTY when update_type is ‘all’ - clear this field if update_type changes to ‘all’. Supports markdown formatting (alt_text method only). The only supported formats are: - bold for bold text - italic for italic text - [link text](url) for clickable links Example: {‘Cost’: ‘522.5’, ‘Conversions’: ‘{{nodeId__data.conversions}}‘} |
structured_data | array (also accepts a comma-separated string) | No | - | Data source containing text replacement pairs. REQUIRED when update_type is ‘all’. This will be mainly the output of an upstream node like AI structured output. MUST BE NULL/EMPTY when update_type is ‘mapped’ - clear this field if update_type changes to ‘mapped’. Supports multiple flexible input formats: 1. Single dictionary with key-value pairs (keys become ‘find’, values become ‘replace’): {“cost”: “14.77”, “impressions”: “62”} 2. List with one dictionary with key-value pairs: [{“cost”: “14.77”, “impressions”: “62”}] 3. Standard find/replace format (existing functionality): [{“find”: “old text”, “replace”: “new text”, “slide_number”: 1}] Optional ‘slide_number’ field can target specific slides in any format. Note: Lists with multiple dictionaries are only supported when using the standard find/replace format. For key-value transformation, provide either a single dictionary or a list with one dictionary. Note: the text type can be either ‘alt_text’ or ‘regular’. Works with both, use alt_text for best results. Supports markdown formatting in replacement values (alt_text method only). The only supported formats are: bold, italic, and [link](url). Examples: ‘{{nodeId__data}}’ The node output can be any of the above formats. |
slide_number | integer | No | - | Optional slide number to target for text replacement (1-based indexing like seen in Slides UI). Leave empty to replace text in all slides. Only applies when update_type is ‘mapped’. Must be a positive integer if specified. |