# Create document from text

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/doc-library-activities/doc-from-text/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/doc-library-activities/doc-from-text/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity allows you to create a text document (e.g., TXT, HTML) and save the result into a SharePoint document library or on the local disk.

***Note**: You can combine this activity with the “Generate report” activity to create professional HTML or TXT reports in SharePoint.*

![Create document from text activity settings with text content, file URL, and overwrite options](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/create_document_from_text_1.png)

## **SharePoint Workflow Designer Phrase**

Create document from **this text** in **file URL**. Overwrite existing document.

**Parameters**


| Parameter | Description |
|---|---|
| this text | Content of the text file. |
| file url | Full URL to a SharePoint file or path on the local disk.; Example: `http://mysharepoint/MyDocs/Shared%20Documents/report.html`; Example: `c:\Reports\SharePoint Report.txt` |
| Overwrite | Specifies whether to overwrite an existing file. Options:; - **Overwrite** - Overwrites the existing file.; - **Do not Overwrite** - Keeps the existing file. |

