Contact us

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.

Create document from text activity settings with text content, file URL, and overwrite options

SharePoint Workflow Designer Phrase#

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

Parameters

ParameterDescription
this textContent of the text file.
file urlFull 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
OverwriteSpecifies whether to overwrite an existing file. Options: 
Overwrite - Overwrites the existing file.
Do not Overwrite - Keeps the existing file.
Updated on June 17, 2026