Skip to main content

File Writer

The File Writer component processes data from upstream and writes it to a specified directory, and pushes the contents to the queue. Each message will be written to its own individual file and will have the following format: "YYYYMMDD_guid.txt" e.g., 20251211_ABCDE.txt

This component is a simplified version of the To File component. It is suitable for testing or for very simple workflows.

Running the Component

The below steps assume the correct user permissions are in place to read/write files.

STEP 1: Import the To File component

Using +COMPONENT, import the To File component.

STEP 2: Setup the component configurations in the component card

Bolded fields are required, otherwise default values defined in config.json are used:

Field

Description

Default Value

Destination Directory

The directory where the output file(s) will be stored.

Enable Debug Logs

Enable/disable logging of additional debug information.

false

STEP 3: Start the component and verify the files from your destination directory

Start the component.

Once inbound messages are processed, check the defined destination directory to see your newly created file(s).

Adapting the Component

If you need additional capabilities, such as custom file naming, the To File component provides extended features, including different encoding support and batching files into one file.

If you have a specific workflow in mind that you believe may exceed this component's functionality, please reach out to our support team at support@interfaceware.com. We'll be happy to help.