Patient data lives in an EHR with limited access, and any automation has to stay within HIPAA without creating liability.
Two checks decide it: whether your EHR exposes an API, and whether every tool in the workflow fits your HIPAA obligations. Many practice systems offer limited or no API access, and without one, workarounds built on emails or exports are fragile, so an engineer checks the documentation first. Patient data also can't pass through just any automation platform, because you need vendors willing to sign a business associate agreement, which points you toward healthcare-specific integration platforms or custom API work.
Non-clinical steps, like appointment reminders or business reporting, are simpler to automate than anything touching the chart, so start there while the clinical connection is evaluated. Protect the patient data first, then automate around it.