I use an n8n workflow to forward E-Mails via the IMAP Reader to Telegram.
Sometimes an E-Mail is too long which causes the Telegram node to throw an error.
Is there a way how I can limit the characters/cut it off before the message is sent to the Telegram node so that the message stays inside the limit?
I already tried to add slice, but then I get [object Object] in telegram instead of the E-Mail message. O.o
{{$node["markup"].json["markuptextPlain"].slice(0, 100)}}