Medplum Bots and automation

Running and governing Medplum Bots, Subscriptions and custom operations on a self-hosted deployment, from execution backends and secrets to CI/CD and monitoring.

Running Medplum Bots on Kubernetes with Fission

Executing Medplum Bots outside AWS on a Kubernetes cluster with the Fission serverless framework: when it fits Azure, GCP or on-premises installs, setup steps, scaling and isolation concerns.

Managing secrets for Medplum Bots

Keeping API keys and credentials out of Bot code: project secrets, separate development and production projects, who can edit secrets, rotation and auditing access.

Medplum Bot access policies and run-as-user

Deciding what data each Bot can touch: Bot memberships and access policies, inheriting the caller's access with runAsUser, client credential triggers and least privilege for integration Bots.

Scheduling Medplum Bots with cron jobs

Running Medplum Bots on a schedule: cron settings on the Bot, the Cron resource for several schedules with different identities and inputs, and monitoring scheduled runs.

Medplum FHIR Subscriptions and webhooks

Triggering Bots and external webhooks from FHIR resource changes in Medplum: Subscription criteria, the per-project limit, WebSocket subscriptions, resending webhooks and troubleshooting with AuditEvents.

Custom FHIR operations with Medplum Bots

Exposing your own business logic as FHIR operations on Medplum: OperationDefinition plus Bot, invoking through the FHIR API, input validation and keeping custom operations FHIR conformant.

Generating PDFs with Medplum Bots

Producing documents such as CMS-1500 forms, superbills and letters from FHIR data with Medplum's Bot PDF templates, storing the result as a Binary with the right securityContext.

Monitoring and debugging Medplum Bots

Seeing what Bots do in production: AuditEvents for executions and Subscription triggers, Bot logging, failure alerts, replaying events and tracing a failing integration back to its input.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.