Problems with my text

I am creating an automation that will watch emails to detect when a task arrives and then add it to Notion. However, the text is too long, as Notion only allows a maximum of 2000 words. I need help with the easiest way to shorten the text.

1 Like

Hi, how about AI? You can push the text into chatGPT and tell it to summarize everything into a new text which should contain a maximum of 2000 words.
Basically this is what call transcribing apps do. They get a meeting transcript and then provide you a short summary using different AIs.

2 Likes

hey thank you for the answer, i already thought of that but dont you need to pay both for openAI and chatGPT?
and if so that is not something my bosses think is in the budget for this when it is “only” for ourself

How about using the following regular expression with Text Parser’s Match Pattern Module?
Regexp: ^.{0,2000}

I have not actually used it to count the number of characters, but I think it is the easiest solution without spending a lot of money.

hey!
Thank you so much for the message, i just tried it but it just says error stuck in infinite loop :thinking: