Create document from text
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.

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.htmlExample: 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. |