Skip to main content

CRUD: Care Agent Configuration

non-critical   Property: ChurchWiseAI   Category: Admin Dashboard Tier: pro-both Persona: pastor-admin Touchpoint: /admin/[token]/care-tab

Preconditions

  • Pastor logged into admin dashboard
  • Care Agent feature enabled (Pro tier or higher)

Steps

#ActionExpected Result
1Navigate to Care tabCare tab loads. Shows enabled/disabled toggle and Care Agent cards.
2Create new Care AgentClick 'Add Agent' button. Form appears with: agent name, personality, escalation rules, response style. Can save new agent.
3Edit Care Agent personalityClick edit on existing agent. Text editor loads for personality description. Can modify tone, values, handling instructions. Changes saved.
4Set escalation rules for Care AgentConfig section for escalation triggers: keywords (crisis, abuse, suicidal), response actions (email pastor, flag priority, handoff to human). Rules save immediately.
5Test Care Agent responseLive preview or test widget shows how agent responds to sample scenarios. Can see personality reflected in responses.
6Enable/disable Care AgentToggle switch works. When enabled, Care Agent active on chatbot/voice. When disabled, feature unavailable.
7Assign Care Agent to specific channelsCan specify which agent handles: chatbot visitors, voice callers, prayer requests, etc. Assignment takes effect immediately.
8Delete Care AgentCan remove unused agent. Confirmation popup prevents accidental deletion. Once deleted, no longer appears in agent list.
9Duplicate Care Agent configurationCan clone existing agent to create variations (e.g., prayer-focused vs crisis-response). Faster than creating from scratch.

Known Failure Modes

  • Escalation rules not saving — care requests miss crisis triggers
  • Live preview not showing changes — admin can't verify agent personality
  • Toggle disables agent but requests still route to it — agent still active
  • Deletion doesn't confirm — accidental loss of agent config

References

Notes

Tests full CRUD for Care Agent configuration. Care Agent is a specialized chatbot personality for handling sensitive pastoral situations (grief, crisis, prayer requests). Admins need to create, customize personality, set escalation rules, and manage multiple agents. Live preview is critical so admins can verify the agent's tone before deployment.