# Word

## Introduction

This document provides a comprehensive guide to using AutomMate's Word library actions, designed to streamline and automate various tasks within Word documents.

AutomMate's Word library offers a range of actions that empower users to manipulate Word files efficiently. From adding headers to inserting images and paragraphs, these actions simplify document editing processes.

## What is Word?

An overview of Microsoft Word and its role in document creation and editing.

Microsoft Word is a popular word processing software known for its versatile features and user-friendly interface.

#### Key Features:

* <mark style="color:orange;">Rich formatting options</mark>
* <mark style="color:orange;">Easy document editing and collaboration</mark>
* <mark style="color:orange;">Extensive template library</mark>
* <mark style="color:orange;">Integration with other Microsoft Office applications</mark>

## Automate Integration with Word

Explaining how Automate seamlessly integrates with Word to automate document-related tasks.

Automate's integration with Word enables users to automate repetitive tasks, saving time and effort in document creation and editing.

#### Examples of Automated Tasks:

* Adding standardized headers and footers
* Inserting images or logos into documents
* Creating templated paragraphs for common content

## Using the Integration

### Credentials

No need to use credentials.

## How To Use Actions

### Add Header

**Description:** Add a header to the Word file.

**Purpose:** Effortlessly include headers to organize and structure Word documents.

**Usage:**

1. Select the assigned Word file variable.
2. Enter or select the header text.
3. Choose the heading type (Heading 1, Heading 2, etc.).

**Inputs:**

* Word File: <mark style="color:green;">Variable containing the Word file.</mark>
* Header Text: <mark style="color:green;">Desired header content.</mark>
* Heading Type: <mark style="color:green;">Select from predefined options.</mark>

**Outputs:**

* Updated Word file with added header.

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2F0SCAESpuCPuABqc4ApMj%2Fimage.png?alt=media&#x26;token=83bd39f5-c84e-4bb5-b482-ef4886d4eee0" alt=""><figcaption></figcaption></figure>

### Add Image

**Description:** Insert an image into the Word file.

**Purpose:** Enhance documents by including visuals such as logos or illustrations.

**Usage:**

1. Select the assigned Word file variable.
2. Specify or define the image file path.
3. Enter the desired image width in inches.

**Inputs:**

* Word File: <mark style="color:green;">Variable containing the Word file.</mark>
* Image Path: <mark style="color:green;">Path to the image file.</mark>
* Image Width: <mark style="color:green;">Size of the image in inches.</mark>

**Outputs:**

* Word file with the inserted image.

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2Fxk7sdYff2lzWde6QdnXq%2Fimage.png?alt=media&#x26;token=622ee660-6ba7-49ad-aeb9-6384822973e9" alt=""><figcaption></figcaption></figure>

### Add Paragraph

**Description:** Create a new paragraph in the Word file.

**Purpose:** Add content to documents with structured paragraphs.

**Usage:**

1. Select the assigned Word file variable.
2. Enter or select the paragraph content.
3. Choose font styles and formatting options.

**Inputs:**

* Word File: <mark style="color:green;">Variable containing the Word file.</mark>
* Paragraph Data: <mark style="color:green;">Content for the new paragraph.</mark>
* Font Styles: <mark style="color:green;">Bold, Italic, Underline.</mark>
* Font Color: <mark style="color:green;">Hex code or variable.</mark>
* Font Size: <mark style="color:green;">Size of the text.</mark>

**Outputs:**

* Updated Word file with the new paragraph.

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FeLbAgw9W4lHuUQFa36Hn%2Fimage.png?alt=media&#x26;token=1b7a9c91-9063-4daf-b6f7-9135ea7b141d" alt=""><figcaption></figcaption></figure>

### Read Document

**Description:** Retrieve content from an existing Word file.

**Purpose:** Access and manipulate data from Word documents for further processing.

**Usage:**

1. Specify the file path or select the Word file.
2. Assign the retrieved data to a variable for use in subsequent actions.

**Inputs:**

* File Path: <mark style="color:green;">Path to the Word file.</mark>
* Word File: <mark style="color:green;">Variable containing the Word file data.</mark>

**Outputs:**

* Retrieved content from the Word file.

{% hint style="info" %}

### **Hint**

For Word documents exceeding 250 MB, consider breaking them into smaller files or using alternative processing methods to ensure compatibility with Autom Mate workflows.
{% endhint %}

{% hint style="danger" %}

### **Warning**

* **Limitation**: Word documents larger than 250 MB will not be processed by the **Word ReadDocument** action.
* Users attempting to process oversized files may encounter action errors or failures.
  {% endhint %}

***

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FxfFhqTdn25OD1M0DVcAj%2Fimage.png?alt=media&#x26;token=f62c1f17-4b1a-4987-b143-9d69b55ef828" alt=""><figcaption></figcaption></figure>

### Save

**Description:** Save changes made to the Word file.

**Purpose:** Ensure all modifications are preserved in the Word document.

**Usage:**

1. Select the assigned Word file variable.
2. Enter the folder path to save the updated Word file.

**Inputs:**

* Word File: <mark style="color:green;">Variable containing the Word file.</mark>
* Folder Path: <mark style="color:green;">Destination to save the updated file.</mark>

**Outputs:**

* Confirmation of the saved Word file.

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2FIbKHC9xES5zhOgT9FBCQ%2Fimage.png?alt=media&#x26;token=d8d58985-d2b6-4cd7-b08e-55f619067835" alt=""><figcaption></figcaption></figure>

***

## Additional Tips

### [**Use Cases**](https://docs.autommate.com/userguide/use-cases)

### [FAQ](https://docs.autommate.com/userguide/faq)
