> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Text Style

> Change the formatting and style of text in Google Slides presentations to highlight important data or match brand guidelines.

**Update Text Style** changes the visual formatting of text in your Google Slides presentations. Perfect for highlighting key metrics, matching brand colors, or emphasizing important information in reports and presentations.

***

## Inputs

| Field                     | Type      | Required | Description                                           |
| ------------------------- | --------- | -------- | ----------------------------------------------------- |
| **Presentation URL/ID**   | Text      | Yes      | Google Slides presentation link or ID                 |
| **Text Selection Method** | Select    | Yes      | Manual (few text elements) or Structured Data (Bulk)  |
| **Search Method**         | Select    | Yes      | How to find text: Regular text or Alt text            |
| **Text to Style**         | Text List | Yes      | List of text elements to apply styling to             |
| **Font Size**             | Number    | No       | Size in points (e.g., 12, 18, 24)                     |
| **Text Color**            | Color     | No       | Hex color code for text                               |
| **Bold**                  | Switch    | No       | Make text bold                                        |
| **Italic**                | Switch    | No       | Make text italic                                      |
| **Underline**             | Switch    | No       | Underline text                                        |
| **Slide Number**          | Number    | No       | Specific slide to update (leave empty for all slides) |

***

## Search Methods: How to Find Text

### Regular Text Mode

Finds text by its actual visible content.

* **Use for:** One-time styling, simple formatting changes
* **Example:** Style "Total Revenue: \$50,000" by searching for that exact text

### Alt Text Mode

Uses hidden alt text labels to identify text elements.

* **Use for:** Recurring reports, reusable templates
* **Example:** Label a text box "revenue\_highlight" and style it repeatedly

**What is Alt Text?** A hidden label you add to text elements. Right-click → Alt text to set descriptive names like "key\_metric" or "header\_title".

***

## Text Selection Methods: Manual vs Structured Data (Bulk)

### Manual Selection

Style individual text elements one by one.

**Best for:**

* 1-5 text elements
* Simple formatting updates
* One-off presentation styling

**Example:**

* Style "Q4 Results" as bold, size 24
* Style "\$125,000" in red color

### Structured Data (Bulk)

Apply different styles to multiple text elements using data from previous workflow steps.

**Best for:**

* 10+ text elements
* Dynamic styling based on data
* Automated report formatting

**Example:** Style positive numbers in green, negative in red automatically.

***

## Examples

### Manual Styling Example

**Scenario:** Highlight key metrics in a quarterly report

**Setup:**

* Set alt text "revenue\_number" on revenue figure
* Set alt text "growth\_rate" on percentage
* Set alt text "main\_title" on presentation title

**Styling:**

* `revenue_number`: Bold, size 20, green color
* `growth_rate`: Bold, red color (if negative)
* `main_title`: Size 28, blue color

### Structured Data (Bulk) Example

**Scenario:** Automatically format percentage changes based on performance

**Workflow:**

1. **Get Report** from Google Ads with current and previous month data
2. **AI Generate Structured Output** to calculate percentage changes and assign colors
3. **Update Text Style** to apply green/red formatting automatically

**AI Structured Output generates:**

| text               | font\_color | bold  | font\_size |
| ------------------ | ----------- | ----- | ---------- |
| revenue\_change    | #16a34a     | true  | 18         |
| ctr\_change        | #dc2626     | true  | 16         |
| conversion\_change | #16a34a     | false | 16         |
| cpc\_change        | #dc2626     | true  | 16         |

**Result:**

* **+15.2% revenue change** → Green, bold (positive growth)
* **-2.1% CTR change** → Red, bold (needs attention)
* **+8.7% conversion change** → Green (positive trend)
* **+12% CPC change** → Red, bold (cost increase warning)

***

## Structured Data Format Requirements

Your data must include these fields:

* **text**: Text or alt text to find and style
* **font\_size** (optional): Size in points
* **font\_color** (optional): Hex color code
* **bold** (optional): true/false
* **italic** (optional): true/false
* **underline** (optional): true/false
* **slide\_number** (optional): Target specific slide

**Example Format:**

```json theme={"dark"}
[
  {
    "text": "revenue_highlight",
    "font_size": 20,
    "font_color": "#16a34a",
    "bold": true
  },
  {
    "text": "warning_text",
    "font_color": "#dc2626",
    "italic": true,
    "slide_number": 3
  }
]
```

***

## Credit Cost

1 credit per successful run.

***

## FAQ

<Accordion title="What's the difference between Regular Text and Alt Text modes?">
  **Regular Text** finds text by its visible content. **Alt Text** uses hidden labels you add to text elements.

  Use Regular Text for one-time styling. Use Alt Text for recurring reports where you'll style the same elements repeatedly.
</Accordion>

<Accordion title="When should I use Manual vs Structured Data (Bulk)?">
  **Manual**: 1-5 text elements, simple formatting changes

  **Structured Data (Bulk)**: 10+ elements, dynamic styling based on data, automated report formatting
</Accordion>

<Accordion title="Can I apply multiple styles at once?">
  Yes, you can combine font size, color, bold, italic, and underline in a single operation. Leave any style field empty to keep the existing formatting.
</Accordion>

<Accordion title="How do I set up conditional formatting?">
  **Conditional formatting** automatically styles text based on data conditions (positive/negative values, thresholds, etc.). Here's how to set it up:

  ### Step-by-Step Setup

  1. **Get your data** from sources like Google Ads, Analytics, or Sheets
  2. **Use [AI Generate Structured Output](/nodes/ai/ai_structure)** to process the data and assign styling rules
  3. **Connect to Update Text Style** with Structured Data (Bulk) mode

  ### Schema for AI Generate Structured Output

  Configure your schema with these fields:

  * **text** (text): Alt text or regular text to find
  * **font\_color** (text): Hex color code (#16a34a for green, #dc2626 for red)
  * **bold** (boolean): true/false for bold formatting
  * **font\_size** (number): Size in points
  * **slide\_number** (number): Target specific slide

  ### Example AI Prompt for Conditional Formatting

  ```
  "Analyze this Google Ads data and create styling rules:
  - If percentage change is positive, use green color (#16a34a) and bold=true
  - If percentage change is negative, use red color (#dc2626) and bold=true  
  - If change is between -5% to +5%, use black color (#000000) and bold=false
  - Set font_size to 16 for all metrics"
  ```

  ### Sample Output from AI Generate Structured Output

  ```json theme={"dark"}
  [
    {
      "text": "revenue_change_percent",
      "font_color": "#16a34a", 
      "bold": true,
      "font_size": 16
    },
    {
      "text": "cpc_change_percent",
      "font_color": "#dc2626",
      "bold": true, 
      "font_size": 16
    }
  ]
  ```

  This creates dynamic styling that updates automatically based on your data performance.
</Accordion>

<Accordion title="What color format should I use?">
  Use hex color codes like #16a34a (green) or #dc2626 (red). You can find hex codes for your brand colors in your brand guidelines or using online color pickers.
</Accordion>

<Accordion title="Can I style text on specific slides only?">
  Yes, use the Slide Number field to target specific slides, or include "slide\_number" in your structured data to style different elements on different slides.
</Accordion>
