Absender mit allowFrom auf die Allowlist setzen
Verwenden Sie channels. .allowFrom, um einzuschränken, wer Ihrem Assistenten Nachrichten senden darf.
Absender mit allowFrom auf die Allowlist setzen ist eine kostenlose OpenClaw Academy-Lektion auf CoddyKit. Dies ist Lektion 2 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des OpenClaw Academy-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der OpenClaw Academy-Kurs umfasst insgesamt 4 Lektionen.
Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.
Who Can Reach You
OpenClaw has full system access, so you decide who may message it. The allowlist is your front door, and only listed people get in. 🔐
Meet allowFrom
The key for this is allowFrom. It lives inside a channel block and holds the senders you trust to talk to your assistant.
channels: {
whatsapp: {
allowFrom: []
}
}Where It Sits
The full path is channels.platform.allowFrom. Swap platform for whatsapp, telegram, or any channel you have connected.
It Is a List
allowFrom takes a list of senders. For WhatsApp that means phone numbers, so each entry is one trusted contact.
allowFrom: ["+15555550123"]Adding More Senders
Need more people? Just add more entries to the list. Every number you include can message and command your assistant.
allowFrom: [
"+15555550123",
"+15555550199"
]A Full WhatsApp Block
Here is allowFrom inside a real whatsapp block. This is the shape you edit in openclaw.json to gate the channel.
channels: {
whatsapp: {
allowFrom: ["+15555550123"]
}
}Why Allowlisting First
Allowlisting is the simplest guardrail. Before any clever rules, deciding who is on the list keeps strangers from driving your machine.
Per Channel
Each channel keeps its own allowFrom. Your WhatsApp list and your Telegram list are separate, so you tune access per platform.
Use the Right Format
Match the sender format the platform expects. For WhatsApp use full international numbers, including the country code, so they match correctly.
Apply Your Changes
After editing allowFrom, save the file and restart OpenClaw. The new list takes effect once the assistant reloads its config.
Trust by Design
Keep the list tight. Add only people you truly trust, because everyone on it can ask your assistant to act on your system.
Quick Check
Test your grip on the allowlist key.
Recap
You set the guest list: allowFrom names the senders allowed per channel. Tight lists keep you safe. Next, group mention rules. ✅
Häufig gestellte Fragen
Ist die Lektion „Absender mit allowFrom auf die Allowlist setzen“ kostenlos?
Ja — der vollständige Text von „Absender mit allowFrom auf die Allowlist setzen“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des OpenClaw Academy-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der OpenClaw Academy-Kurs umfasst insgesamt 4 Lektionen.
Was lerne ich in „Absender mit allowFrom auf die Allowlist setzen“?
Verwenden Sie channels. .allowFrom, um einzuschränken, wer Ihrem Assistenten Nachrichten senden darf. Du übst OpenClaw Academy mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.
Brauche ich Erfahrung, um OpenClaw Academy zu starten?
Keine Vorkenntnisse erforderlich. OpenClaw Academy auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 2 von 4.
Wie lange dauert die Lektion „Absender mit allowFrom auf die Allowlist setzen“?
Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.
Kann ich in dieser OpenClaw Academy-Lektion Code schreiben und ausführen?
Ja. Jede OpenClaw Academy-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.
Alle Lektionen in diesem Kurs
- Die Konfigurationsdatei openclaw.json
- Absender mit allowFrom auf die Allowlist setzen
- Gruppenregeln mit requireMention und mentionPatterns
- Standards bei fehlender Konfiguration