Count the number of characters or words in your Zap fields
- Tables
-
Product updates
Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
- Zaps
- Your Zapier account
- Interfaces
- Canvas
- Chatbots
- Getting started
- Agents
- MCP
- Built-in tools
- Lead Router
- Apps
Table of Contents
Available on plans:
Free
Professional
Team
Enterprise
If you’re working with apps that have character or word count limitations, you can use two transforms in Formatter’s Text action to count how many characters or words are in your data:
- Length: counts the number of characters in your data.
- Word Count: counts the number of words in your data.
- If you are an editor on your social media marketing team, you can use the Length and Word Count transforms to do a pre-check of the marketing copy that your writer’s submit. Formatter can ensure it meets the character and word count limits in your social media apps before you even take a look at the copy, then send them a notification if it does not.
1. Add a Formatter step
- In the Zap outline, click the Action step or the plus sign + to add a new action. A dialog box will open.
- In the search box, search for and select Formatter. The right sidebar will open to the Setup tab.
- Click the Action event field to open the dropdown menu and select Text.
- Click Continue to continue to the Configure tab.
2. Set up your transform
- Click the Transform field to open the dropdown menu, then select the transform that you want the Zap to perform on your string:
- Length.
- Word count.
- In the Input field, manually enter the string you want to transform or map a field from a previous step.
- If you’re using the Length transform:
- In the Ignore Whitespace? Field, select True if you want the count to exclude any spaces in your data or select False if you want the count to include all spaces too.
- Click Continue to continue to the Test tab.
3. Test your action
- Click Test step.
- The Data out tab will display the transform output so you can confirm your string was formatted correctly.
- If the new data is not what you expect, you can adjust the transform settings and retest the step again.
Once you’ve set up your Formatter action, you can use the results in further actions in your Zap.