コンテンツにスキップ

Webex

Webex provider は Cisco Webex Teams と統合します。次をサポートします:

  • ダイレクトメッセージ
  • Space(room)message
  • Adaptive Cards
  • file attachment
  • @mention
  • Webex account
  • Webex Developer access
  1. Webex Bot を作成する

    developer.webex.com に移動します:

    • My Webex Apps → Create a Bot に進む
    • bot の詳細を入力する
    • Bot Access Token をコピーする
  2. Webhook を作成する

    provider が webhook を自動作成します。手動で作成する場合は:

    • Documentation → Webhooks API に移動する
    • endpoint を向く webhook を作成する
  3. provider を設定する

    answers.json
    {
    "messaging-webex": {
    "enabled": true,
    "public_base_url": "https://your-domain.ngrok-free.app",
    "access_token": "your-bot-access-token"
    }
    }
  4. setup を実行する

    Terminal window
    gtc setup --answers answers.json ./my-bundle
OptionRequiredDescription
enabledYesprovider を有効/無効にする
public_base_urlYeswebhook 用の公開 URL
access_tokenYesbot access token
- id: reply
type: reply
config:
message: "Hello! How can I help?"
- id: formatted
type: reply
config:
message: |
**Bold** *Italic*
- List item
[Link](https://example.com)
- id: card
type: adaptive-card
config:
card:
type: AdaptiveCard
version: "1.2"
body:
- type: TextBlock
text: "Welcome!"
- id: send_file
type: reply
config:
message: "Here's your document"
files:
- url: "https://example.com/doc.pdf"