Create document from file
This activity creates a new document from a specified file.

SharePoint Workflow Designer Phrase
Create original file name document from file path in parent folder URL, Overwrite existing document, and store file url to output file url.
Parameters
| Parameter | Description |
|---|---|
| file path | The source file: an absolute URL or the path to a file on the server. The file is loaded over HTTP with the credentials of the application pool account. |
| parent folder URL | Full URL to the destination folder.; Example: http://mysharepoint/MyDocs/Shared%20Documents |
| original file name | Optional. Name of the new document; if empty, the name of the source file is used. Not used with Create unique name. |
| Overwrite | Specifies what happens when a document with this name already exists. Options:; - Overwrite - Overwrites the existing file.; - Do not Overwrite - Keeps the existing file: the document is not created, and “File ‘…’ already exist” is written to the workflow history.; - Create unique name - Adds a random suffix to the name of the source file; the original file name is not used. |
| output file url | Variable that receives the URL of the created document. |