<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article What is Click to WhatsApp, and how does it integrate with the Conversation API? in WhatsApp</title>
    <link>https://community.sinch.com/t5/WhatsApp/What-is-Click-to-WhatsApp-and-how-does-it-integrate-with-the/ta-p/15320</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;A title="Click to WhatsApp" href="https://business.whatsapp.com/products/ads-that-click-to-whatsapp" target="_blank" rel="noopener"&gt;Click to WhatsApp&lt;/A&gt; is a feature that allows you to use advertisements to direct end-users (your company's customers) to WhatsApp conversations with your company. It offers a convenient way for end-users to start a conversation with your company from an ad on Facebook, Instagram, or Messenger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ease of the integration helps companies reach a wider audience and engage end-users effectively by leveraging the popularity and reach of Meta's platforms. End-users can click on the ad and start a WhatsApp conversation with your company instantly, without the need to dial numbers or search for contacts. By reducing friction and increasing convenience, Click to WhatsApp can increase customer satisfaction and brand loyalty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click to WhatsApp supports multiple simultaneous campaigns, allowing you to personalize each ad based on its unique Meta campaign identifier (&lt;CODE&gt;sourceID&lt;/CODE&gt;). By integrating a chatbot, you can tailor each ad to meet individual end-user preferences and needs, directing them more effectively to the products or services they want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="click-to-whatsapp.png" style="width: 963px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5004i1798DEFD4A1FB2D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="click-to-whatsapp.png" alt="click-to-whatsapp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use Click to WhatsApp, you must&amp;nbsp;&lt;A title="create Click to WhatsApp ads" href="https://business.whatsapp.com/products/create-ads-that-click-to-whatsapp" target="_blank" rel="noopener"&gt;create&lt;/A&gt; campaigns in the Meta Ads Manager (or using the Meta Marketing API). You can select the campaign objective, create a set of ads targeting WhatsApp, and develop creative content that encourages end-users to start a conversation on WhatsApp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;How to use Click to WhatsApp with Conversation API&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you create a campaign that makes use of Click to WhatsApp, you associate the campaign with a WhatsApp business account. When you do so for WhatsApp business accounts that are connected to your Sinch solution, you can use Sinch's functionality to conduct conversations and transactions with end-users that click the ads associated (through the&amp;nbsp;&lt;CODE&gt;sourceID&lt;/CODE&gt;&amp;nbsp;value) with the corresponding campaign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ad data is loaded into a pre-configured element that allows the end-user to click to interact with the WhatsApp channel. When the end-user clicks the ad, they can create and populate a message. That message and the corresponding content are then sent via API as a Mobile Originated (MO) message. In the payload for that MO message, the escaped&amp;nbsp;&lt;CODE&gt;referral&lt;/CODE&gt; field (contained within the &lt;CODE&gt;metadata&lt;/CODE&gt; field) is populated with all the ad data, allowing you to capture key information and personalize the interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;These MO message callbacks are delivered using &lt;A title="webhooks" href="https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100" target="_blank" rel="noopener"&gt;webhooks&lt;/A&gt;. The webhook used to retrieve inbound messages must include the &lt;CODE&gt;MESSAGE_INBOUND&lt;/CODE&gt; trigger.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an example of the payload of a Conversation API callback generated from a Click to WhatsApp ad:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "app_id": "01EB37HMH1M6SV18ASNS3G135H",
  "accepted_time": "2020-10-01T12:10:55.073703Z",
  "event_time": "2020-10-01T12:10:53.991Z",
  "project_id": "c36f3d3d-1513-4edd-ae42-11995557ff61",
  "message": {
    "id": "01EKJ1534NWK5R02TGWEJN13HA",
    "direction": "TO_APP",
    "contact_message": {
      "media_card_message": {
        "url": "https://1vxc0v12qhrm1e72gq1mmxkf-wpengine.netdna-ssl.com/wp-content/uploads/2019/05/Sinch-logo-Events.png",
        "caption": "Check out my product!"
      }
    },
    "channel_identity": {
      "channel": "WHATSAPP",
      "identity": "46712312312",
      "app_id": ""
    },
    "conversation_id": "01EKJ0KSWXMVDF05MG9TQ20S06",
    "contact_id": "01EKA07N79THJ20WSN6AS30TMW",
    "metadata": "{\"referral\":{\"source_type\":\"&amp;lt;SOURCE_TYPE&amp;gt;\",\"source_id\":\"&amp;lt;SOURCE_ID&amp;gt;\",\"source_url\":\"&amp;lt;SOURCE_URL&amp;gt;\",\"ctwa_clid\":\"&amp;lt;CLICK_ID&amp;gt;\",\"headline\":\"Our new product\",\"body\":\"This is a great product\"}}",
    "accept_time": "2020-10-01T12:10:55.060170Z"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;The majority of these fields include information regarding your Conversation API solution. More information can be found about these fields in our &lt;A title="reference documentation for Inbound Message callbacks" href="https://developers.sinch.com/docs/conversation/callbacks/#inbound-message" target="_blank" rel="noopener"&gt;reference documentation for Inbound Message callbacks&lt;/A&gt;. The&amp;nbsp;&lt;CODE&gt;metadata&lt;/CODE&gt; field, which includes the escaped &lt;CODE&gt;referral&lt;/CODE&gt; data, includes the information relevant to the specific ad interaction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"metadata": "{\"referral\":{\"source_type\":\"&amp;lt;SOURCE_TYPE&amp;gt;\",\"source_id\":\"&amp;lt;SOURCE_ID&amp;gt;\",\"source_url\":\"&amp;lt;SOURCE_URL&amp;gt;\",\"ctwa_clid\":\"&amp;lt;CLICK_ID&amp;gt;\",\"headline\":\"Our new product\",\"body\":\"This is a great product\"}}"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More information about the escaped fields can be found in our &lt;A title="reactions to ads" href="https://developers.sinch.com/docs/conversation/channel-support/whatsapp/message-support/#reaction-to-ads" target="_blank" rel="noopener"&gt;developer docs on reactions to ads&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://www.sinch.com/products/apis/messaging/whatsapp/" target="_blank" rel="noopener noreferrer"&gt;Learn more about the Sinch WhatsApp Business API&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 14:23:47 GMT</pubDate>
    <dc:creator>Sam_Williams</dc:creator>
    <dc:date>2024-05-09T14:23:47Z</dc:date>
    <item>
      <title>What is Click to WhatsApp, and how does it integrate with the Conversation API?</title>
      <link>https://community.sinch.com/t5/WhatsApp/What-is-Click-to-WhatsApp-and-how-does-it-integrate-with-the/ta-p/15320</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;A title="Click to WhatsApp" href="https://business.whatsapp.com/products/ads-that-click-to-whatsapp" target="_blank" rel="noopener"&gt;Click to WhatsApp&lt;/A&gt; is a feature that allows you to use advertisements to direct end-users (your company's customers) to WhatsApp conversations with your company. It offers a convenient way for end-users to start a conversation with your company from an ad on Facebook, Instagram, or Messenger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ease of the integration helps companies reach a wider audience and engage end-users effectively by leveraging the popularity and reach of Meta's platforms. End-users can click on the ad and start a WhatsApp conversation with your company instantly, without the need to dial numbers or search for contacts. By reducing friction and increasing convenience, Click to WhatsApp can increase customer satisfaction and brand loyalty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Click to WhatsApp supports multiple simultaneous campaigns, allowing you to personalize each ad based on its unique Meta campaign identifier (&lt;CODE&gt;sourceID&lt;/CODE&gt;). By integrating a chatbot, you can tailor each ad to meet individual end-user preferences and needs, directing them more effectively to the products or services they want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="click-to-whatsapp.png" style="width: 963px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5004i1798DEFD4A1FB2D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="click-to-whatsapp.png" alt="click-to-whatsapp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use Click to WhatsApp, you must&amp;nbsp;&lt;A title="create Click to WhatsApp ads" href="https://business.whatsapp.com/products/create-ads-that-click-to-whatsapp" target="_blank" rel="noopener"&gt;create&lt;/A&gt; campaigns in the Meta Ads Manager (or using the Meta Marketing API). You can select the campaign objective, create a set of ads targeting WhatsApp, and develop creative content that encourages end-users to start a conversation on WhatsApp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;How to use Click to WhatsApp with Conversation API&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you create a campaign that makes use of Click to WhatsApp, you associate the campaign with a WhatsApp business account. When you do so for WhatsApp business accounts that are connected to your Sinch solution, you can use Sinch's functionality to conduct conversations and transactions with end-users that click the ads associated (through the&amp;nbsp;&lt;CODE&gt;sourceID&lt;/CODE&gt;&amp;nbsp;value) with the corresponding campaign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ad data is loaded into a pre-configured element that allows the end-user to click to interact with the WhatsApp channel. When the end-user clicks the ad, they can create and populate a message. That message and the corresponding content are then sent via API as a Mobile Originated (MO) message. In the payload for that MO message, the escaped&amp;nbsp;&lt;CODE&gt;referral&lt;/CODE&gt; field (contained within the &lt;CODE&gt;metadata&lt;/CODE&gt; field) is populated with all the ad data, allowing you to capture key information and personalize the interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;&lt;EM&gt;These MO message callbacks are delivered using &lt;A title="webhooks" href="https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100" target="_blank" rel="noopener"&gt;webhooks&lt;/A&gt;. The webhook used to retrieve inbound messages must include the &lt;CODE&gt;MESSAGE_INBOUND&lt;/CODE&gt; trigger.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an example of the payload of a Conversation API callback generated from a Click to WhatsApp ad:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "app_id": "01EB37HMH1M6SV18ASNS3G135H",
  "accepted_time": "2020-10-01T12:10:55.073703Z",
  "event_time": "2020-10-01T12:10:53.991Z",
  "project_id": "c36f3d3d-1513-4edd-ae42-11995557ff61",
  "message": {
    "id": "01EKJ1534NWK5R02TGWEJN13HA",
    "direction": "TO_APP",
    "contact_message": {
      "media_card_message": {
        "url": "https://1vxc0v12qhrm1e72gq1mmxkf-wpengine.netdna-ssl.com/wp-content/uploads/2019/05/Sinch-logo-Events.png",
        "caption": "Check out my product!"
      }
    },
    "channel_identity": {
      "channel": "WHATSAPP",
      "identity": "46712312312",
      "app_id": ""
    },
    "conversation_id": "01EKJ0KSWXMVDF05MG9TQ20S06",
    "contact_id": "01EKA07N79THJ20WSN6AS30TMW",
    "metadata": "{\"referral\":{\"source_type\":\"&amp;lt;SOURCE_TYPE&amp;gt;\",\"source_id\":\"&amp;lt;SOURCE_ID&amp;gt;\",\"source_url\":\"&amp;lt;SOURCE_URL&amp;gt;\",\"ctwa_clid\":\"&amp;lt;CLICK_ID&amp;gt;\",\"headline\":\"Our new product\",\"body\":\"This is a great product\"}}",
    "accept_time": "2020-10-01T12:10:55.060170Z"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;The majority of these fields include information regarding your Conversation API solution. More information can be found about these fields in our &lt;A title="reference documentation for Inbound Message callbacks" href="https://developers.sinch.com/docs/conversation/callbacks/#inbound-message" target="_blank" rel="noopener"&gt;reference documentation for Inbound Message callbacks&lt;/A&gt;. The&amp;nbsp;&lt;CODE&gt;metadata&lt;/CODE&gt; field, which includes the escaped &lt;CODE&gt;referral&lt;/CODE&gt; data, includes the information relevant to the specific ad interaction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"metadata": "{\"referral\":{\"source_type\":\"&amp;lt;SOURCE_TYPE&amp;gt;\",\"source_id\":\"&amp;lt;SOURCE_ID&amp;gt;\",\"source_url\":\"&amp;lt;SOURCE_URL&amp;gt;\",\"ctwa_clid\":\"&amp;lt;CLICK_ID&amp;gt;\",\"headline\":\"Our new product\",\"body\":\"This is a great product\"}}"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More information about the escaped fields can be found in our &lt;A title="reactions to ads" href="https://developers.sinch.com/docs/conversation/channel-support/whatsapp/message-support/#reaction-to-ads" target="_blank" rel="noopener"&gt;developer docs on reactions to ads&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://www.sinch.com/products/apis/messaging/whatsapp/" target="_blank" rel="noopener noreferrer"&gt;Learn more about the Sinch WhatsApp Business API&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 14:23:47 GMT</pubDate>
      <guid>https://community.sinch.com/t5/WhatsApp/What-is-Click-to-WhatsApp-and-how-does-it-integrate-with-the/ta-p/15320</guid>
      <dc:creator>Sam_Williams</dc:creator>
      <dc:date>2024-05-09T14:23:47Z</dc:date>
    </item>
  </channel>
</rss>

