Skip to content
Workflows

Text Formatter - How to format text the way you want

More Tutorials from the Community https://youtu.be/9in6dO8jEJ8 https://youtu.be/3PiU8g9K04Y https://youtu.be/51rx49XK7tk https://youtu.be/6ovRBVv_lJs In…

3 min read692 words4 explained imagesUpdated Fri, 12 Apr, 2024 at 7:43 PM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.

Video 1 Open in a new tab
More Tutorials from the Community

https://youtu.be/9in6dO8jEJ8

https://youtu.be/3PiU8g9K04Y

https://youtu.be/51rx49XK7tk

https://youtu.be/6ovRBVv_lJs

In this Article

1. What is the Text Formatter Workflow Action?

Sometimes it happens you have the data in a certain format and you need to change it or extract some details from it. Sometimes getting the data in the right format needs a bit of help, which is where Text Formatter comes in. This is a free to use action that tweaks your data to get it working the way you need.

2. What are different types of Text Formatters and what are the use cases?

  • Upper Case: Converts all characters in the text to uppercase
    • Transforming user input to uppercase for standardized data.
    • Ensuring consistency in capitalization for output messages.
  • Lower Case: Converts text to lowercase.
    • Standardising text for case-insensitive comparisons.
    • Lowercasing user-provided content for uniformity.
  • Title Case: Converts text to title case (capitalizes the first letter of each word).
    • Enhancing the presentation of titles and headings.
    • Improving the readability of specific content.
  • Capitalize: Capitalizes the first letter of the text.

    • Ensuring proper capitalization for names and titles.

    • Enhancing the visual appeal of specific content.

  • Default Value: Return the default value if the text is empty, if text is present then return the text.
    • Providing fallback content for missing data.
    • Ensuring a consistent response even with incomplete information.
  • Trim: Shortens the text to a specified length.
    • Use the Trim action to enforce character limits on user-generated content, ensuring concise and well-structured input within specified constraints
    • Employ the Trim action to generate brief preview snippets of longer texts, such as article summaries or teaser content, maintaining a consistent format.
  • Trim Whitespaces: Remove whitespace from the beginning and end of text..
    • Enhancing the readability of text with proper spacing.
    • Improving the format of user-generated content.
  • Replace Text: Replaces occurrences of specified text with a new value.
    • Updating outdated information within the text.
    • Customizing template-based content with dynamic values.
  • Find: Locates the first occurrence of a specific text pattern within the text and returns its position.
    • Identifying specific keywords or phrases in user-generated content.
    • Extracting relevant information based on keywords found within text.
  • Length: Provides the character count of the text.
    • Enforcing character limits for user-generated content.
    • Analyzing the length of dynamically generated text.
  • Extract URL: Extracts the first URL from the text.
    • Collecting and validating URLs from user input.
    • Generating a list of embedded URLs within content.
  • Extract Email: Extracts the first email address from the text.
    • Validating and organizing email addresses from various sources.
    • Automatically extracting contact information from text.
  • Word Count: Provides the count of words in the text.
    • Monitoring and limiting the word count in user-generated content.
    • Analyzing the complexity of textual information based on word count.
  • Remove HTML Tags: Strips HTML tags from the text.
    • Cleaning up HTML content for plain text representation.
    • Ensuring proper rendering of text in non-HTML contexts.
  • Split: Splits the text into multiple segments based on a specified delimiter.
    • Breaking down comma-separated values into individual elements.
    • Extracting keywords or phrases from a delimited list.

3. How to use Text Formatter action?

  • Click on the "+" icon to add an action. You can find the Text Formatter in Internal Tools category or directly search for the action in the search bar.
3. How to use Text Formatter action? (image 1 of 4) What this shows Click on the "+" icon to add an action. What this shows Illustrates the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". This screenshot appears in the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". The text alongside this image reads: Click on the "+" icon to add an action. You can find the Text Formatter in Internal Tools category or directly search for the action in the search bar. Immediately after, the guide continues: Select the text formatter action and choose from the exhaustive list of Action Types. Image 1 of 4 What to clickClick on the "+" icon to add an action. You can find the Text Formatter in Internal Tools category or directly search for the action in the search bar. Next stepSelect the text formatter action and choose from the exhaustive list of Action Types.
  • Select the text formatter action and choose from the exhaustive list of Action Types.
3. How to use Text Formatter action? (image 2 of 4) What this shows Select the text formatter action and choose from the exhaustive list of Action Types. What this shows Illustrates the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". This screenshot appears in the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". The text alongside this image reads: Select the text formatter action and choose from the exhaustive list of Action Types. Immediately after, the guide continues: Trim Action Type - Select the input text you want to trim. Then select the length to which you want to trim the text. These are the mandatory fields. You also have the option to skip characters from beginning, selecting this will remove…. Image 2 of 4 What to chooseSelect the text formatter action and choose from the exhaustive list of Action Types. Next stepTrim Action Type - Select the input text you want to trim. Then select the length to which you want to trim the text. These are the mandatory fields. You also have the option to skip characters from beginning, selecting this will remove the number of characters entered in the field from the beginning of the text. Also there is a toggle to add an Ellipsis to the end of the text.
  • Trim Action Type - Select the input text you want to trim. Then select the length to which you want to trim the text. These are the mandatory fields. You also have the option to skip characters from beginning, selecting this will remove the number of characters entered in the field from the beginning of the text. Also there is a toggle to add an Ellipsis to the end of the text.
3. How to use Text Formatter action? (image 3 of 4) What this shows Trim Action Type - Select the input text you want to trim. What this shows Illustrates the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". This screenshot appears in the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". The text alongside this image reads: Trim Action Type - Select the input text you want to trim. Then select the length to which you want to trim the text. These are the mandatory fields. You also have the option to skip characters from beginning, selecting this will remove the number of characters entered in the field from the…. Immediately after, the guide continues: Split Action Type - For split action, select the input data that you want to split. Enter the "Separator". The last step is to select which segment of the text you want returned, you can select from First, Second, Last and Second Last. Image 3 of 4 What to fill inTrim Action Type - Select the input text you want to trim. Then select the length to which you want to trim the text. These are the mandatory fields. You also have the option to skip characters from beginning, selecting this will remove the number of characters entered in the field from the beginning of the text. Also there is a toggle to add an Ellipsis to the end of the text. Next stepSplit Action Type - For split action, select the input data that you want to split. Enter the "Separator". The last step is to select which segment of the text you want returned, you can select from First, Second, Last and Second Last.
  • Split Action Type - For split action, select the input data that you want to split. Enter the "Separator". The last step is to select which segment of the text you want returned, you can select from First, Second, Last and Second Last.
3. How to use Text Formatter action? (image 4 of 4) What this shows Split Action Type - For split action, select the input data that you want to split. What this shows Illustrates the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". This screenshot appears in the "3. How to use Text Formatter action?" section of "Text Formatter - How to format text the way you want". The text alongside this image reads: Split Action Type - For split action, select the input data that you want to split. Enter the "Separator". The last step is to select which segment of the text you want returned, you can select from First, Second, Last and Second Last. Image 4 of 4 What to fill inSplit Action Type - For split action, select the input data that you want to split. Enter the "Separator". The last step is to select which segment of the text you want returned, you can select from First, Second, Last and Second Last.

Was this guide helpful?

Related guides