Text
Introduction
The 'Text' operation in Autom Mate provides functionalities for working with text documents and text-based data. This operation includes actions for reading and saving text data, essential for various text processing tasks.
The purpose of the 'Text' component is to offer efficient ways to handle text documents and data within automated workflows. It enables users to read existing text files, process the data, and save the results for future use.
What is Text?
The 'Text' component provides actions to read and save text-based data. These operations are vital for tasks involving text processing, data extraction, and document management.
Key Features
Reading Text Data:
Read existing text documents or text-based data.
Saving Text Data:
Save processed data into text documents or data files.
How To Use Action
Text Read

Description: The 'Read' action in the 'Text' component is used to load existing text documents or text-based data.
Usage:
File Path:
Specify the path of the text document or data to be read.
The 'Read' action loads the specified text data for further processing.
Hint
If you're working with text files larger than 250MB, consider splitting them into smaller files or using specialized tools for processing. This ensures seamless integration with the Text Read action and avoids workflow interruptions.
Text Save

Description: The 'Save' action in the 'Text' component allows users to save processed data into text documents or data files.
Usage:
File Path:
Specify the path where the processed data will be saved.
The 'Save' action stores the result of the operation into the specified file.
Additional Tips
Use Cases
FAQ
Worked example: read a small text resource
Create a UTF-8 test file named docs-request.txt with REQ-DEMO-001 on the first line and department=finance on the second. Use a disposable resource visible to the selected runtime.
1. Add Text → Read and set File Path to the actual test resource path.
2. Select the output assignment offered by the installed action and run the isolated path. Inspect the returned text before adding Text → Save.
3. Expect both lines to be present in the same order. Record the newline representation if another system requires a specific line ending.
4. If the file is missing, compare the execution host and resource path with the location where the file was uploaded. A browser-local file path is not automatically a runtime file path.
5. For a later Save test, use a dedicated output path and inspect the action for its required content input before running; do not overwrite the input file while learning the mapping.
Was this helpful?

