Visit the Facebook Developer Portal and create a new app.Select “Other” for “What do you want your app to do?” and select “Business” for “Select an app type”.
Copy the following pieces and paste them in the Novu WhatsApp Business integration settings:
Temporary access token - Access API token field
Phone Number ID - Phone number identification field
It’s important to note that the test credentials for whatsapp cannot be used
in production and will expire in 24 hours. You will need to submit your app
for review to obtain production credentials.
You can add a test phone number to the sandbox by clicking on the “Add Phone Number” button.
This number can be used to test your integration with Novu before submitting for a review.
You can now create a new workflow with a “chat” node, and add your content. Save your workflow, and click on “Trigger Notification” button.In the to field, specify the phone number you added in the sandbox, and click on “Send Notification”.
You will need to create a WhatsApp Template to send notifications to your customers. Create a template in the Business Manager and submit it for review.
After your template is approved, you can use the template_name to send notifications to your customers.To send a notification with a template, you will need to add the following to the overrides field: