Lewati ke konten

Webex

Provider Webex terintegrasi dengan Cisco Webex Teams. Provider ini mendukung:

  • Direct message
  • Pesan space (room)
  • Adaptive Cards
  • Lampiran file
  • @mention
  • Akun Webex
  • Akses Webex Developer
  1. Buat Webex Bot

    Buka developer.webex.com:

    • Navigasikan ke My Webex Apps → Create a Bot
    • Isi detail bot
    • Salin Bot Access Token
  2. Buat Webhook

    Provider akan membuat webhook secara otomatis, atau buat secara manual:

    • Buka Documentation → Webhooks API
    • Buat webhook yang mengarah ke endpoint Anda
  3. Konfigurasikan Provider

    answers.json
    {
    "messaging-webex": {
    "enabled": true,
    "public_base_url": "https://your-domain.ngrok-free.app",
    "access_token": "your-bot-access-token"
    }
    }
  4. Jalankan Setup

    Terminal window
    gtc setup --answers answers.json ./my-bundle
OpsiWajibDeskripsi
enabledYaAktifkan/nonaktifkan provider
public_base_urlYaURL publik untuk webhook
access_tokenYaBot 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"