--- title: "Replace Documents" slug: "replace-documents" updated: 2025-01-30T20:59:11Z published: 2025-01-30T20:59:11Z canonical: "documentation.decisions.com/replace-documents" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Replace Documents | Step Details | | --- | | **Introduced in Version** | 8.16 | | **Last Modified in Version** | 8.16 | | **Location** | Integration > MongoDB | This step enables Users to replace a list of documents with another list of documents ### Prerequisites - Install the [MongoDB](https://documentation.decisions.com/docs/mongodb) Module. - **For v9 Users**: Add a [Project Dependency](https://documentation.decisions.com/docs/project-dependencies) once the MongoDB Module is installed. --- ## Properties #### Settings | Property | Description | Data Type | | --- | --- | --- | | Document Type | Allows Users to specify a Document Type | Varies | | Insert Document if ID Not Found | When this setting is checked, a document will automatically be inserted if the specified Document ID is not found. | N/A | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Collection Name | Allows Users to specify a Collection Name. | String | | Connection String | Allows Users to specify a Connection String. | String | | Database Name | Allows Users to specify a Database Name. | String | | Documents | Allows Users to specify a list of Documents | List of ReplaceDocumentItem | #### --- ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-01-20_15h52_52.png) --- Related Information [MongoDB Module Overview](https://documentation.decisions.com/docs/mongodb)