The website send a message notification to the WhatsApp of owners personal number when a new order is placed. To make this workflow functional , You have to get a token from Facebook and setup the WhatsApp configurations. This is the most tedious ****part of the process as it might have some confusions but this the one time process to get a WhatsApp token to connect your website with WhatsApp Business API. Before Getting started we need to understand a few things

Step 1 - Create a Facebook Business Profile

Follow This guide to create a Facebook Business Account https://www.facebook.com/business/help/1710077379203657?id=180505742745347

The business profile should be approved by facebook in order to proceed the below steps.

<aside> 💡 While filing the business details, enter the website address of your current website that you have deployed or use any other website if you already have for your business. The website should be accessible in order to get your business profile approved

</aside>

Go to Step 2 and create Facebook Developer App first and then come back to this guide as Developer App might be asked while creating the token

How to create a system user

This step is to create system user with Admin access and generate a token. The token generated here will be used in cloudflare environment variable to receive messages on WhatsApp