Skip to main content

CRUD: Chatbot Configuration — Create, Update, Delete

non-critical   Property: ChurchWiseAI   Category: Admin Dashboard Tier: starter-chat Persona: pastor-admin Touchpoint: /admin/[token]/chatbot-settings

Preconditions

  • Pastor logged into admin dashboard
  • Has access to chatbot configuration section

Steps

#ActionExpected Result
1Create new chatbot instanceForm allows: chatbot name, description, initial system prompt. Saves and shows in dashboard.
2Edit chatbot system promptText editor loads. Can modify personality, tone, handling rules. Changes preview in live widget.
3Add training documents (FAQ, handbook)File upload accepts PDF/DOC. Documents indexed and added to knowledge base.
4Test chatbot with new configLive test widget shows updated behavior. Can ask questions and see responses in real-time.
5Enable/disable specific featuresToggles for: accept visitor contacts, require email, escalation rules, etc. All save and take effect immediately.
6Update chatbot name/descriptionCan change at any time. Changes reflected in dashboard and any public-facing displays.
7Delete training documentRemoves document from knowledge base. Confirmation prompt prevents accidental deletion.
8Duplicate existing configCan clone a chatbot config to create similar one. Faster than creating from scratch.
9Disable chatbotToggle off removes chatbot from website. Visitors see 'chatbot unavailable' or fallback message.

Known Failure Modes

  • System prompt edit not saving — changes lost
  • File upload fails for PDF — can't add knowledge
  • Live preview not updating — admin can't see changes before going live
  • Deletion doesn't confirm — accidental data loss

References

Notes

Tests full CRUD workflow for chatbot configuration. Pastor needs to create, update, test, and manage chatbot behavior. System must support file uploads (PDFs, docs), live preview, and safe deletion. Configuration changes should take effect immediately (or be scheduled).