Whatsapp recipient not working

Hi i am getting error to send mesage by using whatsapp. when i add recipienrt phone no in meta then i run workflow it works but i can’t add phone number every time in meta. can you help me with this how can i solve it?

Hi, the issue you are encountering is not n8n related but meta. Meta restricts to which users you can send messages when in testing phase - there is no way around it, in testing environment each tester number has to be whitelisted.

Once you are ready to go to production with your app, this restriction is lifted. That step does however require business and phone number verification.

Hi @Usama_Shahid,

This error happens because your WhatsApp Cloud API is still in test mode, where only numbers that are manually added to the “Allowed recipients” list in the Meta Developer Dashboard can receive messages. When you use a dynamic number (like {{ $json["messages"][0]["from"] }}) and that number isn’t on the allowed list, the API returns the error “Recipient phone number not in allowed list.” The solution is to go to the Meta Developer Dashboard → Getting Started → Phone numbers you can message, and add the test number there so your workflow runs automatically without typing the number manually each time. If you don’t want to add numbers every time, switch your WhatsApp Cloud API to production mode, which allows you to send messages to any number without restrictions.

Thanks!