Whatsapp message limitation

Hi, i’m new user for n8n.

I have a question.

I have whatsapp working, but the problem is whatsapp only allo
Param text[‘body’] must be at most 4096 characters long.

how do i get around this? is there a way for the bot to send messages in batches?

Hi, I guess everything is possible. its up to you how you chunk it. this could be done in a code node (returning seperate json items) and then sending ithem seperatly (via a loop of items). whether its a smart idea. not sure. Also you might run into rate limits of the API if you have lots to send

thanks!! i’ll try this

hello @Mamenn89

You should check for the message length and spit it into batches. Example with the Code node:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.