Zum Inhalt springen

Webex

Der Webex-Provider integriert sich mit Cisco Webex Teams. Er unterstützt:

  • Direktnachrichten
  • Space-(Room-)Nachrichten
  • Adaptive Cards
  • Datei-Anhänge
  • @mentions
  • Webex-Konto
  • Webex-Developer-Zugriff
  1. Einen Webex-Bot erstellen

    Gehen Sie zu developer.webex.com:

    • Navigieren Sie zu My Webex Apps → Create a Bot
    • Füllen Sie die Bot-Details aus
    • Kopieren Sie das Bot Access Token
  2. Einen Webhook erstellen

    Der Provider erstellt Webhooks automatisch, alternativ manuell:

    • Gehen Sie zu Documentation → Webhooks API
    • Erstellen Sie einen Webhook, der auf Ihren Endpunkt zeigt
  3. Provider konfigurieren

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

    Terminal-Fenster
    gtc setup --answers answers.json ./my-bundle
OptionErforderlichBeschreibung
enabledJaProvider aktivieren/deaktivieren
public_base_urlJaÖffentliche URL für den Webhook
access_tokenJaBot 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"