Skip to main content

Hello everyone,

 

I created a zap to get my mails into discord, and the problem is that some of my mails are too long to be displayed, there are more than 2000 characters.

Is there a way to know how many characters I have in my message ? 

 

Thanks for your answers.

Hi @Damien

 

It sounds like the Formatter by Zapier is going to be your friend for this one! If you select the ‘Text’ action there is an option which can count the words in the field (though not the characters), but the one that I think you’ll need is the ‘Truncate’ option. 

This will cut a field down to the number of characters that you specify

1d8ba8ff3deed2e589d8362be223da39.png
(View image larger)

 

So if you add this step in your Zap, and then in the Discord step, use the output of the Formatter step, then the number of characters will always be 2000 or less. 


Thank you very much, I’ll try it