📨MAILINGS
🟢Ноw to connect WhatsApp Bot
7min
to connect whatsapp bot, you need to have a facebook business account authorize in it on https //developers facebook com go to my apps section and click create select other on the next page select business next, add your application name, email, select or create a business manager on the next page, find the whatsapp and click set up next, select the business profile next, click start using the api you need to add the phone number from which you want to send messages to whatsapp you can write a test phone number and check the sending of the message phone number id, whatsapp business account id are also listed on this page these data are needed to connect whatsapp bot in loyaltydigital cards account next, we configure the webhooks click callback url edit fill in callback url https //mailing digitalwallet cards/whatsapp/webhook/inbound verify token whatsapp bot webhook verify token click verify and save next, select webhooks manage find messages in the list and enable it click done the next step is to configure the permanent token you can find more information at https //developers facebook com/docs/whatsapp/business management api/get started#1 acquire an access token using a system user or facebook login to do this, you need to select a business manager go to https //business facebook com/settings/people select the business manager you specified in the settings earlier go to users > system users and click add (create a user enter a name and select the admin role) next, click generate new token, select our application, select token expiration " never ", enable business management catalog management whatsapp business management whatsapp business messaging click generate token save the generated token you also need to go to assign assets > apps and enable manage app go back to the business account dashboard and enable live mode you can also save the data on the screenshot to connect the whatsapp bot now connect whatsapp bot in your loyaltydigital cards account go to loyaltydigital cards mailings tab click connect account for whatsapp bot section, enter the token you saved above , sender's phone number , phone number id , whatsapp business account id