# Write Text File

Writes text data to a file. If `AppendIfExists` is true, the text is appended to the end of the existing file.


---

### ⬅️**INPUT**

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅Yes     | File path   |
| `Text`    | `String` | ✅Yes     | Text to write |
| `EncodingName` | `String` | ❌No      | Encoding    |
| `AppendIfExists` | `String` | ❌No      | Append to end |


---

### ➡️**OUTPUT**

| Parameter | Type | Description |
|-----------|------|-------------|
| `IsWriteTextFileSuccessful` | `Boolean` | Success     |
| `WriteTextFileMessage` | `String` | Message     |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error |