Skip to main content
Best answer

How do I trim email body length in Zap and send Gmail to Slack?

  • June 9, 2023
  • 2 replies
  • 736 views

mccontracting

I have a zap that sends emails from Gmail to Slack. Is there a way to limit the email body to a specific number of characters? The messages are too long. I only require the first 50 words or approximately 250 letters from the email body for my needs.

Best answer by christina.d

Hey there, @mccontracting! Thanks for reaching out in community. 🤗 

This should be achievable using a Formatter by Zapier action and the Truncate option.

So your zap might look like:

  1. GMail Trigger
  2. Formatter by Zapier - Text - Truncate
  3. Slack Action

In the interest of full transparency though this would require at a minimum a Starter plan due to the need for an extra step.

I hope some of this helps and let us know if you have any other questions! 🙂

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • Answer
  • June 9, 2023

Hey there, @mccontracting! Thanks for reaching out in community. 🤗 

This should be achievable using a Formatter by Zapier action and the Truncate option.

So your zap might look like:

  1. GMail Trigger
  2. Formatter by Zapier - Text - Truncate
  3. Slack Action

In the interest of full transparency though this would require at a minimum a Starter plan due to the need for an extra step.

I hope some of this helps and let us know if you have any other questions! 🙂


mccontracting

Thank you so much, I am willing to upgrade for this