Read File (B2WS Client)
The Read File (B2WS Client) node retrieves one or more files from a connected B2Win Suite Client workstation file system and brings them into the workflow as NodeFile outputs.

Overview
Use this node when files required by the workflow originate on an end-user's local workstation or desktop environment rather than the central B2Win Suite server. Through an active WebSocket connection, the B2Win Suite server requests and downloads the file directly from the designated client machine without requiring network share mounts or manual file uploads.
Purpose
- Retrieve local files (spreadsheets, logs, scanned files, exports) from a user's workstation.
- Integrate desktop-originating files into automated server-side workflows.
- Optionally extract raw textual content directly into workflow properties for downstream expression evaluation.
Configuration

| Field | Description |
|---|---|
| B2Win Client* | The B2Win Client service configuration used to locate and connect to the target client. You can select an existing client configuration or click New Configuration to define one. |
| Enter file path on client:* | Full local file path on the workstation (e.g., C:\example_folder\examplefile.csv). Supports dynamic workflow properties such as ${EXEC_BY_USERNAME}. |
| Read file content to property | When enabled, reads textual file content into the CLIENT_FILE_READER_CONTENT property. Automatically disabled for binary file formats. |
Client Service Selection
The B2Win Client field connects to a configured B2Win Client service:
- CurrentOnlineClient: Uses the workstation that the executing user chose for themselves in Me > My Services. Each user must make this choice before the node can run for them.
- Your own configuration: Uses a specific workstation, or the first online workstation, of the user saved in the service.
Outputs
| Output | Data Type | Collection | Description |
|---|---|---|---|
| OutputFile | NodeFile | False | The file retrieved from the B2Win Suite Client workstation, saved to the workflow execution working directory. |
Properties
| Property | FlowDataType | Description |
|---|---|---|
CLIENT_FILE_READER_FILE | JsonNode | Metadata JSON describing the read client file. |
CLIENT_FILE_READER_CONTENT | String | Raw text content of the file (populated when Read file content to property is checked). |
B2WS_CLIENT_READ_FILE_FILE_NAME | String | Name of the file retrieved from the client. |
B2WS_CLIENT_READ_FILE_FILE_PATH | String | Full path of the file on the client workstation. |
B2WS_CLIENT_READ_FILE_FILE_SIZE | Long | Size of the file in bytes. |
B2WS_CLIENT_READ_FILE_FILE_LAST_MODIFIED | Long | Last modification timestamp of the file. |
B2WS_CLIENT_READ_FILE_FILE_CLIENT | String | Client display name. |
B2WS_CLIENT_READ_FILE_FILE_CLIENT_HOST | String | Client hostname. |
B2WS_CLIENT_READ_FILE_FILE_CLIENT_USERNAME | String | Operating system username of the client user. |
B2WS_CLIENT_READ_FILE_FILE_CLIENT_ID | Integer | System ID of the target client. |
Processing Logic
- Client Resolution: Evaluates the configured client service to determine the target workstation. Fails with a
NodeProcessingExceptionif no client is available or connected. - Path Evaluation: Resolves any embedded property expressions in the path (e.g.,
${EXEC_BY_USERNAME}). - Remote Retrieval: Issues a
ClientGetFilecommand across the active WebSocket channel to the target workstation'sUserClientActor. - File Ingestion: Downloads the file into the current workflow iteration's temporary working directory and wraps it in a
NodeFileinstance. - Content Extraction: If Read file content to property is enabled and the file is text-based, reads and populates the file contents into
CLIENT_FILE_READER_CONTENT. - Dispatch: Emits the
NodeFileand associated client properties downstream.
Examples
Reading User-Specific Scans
C:\signatures\${EXEC_BY_USERNAME}_scanned_signature.jpg
At runtime, ${EXEC_BY_USERNAME} is replaced with the username of the iteration runner (e.g., C:\signatures\john_scanned_signature.jpg), retrieving that user's personal file from their connected workstation.
Reading Desktop Exports
C:\Users\Administrator\Desktop\daily_export.csv
Retrieves the export file from the workstation desktop and passes it downstream to transformation or database import nodes.
On the User's Computer
This node needs the B2Win Suite Client to be installed and signed in on the target computer. What the person at that computer sees and controls is described in the client documentation:
- Approving Actions: Require Approval and Auto Approve modes, and the Approve / Skip buttons.
- File Access: the folders the client is allowed to use. The file must be on the user's File Access list, or the user is asked to allow it.
- Activity: progress, history and stopping a running action.