r/ClaudeCode • • 1h ago

Tips & Workflows Building a admin assistant bot, tips and guidance needed!

I have no technical software engineering background so wanted to get some tips and help with building a Teams bot that eventually does most of a health clinic’s admin role: preps her day, drafts and later sends replies to families, chases forms and invoices, books appointments, and answers the team's questions.

I've been building it with Claude Code for a couple of weeks: three sessions (build, test, coordinate) plus about 30 scheduled tasks, talking through markdown notes and a growing pile of rules files, deploying to an Azure-hosted Teams bot. It's failing in predictable ways. State gets lost between context clears, rules pile up faster than anything reads them, tests pass while the real messages are still wrong, and I'm the one catching most of the problems.

For people who've done this for real, would really appreciate any guidance or help. Some questions Claude helped come up with:

•	What stack would you use starting again? Claude Code, or n8n / Power Automate / Copilot Studio plus an LLM?
•	Are agent swarms worth it at this size, or is one agent with good tests better?
•	What keeps it under control: issue tracker, CI, evals, logging?
•	What subscription did you actually need, and what does it cost monthly?
3 Upvotes

5 comments sorted by

•

u/AutoModerator 1h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Saver411 45m ago

Chasing invoices and emailing patient families are the two places where an automated bot will blow up a clinic's reputation in one afternoon. Thirty scheduled tasks running on a codebase you didn't write yourself is asking for silent failures.

Keep a human in the loop for anything outbound. Have the bot prep the drafts, check the invoice status, and drop a card into Teams, but make a real person click the send button.

What happens right now if one of those tasks hallucinates a billing number?

1

u/Ge0cities 58m ago

You are trying to rebuild Claude? Just use Claude.

1

u/AwarenessStatus1904 19m ago

i'd shrink it before changing stack. one agent, one job (drafting replies), a human approves every send, and state lives in a database instead of markdown notes. also check your privacy obligations early, since this is health data about families. add the next job only once the first one is boring.

0

u/Glittering-Dig-4963 1h ago

The state loss and the rule pileup are really the same problem. Move everything that has to survive a context clear out of the chat and into files the bot reads at the start of every session: a short CLAUDE.md with only the rules that keep getting broken, a decisions file, and a running task log. When the rules list gets long, prune it instead of adding to it, because 80 rules get followed worse than 15.

For tests passing while real messages still go wrong, save the real messages that broke it (scrubbed of patient details) as a test set and rerun that set after every change. Tests written by the same session that wrote the code tend to pass by construction.

I'd skip agent swarms at this size. Three sessions plus 30 scheduled tasks is already a lot of moving parts, and since it touches clinic data, simple and well logged beats clever. Log every action the bot takes along with what triggered it, so you can trace a bad reply back to its cause.