Table of Contents

WhatsApp Shop Integration

To showcase products from your shop, utilize the merge fields outlined below.

  • Order Processing: When a user submits an order, the order details are transmitted to the URL defined in Settings > WhatsApp > Order webhook. The script at that URL is responsible for processing the order and confirming it to the user via the PHP API function sb_whatsapp_send_message().
  • WooCommerce: To integrate the shop with WooCommerce, please click here.

WhatsApp shop

To displays the products of your shop use the merge fields below.

Merge fieldDescription
{catalog id=”123″ product_id=”123″ body=”” footer=””} Display a single product. Replace id with the catalog ID and product_id with a product ID. The attributes body and footer are optional.
{catalog id=”123″ product_id_1_1=”123″ product_id_1_2=”123″ product_id_2_1=”123″ section_1=”” section_2=”” header=”” body=”” footer=””} Display multiple products. Replace id with the catalog ID. Add products by grouping them into sections, via the attributes product_id_[A]_[B], replace [A] with the section index, starting from 1, replace [B] with the product index, starting from 1 for each section. You must also add the attribute section_[A]=”” for each section, replace [A] with the section index. The attributes header and body are required, footer is optional.

  • When the user sends the order, the order information is sent to the URL specified in Settings > WhatsApp > Order webhook. The page at that URL should process the order and send a message to the user via the PHP API function sb_whatsapp_send_message().
  • To connect the shop to WooCommerce click here.

More information

  • You cannot send a WhatsApp message to a user who has sent you a message more than 24 hours ago or has never messaged you before. WhatsApp prohibits this action. Instead, you must use a WhatsApp template or send an text message. If you encounter an “Error message: Re-engagement,” it indicates this situation.
  • If you does not receive WhatsApp messages make sure you are not assigning the WhatsApp conversations to a department and that the WhatsApp number used for testing is not a phone number of a CHAT.devad.io admin or agent. Also, make sure you setup correctly the WhatsApp webhook URL .
  • If you can not send messages, an error should appear in the admin area when you try to send a message to the user.
  • We cannot provide support for Twilio or 360dialog configuration, including all related issues.
  • We cannot provide support in getting your WhatsApp account or WhatsApp message template approved.
  • WhatsApp conversations and messages are compatible with queue and routing.
  • If you are testing with the sandbox and after 72 hours you can no longer send messages to your phone number you must link again your phone number to your sandbox.
  • You can send rich messages to WhatsApp. If you send chips, buttons or select rich messages, with more than 3 options, you can use the whatsapp=”Your menu text” shortcode attribute to set the text of the WhatsApp message menu.
  • The follow-up message is supported, but the message is always sent, also if an agent replies.
  • The offline message is supported, but the timetable is not sent.
  • The chatbot is supported. The human takeover feature is also supported. To enable the Dialogflow chatbot support for audio messages, activate Settings > Artificial Intelligence > OpenAI > Speech recognition
  • The supported AI features include language detetction, spelling correction, multilingual via translation, Google search.
  • Twilio and 360dialog has many limitations. For example, Twilio does not support messages longer than 1600 characters. We strongly recommend to use the Official WhatsApp API.

Categorized in:

CHAT App, WhatsApp,

Tagged in: