--- title: "Get Raw Document by ID" slug: "get-raw-document-by-id" updated: 2025-01-30T20:55:26Z published: 2025-01-30T20:55:26Z canonical: "documentation.decisions.com/get-raw-document-by-id" --- > ## 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. # Get Raw Document by ID | Step Details | | --- | | **Introduced in Version** | 5.13 | | **Last Modified in Version** | 5.13 | | **Location** | Integration > MongoDB | This Step fetches a single document after a User specifies a Document ID. The difference between this Step and **Get Document ID** is that it retrieves a string representation of what is in the Database instead of deserializing it into a chosen type. ### 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#add-a-project-dependency-or-enable-a-module) once the MongoDB Module is installed. --- ## Properties #### Settings | Property | Description | Data Type | | --- | --- | --- | | Document Type | Allows Users to specify a Document Type | Varies | | Override Document ID Type | Allows Users to override the Document ID Type field and choose from a list of alternative Document ID types: **String or Object ID**, **Integer (****32 bits)**, **Integer** **(****64 bits)**, **Float (****Single)**, or **Double**. | Varies | #### 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 | | Document ID | Allows Users to specify a Document ID. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Document | This Output returns a Document from a specified Document ID. | String | --- Related Information [MongoDB Module Overview](https://documentation.decisions.com/docs/mongodb)