채널로 Twilio SMS를 추가하려면 프로그래밍 가능한 SMS 앱을 설정하고 메시징 서비스를 정의한 다음 봇을 Twilio 전화번호와 연결해야 합니다. 봇에 Twilio 채널을 추가하는 경우, 봇의 최종 사용자는 텍스트 메시지를 사용하여 봇과 상호작용할 수 있습니다. Twilio SMS 채널을 추가하려면 다음 단계를 따르세요.

  1. Setup Account – Twilio 개발자 포털에 로그인하고 계정을 설정합니다.
  2. Setup Messaging Service – 프로그래밍 가능한 메시지 섹션에서, 메시징 서비스를 생성합니다.
  3. Add Phone Number– Twilio 전화번호를 봇에 연결합니다.

Twilio 채널을 추가하려면 다음 단계를 따르세요. 다음 절차는 Twilio 콘솔에 액세스할 수 있는 개발자를 위한 활성 Twilio 계정이 필요합니다. 더 자세한 내용은 이 항목의 뒷부분에서 Creating a Twilio Trial Account을 참조하세요.

  1. 봇 빌더의 Bots 섹션에서, Twilio SMS 채널을 추가하려는 봇을 클릭하세요.
  2. Channels 탭에서, Twilio SMS 아이콘을 클릭하세요. Twilio SMS Channels 페이지가 표시됩니다.
  3. Twilio 개발자 포털에 Login 합니다.
  4. Settings 섹션에서 General 탭을 클릭합니다.
  5. 아직 계정을 설정하지 않은 경우, API 인증 정보를 생성하세요.
  6. Account SIDAuth Token을 복사하여 Twilio 채널 페이지의 Configurations 탭에 입력하세요.
  7. All Products & Services 메뉴에서 Programmable SMS 섹션으로 이동합니다.
  8. Create New Messaging Service 옵션을 클릭합니다. 메시징 서비스 이름을 입력하고 Chat Bot/Interactive 2-way으로 사용 사례를 선택합니다.
  9. 서비스를 생성한 후, 이 서비스의 Service SID를 기록하고 Twilio SMS 채널 페이지의 Configurations 탭에 입력합니다.
  10. Inbound Settings 섹션에서 Process Inbound Messages 옵션을 클릭하고 Request URLFallback URL 필드를 Twilio SMS 채널 페이지의 Configurations 탭에 있는 정보로 업데이트합니다.
  11. Outbound Settings에서 Status Callback Request URL 필드를 설정 탭에 있는 정보로 업데이트합니다.
  12. Copilot Features 섹션에서 Sticky Sender, MMS Converter,Scaler, Short Code Reroute, Country Code Geomatch 옵션이 활성화되어 있는지 확인합니다.
  13. 변경 사항을 Save하고 진행합니다.
  14. 번호를 추가하려면, Numbers 섹션으로 이동하여 Twilio 전화번호를 이 봇에 연결합니다. Twilio 번호가 없는 경우, 구입해야 합니다.
  15. Twilio SMS 채널 페이지의 Configurations 탭으로 이동하여 채널 설정을 검토 및 완료합니다.

Twilio 채널 편집

Twilio 채널을 편집하려면 다음 단계를 따르세요.

  1. 채널 위로 마우스를 이동하고 클릭하여 수정합니다.
  2. 채널 설정에서 필요한 업데이트와 저장을 할 수 있습니다. 또한 Settings 아이콘을 클릭하여 채널 정보를 사용하지 않거나 삭제할 수도 있습니다.
    채널을 수정하려면 다음과 같은 명령 중 하나를 선택하세요.
  • Disable/Enable
    • Disable을 클릭하여 봇의 Twilio SMS 채널 사용을 일시적으로 비활성화하세요. Twilio SMS 채널 사용을 활성화하려면, Enable을 클릭하세요.
  • Delete
    • Delete를 클릭하세요.
    • Delete Confirmation 대화 상자에서, OK를 클릭하여 봇 채널 설정을 영구적으로 삭제합니다.
Warning: 이 작업은 영구적이므로 , 취소할 수 없습니다.

Twilio 평가판 계정 생성

  1. https://www.twilio.com/try-twilio에서 회원 가입을 하여 무료 Twilio 평가판 계정을 생성할 수 있습니다.
  2. 계정 생성 후, 로그인하여 Twilio Console Dashboard를 열 수 있습니다.
  3. Account Summary 섹션에서 Account SIDAuth Token을 찾을 수 있습니다.
  4. Account SIDAuth Token을 복사하고 Kore.ai 봇 빌더의 Twilio 채널 설정을 하기 위해 저장합니다. 또한 최종 사용자가 봇에 문자 메시지 상호 작용을 보내도록 전화번호가 필요합니다.
  5. Dashboard 페이지에서 아래로 스크롤하여 번호를 클릭할 수 있습니다. Phone Numbers Dashboard가 표시됩니다.
  6. 왼쪽 메뉴의 Numbers를 클릭하여 Numbers 페이지를 표시합니다. Buy a number을 클릭합니다.
  7. Get Started with Phone Numbers 페이지에서 Get your first Twilio phone number를 클릭합니다.
  8. 해당 대화 상자에서 Korea.ai Twilio 채널을 설정해야 하는 전화 번호를 확인할 수 있습니다.
  9. Buy This Number를 클릭하여 계정에 번호를 저장합니다.
  10. 전화번호가 저장되고 DashboardHome 화면에서 접속할 수 있습니다. 이제 Kore.ai 봇 빌더에서 Twilio 채널을 설정할 준비가 되었습니다.

To add Twilio SMS as a channel, you must set up a Programmable SMS app, define the messaging service, and associate the bot with a Twilio Phone Number. When you add the Twilio channel to your bot, end-users for your bot can interact with your bot using text messages.

To add the Twilio SMS channel, follow the below steps:

  1. Setup Account – Login to Twilio developer portal and set up an account.
  2. Setup Messaging Service – In the Programmable Messages section, create a messaging service
  3. Add Phone Number – Associate a Twilio Phone Number to your bot.

To add the Twilio Channel, follow the below steps:
The following procedure requires an active Twilio account for developers with access to the Twilio Console. For more information, refer to Creating a Twilio Trial Account later in this topic.

  1. In Bots section of the Bot Builder, click the bot that you want to add the Twilio SMS channel to.
  2. On the Channels tab, click the Twilio SMS icon. The Twilio SMS Channel page is displayed.
  3. Login to Twilio developer portal.
  4. Under the Settings section, click the General tab.
  5. Create your API credentials, if you have not already set up your account.
  6. Copy your Account SID and Auth Token and enter them in the Configurations tab of the Twilio channel page.
  7. Go to the Programmable SMS section from the All Products & Services menu.
  8. Click Create New Messaging Service option. Provide a name for your messaging service and select Use Case as Chat Bot/Interactive 2-way.
  9. After creating the service, make note of the Service SID of this service and enter it in the Configurations tab of the Twilio SMS channel page.
  10. Under Inbound Settings section, select the Process Inbound Messages option and update the Request URL and Fallback URL fields with the information provided in Configurations tab of the Twilio SMS channel page.
  11. Under Outbound Settings, update the Status Callback Request URL field with the information provided in the Configurations tab.
  12. Under Copilot Features section, make sure that Sticky Sender, MMS Converter, Scaler, Short Code Reroute, and Country Code Geomatch options are enabled.
  13. Save your changes and proceed.
  14. To add a number, go to the Numbers section and associate a Twilio Phone Number to this bot. If you do not have a Twilio Number, you must buy one.
  15. Go to the Configurations tab in the Twilio SMS channel page to review and complete the channel setup.

Edit the Twilio Channel

To edit the Twilio channel, follow the below steps:

  1. Hover over the channel and click to modify.
  2. You can make necessary updates to your channel configurations and save them. You can also disable or delete the channel information by clicking the Settings icon.

    Select one of the following commands to modify the channel:
  • Disable/Enable
    • Click Disable to temporarily disable the use of the Twilio SMS channel for your bot. To enable the use of the Twilio SMS channel, click Enable.
  • Delete
    • Click Delete.
    • On the Delete Confirmation dialog box, click OK to permanently delete the bot channel configuration.
Warning: This operation is permanent, and cannot be undone.

Create a Twilio Trial Account

  1. You can sign up and create a free Twilio trial account at https://www.twilio.com/try-twilio.
  2. After you create an account, you can sign in and open the Twilio Console Dashboard.
  3. In the Account Summary section, you can find the Account SID and Auth Token.
  4. Copy the Account SID and Auth Token and save for configuring the Twilio channel settings in Kore.ai Bot Builder. You also need a telephone number for your end users to send text message interactions to for your bot.
  5. On the Dashboard page, you can scroll down and click Numbers. The Phone Numbers Dashboard is displayed.
  6. Click Numbers on the left menu to display the Numbers page. Click Buy a number.
  7. On the Get Started with Phone Numbers page, click Get your first Twilio phone number.
  8. On the corresponding dialog box, you can find the phone number that you must configure the Kore.ai Twilio channel.
  9. Click Buy This Number to save the number to your account.
  10. The phone number is saved and accessible from the Home screen on the Dashboard. You are now ready to configure the Twilio channel in Kore.ai Bot Builder.