Definition and Usage
Add prefix or suffix modifies text by appending content either at the beginning (prefix) or at the end (suffix) of the original text. This command is useful for formatting text, adding standard headers or footers, creating consistent naming conventions, or preparing data for further processing.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Original text | Enter text or select a variable containing the text | Any text | Yes | Supports variable input |
Operation | Choose whether to add a prefix or a suffix | Add prefix, Add suffix | Yes | Determines where the text will be added |
Text to add | Enter the text to add | Any text | Yes | Supports variable input |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable containing the modified text with the added prefix or suffix, as specified in the "Store updated text into" parameter.
Using Variables in Conditions
Parameters with the {x} icon can accept variables as input. You can use previously defined variables to provide dynamic values for the original text or the text to add. This allows for more flexible text manipulation based on runtime values. When using variables, ensure they contain appropriate text values that can be processed by this command.
Notes
This command concatenates strings and doesn't add any separators (spaces, dashes, etc.) automatically. If you need separation between the original text and the added content, include it explicitly in your prefix or suffix.
Empty strings are valid inputs for both the original text and the text to add, which can be useful for creating new text strings or appending content conditionally.
The operation is purely text-based and doesn't perform any formatting or validation on the input or output text.