このページ: WhatsApp API 資格情報、Webhook、チャネル設定を指定し、WhatsApp Business アカウントを接続して、Journey Optimizer で WhatsApp メッセージを送信するできる環境を準備します。
WhatsApp メッセージを送信する前に、Adobe Journey Optimizer 環境を設定し、WhatsApp アカウントに関連付ける必要があります。 これを実行するには、次の手順を実行します。
これらの手順は、Adobe Journey Optimizer システム管理者が実行する必要があります。
WhatsApp API 資格情報の作成 whatsapp-credentials
-
左側のパネルで、管理
>チャネルを参照し、API 資格情報メニューを選択します。 「新しい API 資格情報を作成」ボタンをクリックします。 -
以下で説明するように、API 資格情報を設定します。
- API トークン:API トークンを入力します。 詳しくは、Meta ドキュメントを参照してください。
- ビジネスアカウント ID:ビジネスポートフォリオに関連する一意の番号を入力します。 詳しくは、Meta ドキュメントを参照してください。
-
「続行」をクリックします。
-
WhatsApp API 資格情報に接続する WhatsApp Business アカウントを選択します。
-
WhatsApp メッセージの送信に使用する 送信者名 を選択します。
-
電話番号の設定は自動的に入力されます。
-
品質評価:過去 24 時間に送信されたメッセージに関する顧客のフィードバックを反映します。
- 緑色:高品質
- 黄色:中品質
- 赤色:低品質
詳しくは、品質評価を参照してください。
-
スループット:電話番号がメッセージを送信できる速度を示します。
-
-
API 資格情報の設定が完了したら、「送信」をクリックします。
API 資格情報を作成および設定したら、WhatsApp メッセージ用の Webhook を作成する必要があります。 詳細情報
Webhook の作成 WhatsApp-webhook
WhatsApp API 資格情報が正常に作成されたら、次の目的で Webhook を設定できるようになります。
- オプトインおよびオプトアウトの同意を管理するためのインバウンド応答をキャプチャ
- 読み取りレシート(使用可能な場合)やメッセージ配信ステータスなど配信レポートを受信
- Adobe Experience Platform データセットの分析とレポートに対してトラッキングイベントを有効にする
Webhook は、Meta の WhatsApp Business Platform と Adobe Journey Optimizer 間の通信ブリッジとして機能し、メッセージイベントやユーザーインタラクションに関するリアルタイムの通知を受信できます。
Meta では、複数のサンドボックスや WhatsApp 資格情報をまたいでも、WhatsApp Business アカウントごとに 1 つの Webhook、コールバック URL、検証トークンのみを使用できます。 フィードバックイベント(送信済み、配信済み、読み取り、エラー、ボタンのクリック)は、すべてのサンドボックスで引き続き正しくキャプチャされます。 インバウンドイベント(返信、オプトイン/オプトアウト/ヘルプキーワード)は、Webhook が登録されている単一のサンドボックスでのみ受信されます。Webhook を 本番サンドボックス に対して登録して、インバウンドイベントを受信します。
-
左側のパネルで、管理
>チャネル に移動し、WhatsApp 設定の下にある WhatsApp Webhook メニューを選択して、「Webhook を作成」ボタンをクリックします。
-
Webhook の 名前 を入力します。
-
設定を選択ドロップダウンから、以前に作成した API 資格情報を選択します。
-
次のような インバウンドキーワードカテゴリ を選択します。
- オプトインキーワード
- オプトアウトキーワード
- ヘルプキーワード
- デフォルト - 他のキーワードと一致しないすべてのインバウンドメッセージのフォールバックカテゴリ。 このカテゴリを使用すると、Adobe Experience Platform データセットでトラッキングイベント(開封数、配信レポート数)を有効にすることができます。
-
キーワードを入力し、「
」をクリックします。
-
「返信メッセージ」フィールドに、設定済みのキーワードを受信した際に送信されるメッセージを入力するか、ドロップダウンメニューから定義済みのオプションを選択します。
-
「
」をクリックして、インバウンドキーワードを追加します。 -
WhatsApp Webhook の設定が完了したら、「送信」をクリックします。
-
Webhook メニューで、
をクリックして、WhatsApp Webhook を削除します。
-
既存の設定を変更し、Webhook URL または Webhook 検証トークンにアクセスするには、目的の Webhook を見つけて、「編集」オプションをクリックして必要な変更を行います。
-
ここで生成された Webhook 検証トークンをコピーし、Webhook 設定の一部として Meta インターフェイスに貼り付けます。
この検証トークンを追加する方法と場所について詳しくは、Meta ドキュメントを参照してください。
-
以前に送信した WhatsApp Webhook から新しい Webhook URL にアクセスしてコピーします。
Webhook が設定されたので、WhatsApp 設定を作成できます。
WhatsApp 設定の作成 whatsapp-configuration
-
左側のパネルで、管理/チャネルを参照し、一般設定/チャネル設定を選択します。 「チャネル設定を作成」ボタンをクリックします。
-
設定の名前と説明(オプション)を入力し、WhatsApp チャネルを選択します。
note NOTE 名前は、文字(A ~ Z)で始める必要があります。 使用できるのは英数字のみです。 アンダースコア( _)、ドット(.)、ハイフン(-)も使用できます。 -
チャネルとして WhatsApp を選択します。
{width="80%"}
-
この設定を使用してメッセージに同意ポリシーを関連付けるには、マーケティングアクションを選択します。 顧客の意向に従うために、そのマーケティングアクションに関連付けられているすべての同意ポリシーが活用されます。 詳細情報
-
「WhatsApp 設定」セクションで、以前に作成した WhatsApp 設定を選択します。
{width="80%"}
-
コミュニケーションに使用する 送信者電話番号 を入力します。 番号の前に「+」記号を含めないでください。これにより、オプトアウトフローが正しく機能しなくなる場合があります。
-
WhatsApp 実行フィールドを使用して、プロファイル属性の中から、データベースで複数の番号が使用可能な場合に優先して使用する電話番号を選択します。 詳細情報
note NOTE デフォルトでは、Journey Optimizer は、サンドボックスレベルの一般設定で指定された電話番号を使用します。 このフィールドを更新すると、この設定を使用するジャーニーおよびキャンペーンのデフォルト値が上書きされます。 -
すべてのパラメーターを設定したら、「送信」をクリックして確定します。 なお、チャネル設定をドラフトとして保存し、後で設定を再開することもできます。
-
チャネル設定が作成されると、リストに「処理中」のステータスで表示されます。
note NOTE チェックが成功しなかった場合、考えられる失敗理由について詳しくはこの節を参照してください。 -
チェックが正常に完了すると、チャネル設定のステータスが「アクティブ」になります。 メッセージの配信に使用する準備が整いました。
設定が完了すると、メッセージオーサリング、パーソナライゼーション、リンクトラッキング、レポートなど、すべての標準のチャネル機能を活用できます。
これで、Journey Optimizer で WhatsApp メッセージを送信する準備が整いました。
WhatsApp チャネル設定のトラブルシューティング troubleshooting
API 資格情報の設定中に HTTP 500 エラーが発生する
WhatsApp API 資格情報の設定時に HTTP 500 エラーが発生した場合は、次のトラブルシューティング手順に従います。
-
使用権限を確認:組織に
cjm_whatsappの使用権限がプロビジョニングされていることを確認します。 この使用権限がないと、WhatsApp チャネルを設定できません。 -
ビジネスアカウントフィールドを検証:すべての必須フィールドが正しく入力されていることを確認します。
-
資格情報を外部でテスト:Meta API を使用して資格情報を直接確認し、問題が資格情報によるものか、Journey Optimizer の資格情報処理によるものかを確認します。
-
詳細ログを有効にする:内部サーバーまたは認証の設定ミスを特定するには、Journey Optimizer 環境で詳細ログを有効にして、API 呼び出しエラーに関する詳細情報を提供します。
-
サポートへのお問い合わせ:環境と使用権限が有効であることが確認されても、HTTP 500 エラーが解決しない場合は、アドビ担当者にお問い合わせください。
チュートリアルビデオ video
次のビデオでは、Adobe Journey Optimizer で WhatsApp チャネルを設定する方法について説明します。
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how a System Administrator configures the WhatsApp channel in Journey Optimizer by creating WhatsApp API credentials, a Webhook, and a channel configuration to connect a WhatsApp Business account.
Intents:
- Create WhatsApp API credentials and connect a WhatsApp Business Account
- Create a WhatsApp Webhook to capture inbound responses, receive delivery reports, and enable tracking events
- Create a WhatsApp channel configuration and associate marketing actions and consent policies
- Set the sender phone number and WhatsApp Execution Field for a configuration
- Troubleshoot HTTP 500 errors during API credential setup
Glossary:
- API Credentials: The credential set (API Token and Business Account ID) used to connect Journey Optimizer to a WhatsApp Business Account (product-specific)
- API Token: A Meta access token from a System User in the same Business Manager as your WhatsApp assets, used to authenticate (product-specific)
- Business Account ID: Your Meta Business portfolio ID (Business Manager ID), not the WhatsApp Business Account ID (product-specific)
- Webhook: The communication bridge between Meta’s WhatsApp Business Platform and Journey Optimizer that receives real-time notifications about message events and user interactions (product-specific)
- Inbound keyword category: The classification (Opt-in, Opt-out, Help, Default) that determines which auto-response is sent based on user text (product-specific)
- WhatsApp Execution Field: The field used to select, among profile attributes, the phone number to use in priority when several numbers are available (product-specific)
- Quality Rating: A rating (Green/High, Yellow/Medium, Red/Low) reflecting customer feedback on messages sent in the past 24 hours (product-specific)
- Throughput: The rate at which your phone number can send messages (product-specific)
Guardrails:
- These steps must be performed by a Journey Optimizer System Administrator.
- Meta tokens expire after about 60 days; renew the token before it lapses.
- The API Token’s System User needs whatsapp_business_management, whatsapp_business_messaging, and business_management permissions, plus asset-level access to your WhatsApp Business Account.
- Meta allows only one webhook, callback URL, and Verify Token per WhatsApp Business Account, even across multiple sandboxes or WhatsApp credentials.
- Feedback events (Sent, Delivered, Read, Error, button click) are captured correctly in every sandbox, but inbound events (replies, opt-in/opt-out/help keywords) are only received in the single sandbox where the webhook is registered; register it against your production sandbox to receive inbound events there.
- Without specified opt-in or opt-out keywords, standard consent messages are not enabled.
- A profile must have at least one message sent from Journey Optimizer before incoming messages are captured in the dataset.
- Keywords are not case-sensitive (e.g., stop and STOP are treated the same).
- Configuration names must begin with a letter (A-Z), can only contain alpha-numeric characters, and may also use underscore, dot, and hyphen.
- Do not include a ‘+’ sign before the sender phone number, as this can prevent the opt-out flow from working correctly.
- HTTP 500 troubleshooting: the organization must have the
cjm_whatsappentitlement provisioned; without it, the WhatsApp channel cannot be configured.
Terminology:
- Canonical name: WhatsApp channel configuration — Acronym: n/a — variants: channel configuration, WhatsApp configuration
- Synonyms: “Business Account ID” = “Meta Business portfolio ID” = “Business Manager ID”
- Do not confuse: “Business Account ID” (Meta Business portfolio / Business Manager ID) ≠ “WhatsApp Business Account ID” (not entered in this field)
- Do not confuse: “API Credentials” ≠ “Webhook” ≠ “channel configuration” (three distinct setup steps)
- Do not confuse: “Processing” (status while checks run) ≠ “Active” (status once checks are successful and the configuration is ready to deliver)
FAQ:
- Q: What are the steps to configure the WhatsApp channel? — Create WhatsApp API credentials, create a WhatsApp Webhook, then create a WhatsApp channel configuration.
- Q: Who can configure the WhatsApp channel? — A Journey Optimizer System Administrator.
- Q: How often do Meta tokens expire? — About every 60 days; renew the token before it lapses.
- Q: Why are my inbound events missing in some sandboxes? — Meta allows only one webhook per WhatsApp Business Account, so inbound events are only received in the sandbox where the webhook is registered; register it against your production sandbox.
- Q: What does the channel configuration status mean? — It shows Processing while checks run and becomes Active once checks are successful, meaning it is ready to deliver messages.
- Q: What causes an HTTP 500 error during API credential setup? — Possible causes include a missing
cjm_whatsappentitlement, invalid or mismatched API Token or Business Account ID, or credential handling issues; verify entitlements and fields, test credentials with Meta, enable advanced logging, and contact support if it persists. - Q: Why shouldn’t I add a ‘+’ before the sender phone number? — It can prevent the opt-out flow from working correctly.