SMS Notification
Setup WhatsApp Business
26 min
overview & purpose whatsapp business integration helps companies connect with customers quickly and personally through a trusted platform it allows businesses to send real time updates, provide faster support, automate key communications, and boost engagement with higher open rates than traditional channels with features like secure messaging, personalized conversations, and easy sharing of offers and updates, it creates a smoother, more responsive customer experience while building stronger relationships how to integrate read the below systematic guide to integrate whatsapp business into your onprintshop website 1 login to facebook account 1 login to facebook account login to your facebook account with your email id and password otherwise, create a new account on facebook (you will need a developer's account ) 2 2 create create a new app a new app visit the facebook developer's site click on "my apps" from the top right corner and then create a new app using the create app button on the create an app, enter the app name and contact email, and click on the next button in the next screen, select the use case as other and then click on the next button now, select the app type as "business" and then click on the next button this will take you to the provide basic information page, verify the details and click on the create app button 3 3 create a business portfolio create a business portfolio to create a business portfolio, click on my apps in the top menu select the app in which you want to create a business portfolio click on the whatsapp dropdown from the left hand menu and select quickstart in the pop up, click the continue button fill in the required details your business and account name, your name, and your business email address after submitting the details, your whatsapp business portfolio will be created 4 4 add a product add a product and set up api and set up api from the add product page, locate whatsapp and click on the setup button on the next screen, select the business portfolio you created in step 2, read the instructions, and click on the continue from the api setup screen, add the phone number that will be used for the whatsapp business account and follow the on screen instructions to complete the setup 5 5 add a add a whatsapp account go to business facebook com and log in to your account click on settings from the left hand side menu select whatsapp accounts from the same menu click the add button on the right hand side in the pop up, choose create a new whatsapp business account enter your whatsapp business name, making sure it matches your legal documents fill in the remaining required business information choose the option to add a new number select your country and enter a valid phone number choose a verification method either text message or phone call enter the verification code and click next to complete setup whatsapp will review your account, and you can check the account status in the summary section 6 verify whatsapp business account 6 verify whatsapp business account once your whatsapp business account is approved, you can begin the verification process click on security center from the left hand side menu locate the verification button in the security center click the button and follow the on screen instructions to complete the verification process verification required whatsapp sender verification is mandatory you wonโt be able to send whatsapp messages until the verification is completed now, it is time to generate the access token for the api follow these steps to generate system users' access tokens 7 7 get phone number id and whatsapp business account id get phone number id and whatsapp business account id from the api setup screen, copy the phone number id and whatsapp business account id and keep it at a secure place for futher process 8 add whatsapp notification templates 8 add whatsapp notification templates add templates to create a whatsapp template for notifications via onprintshop, follow these steps to get started with template, visit meta's whatsapp template manager and click on the create template button select the category that matches your requirement, such as marketing or utility, and choose "default" as the template type note only the default template type is supported for both marketing and utility categories the authentication category is not supported on the onprintshop platform move to the next step via "edit template" from the top or the "next" button from the bottom of the screen enter a unique template name that can't be changed later choose the desired language for the template content and move to the content section configure the main content of your template using the following fields variable type only name type is supported (number type is not supported) media sample not supported in ops header (optional) add a title or summary body enter your message body you can use onprintshop supported variables by enclosing them in double curly braces (e g , {{order id}}) footer (optional) add text such as unsubscribe info (e g , "reply stop to opt out") ops supports auto blocking marketing messages if a user replies with stop add buttons (optional) the following button types in ops custom button visit website call phone number " complete flow โ and โ copy offer code โ button types are not supported once youโve filled in all fields, submit the template for review whatsapp will take up to 24 hours to review and approve the template edit templates from the meta's whatsapp template manager, select the template to edit and then click on the edit template button from the top right corner note you can modify any part of the template except the name after editing, submit the template again for whatsappโs review the edited template enters a review stage that can take up to 24 hours during this review period, the template cannot be used to send messages 9 9 configuration in admin panel configuration in admin panel general configuration navigate to the admin >> store configuration >> external service settings >> sms notifications tab >> whatsapp business >> โactionโ dropdown >> โeditโ option enter the saved ids and the access token generated for whatsapp notifications, assign the countries, set the mode to "live", and enter the email id save the details after the configuration, click on the action dropdown and select map templates on the map templates screen, first of all, click on the sync templates button in the top right corner this will fetch and list down all the content templates you have created in the whatsapp dashboard into the "select whatsapp template" dropdown now, it is time to map the messages from the whatsapp dashboard with the admin panel using map templates select the email template and the whatsapp templates from the drop down click on save and back order configuration set up webhook go to facebook for developers from the left hand menu, click api setup in step 3, click the configure webhook link in the callback url field, enter the following url (replace your store url with your actual store domain) {your store url}/external service/whatsappbusiness/whatsapp webhook php in the verify token field, enter yumxra4qzficeu4qwkwg click verify and save once verified, a list of webhook fields will appear subscribe to the following two fields flows messages g enerate product feed from the whatsapp business integration screen, navigate to the action > generate feeds from the whatsapp feed variants screen, first generate the product variants for shopping feeds now, move to the edit tab and click on the "click here" link to view the generated feeds in xml format copy the xml url, as this url will be used to populate the product catalog in meta create meta catalog once the whatsapp feeds are generated, the next step is to create the product catalogue in meta for this, visit facebook business click the all tools button, then select commerce click the + (plus icon) to create a new catalog and follow the guided steps in the final step, choose add a data feed url and configure the required settings for guidance, refer to the following guides create a catalogue in commerce manager upload items to a catalogue enable catalog in whatsapp business account go to whatsapp business manager enable the following settings show catalog icon in chat header show the "add to basket" button on product pages and chat these settings will make the shop icon visible in your whatsapp business chat interface import flows and templates from onprintshop import the pre configured automation flows and message templates provided by onprintshop to enable smooth integration with whatsapp business