Automator
You can make use of the “Run AppleScript” action to easily access TextSoap cleaning functionality within Automator workflow.
Run AppleScript Action

With an Automator workflow, you can add a “Run AppleScript” action to your workflow. The default action script provides for input and parameters.
The input is the text that is being processed. With a few lines of AppleScript, we can tell AppleScript to use TextSoap to clean the contents of the provided text.
Returning input is an important part of the workflow and warrants an extra mention. Even if you do not work with the input, it is standard practice to pass along the input (via “return input”) to allow the next action can work with the provided text.
Cleaning Text Contents

An example AppleScript action that takes the input text and applies the specified cleaner returning the results.
Limits: Text processed is plain text.
Clean Clipboard Contents

Another example demonstrates how to clean the clipboard with TextSoap.
Cleaning the clipboard does not require working with the input text, but we still return input to allow the next action to work with it.
Also, when cleaning the clipboard contents, TextSoap will attempt to keep style information of any RTF text on the clipboard.