設定 Twilio 提供者 sms-configuration-twilio

在此頁面上:​瞭解如何建立SMS、MMS和RCS訊息的API認證,將Twilio與Adobe Journey Optimizer整合,以便在您的歷程和行銷活動中傳送行動訊息。

將Twilio與Adobe Journey Optimizer整合後,您便可將行動訊息傳送至個人檔案,作為歷程和行銷活動的一部分。

若要將Twilio設定為您的簡訊提供者,請遵循下列步驟:

設定SMS/RCS/MMS的API認證 api-credential

若要使用Journey Optimizer設定Twilio,您需要為Twilio建立新的API認證:

  1. 在左側邊欄中,瀏覽至​管理 > 管道 > SMS設定​並選取​ API認證 ​功能表。 按一下​ 建立新的API認證 ​按鈕。

  2. 設定您的SMS API認證,如下所述:

    • SMS供應商: Twilio。

    • 名稱:為您的API認證選擇一個名稱。

    • 帳戶SID​和​驗證權杖:存取您Twilio主控台儀表板頁面的​ 帳戶資訊 ​窗格,以尋找您的認證。

    • 訊息SID:輸入指派給Twilio API所建立之每封訊息的唯一識別碼。 深入瞭解Twilio檔案

    • 傳入號碼:新增您的不重複傳入號碼。 這可讓您在不同的沙箱中使用相同的API認證,每個沙箱都有自己的傳入號碼。

  3. 選取​使用傳入的自訂資料集,將此認證的傳入SMS路由至您從下拉式清單中選擇的預先建立資料集。 進一步瞭解如何使用傳入關鍵字的自訂資料集

    note
    NOTE
    資料集結構描述必須是​XDM ExperienceEvent,而且至少包含下列欄位群組:
    • Adobe CJM ExperienceEvent — 訊息互動細節
    • Adobe CJM ExperienceEvent — 訊息執行詳細資料
    • Adobe CJM ExperienceEvent — 訊息設定檔詳細資料
    必須為設定檔啟用結構描述和資料集。
  4. 完成API認證的設定時,請按一下​提交

  5. 在​ API認證 ​功能表中,按一下bin圖示以刪除您的API認證。

  6. 若要修改現有認證,請找到所需的API認證,然後按一下​ 編輯 ​選項以進行必要的變更。

  7. 從您現有的API認證按一下​驗證SMS連線,透過傳送範例訊息至指定裝置來測試及驗證SMS API認證。

  8. 填寫​ 數字 ​和​ 訊息 ​欄位,然後按一下​驗證連線

    note important
    IMPORTANT
    訊息的結構必須符合提供者的裝載格式。

建立和設定API認證後,您現在需要建立SMS和MMS訊息的通道設定。 了解更多

設定RCS的API認證

Adobe Journey Optimizer使用自訂SMS提供者功能,透過Twilio支援RCS傳訊。 這可透過已驗證的企業設定檔傳送豐富的互動式訊息,並納入輪播、按鈕和多媒體內容等元素。

➡️ 在Twilio檔案中探索Twilio如何支援RCS

若要使用Twilio啟用RCS傳訊,必須透過自訂SMS提供者設定新的API認證。 現有的Twilio SMS認證不相容,因為RCS需要不同的裝載格式。

使用Twilio設定RCS:

  1. 在Twilio註冊RCS傳訊

    首先在Twilio平台中完成RCS註冊程式。 這包括設定您的企業設定檔,並為您的帳戶啟用RCS功能。

  2. 建立SMS Webhook

    設定SMS Webhook,以接收傳入的RCS訊息回應或傳遞更新。 此webhook必須正確連結至您的Twilio設定,才能進行雙向通訊。

  3. 使用自訂作為SMS供應商建立API認證

    在Journey Optimizer中,使用「自訂」作為SMS供應商,專門為RCS定義新的API認證。 使用適當的RCS端點驗證方法、基本URL和標頭。

建立和設定API認證後,您現在需要為RCS訊息建立通道設定。 了解更多

AI Knowledge Reference

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 to integrate Twilio with Journey Optimizer by creating API credentials for SMS, MMS, and RCS messaging so you can deliver Mobile messages in your journeys and campaigns.

Intents:

  • Create Twilio API credentials for SMS and MMS
  • Verify the SMS connection by sending a sample message to a designated device
  • Route inbound SMS messages to a custom dataset
  • Configure RCS with Twilio through a Custom SMS Provider

Glossary:

  • Account SID and Auth Token: Twilio credentials found in the Account Info pane of the Twilio Console Dashboard page (product-specific)
  • Message SID: The unique identifier assigned to every message created by Twilio’s API (product-specific)
  • Inbound Number: A unique inbound number that lets you use the same API credentials across different sandboxes, each with its own inbound number (product-specific)
  • Verify SMS connection: An action on existing API credentials that tests them by sending a sample message to a designated device (product-specific)
  • Custom SMS Provider: The feature through which RCS messaging is supported with Twilio, using “Custom” as the SMS vendor (product-specific)
  • Use custom dataset for inbound: An option that routes a credential’s inbound SMS to a pre-created dataset selected from a dropdown (product-specific)

Guardrails:

  • RCS with Twilio requires the Custom SMS Provider feature; existing Twilio SMS credentials are not compatible because RCS requires a distinct payload format.
  • RCS credentials must be defined using “Custom” as the SMS vendor, with the appropriate RCS endpoint authentication method, base URL, and headers.
  • The custom dataset for inbound schema must be XDM ExperienceEvent and include at least the Message interaction details, Message Execution Details, and Message Profile Details field groups; the schema and dataset must be enabled for Profile.
  • The Verify connection sample message must be structured to align with the provider’s payload format.

Terminology:

  • Canonical name: Twilio provider — Acronym: n/a — variants: Twilio configuration
  • Do not confuse: “Twilio SMS credentials” (for SMS/MMS) ≠ RCS credentials configured via a Custom SMS Provider (distinct payload format)

FAQ:

  • Q: Can I reuse my Twilio SMS credentials for RCS? — No; existing Twilio SMS credentials are not compatible because RCS requires a distinct payload format, so new credentials must be configured through a Custom SMS Provider.
  • Q: How is RCS supported with Twilio? — RCS is supported through Twilio using the Custom SMS Provider feature, which enables rich, interactive messages with elements such as carousels, buttons, and multimedia via verified business profiles.
  • Q: Where do I find my Twilio Account SID and Auth Token? — In the Account Info pane of your Twilio Console Dashboard page.
  • Q: How do I test my SMS API credentials? — Click Verify SMS connection, fill in the Number and Message fields, and click Verify connection to send a sample message to a designated device.
recommendation-more-help
journey-optimizer-help