Skip to main content

Bots

Medplum bots are functions that execute when triggered. They are similar to AWS Lambda functions, and in Medplum we make them easy to write and deploy and trigger with FHIR Subscriptions. For the purpose of the tutorials found in this section, it's important to understand that Bots drive many of the major integrations that you see in Medplum.

If you are new to Medplum Bots, we encourage you to read the intro material in the Bot Guide.

The following tutorials will walk through some of the use cases for Bots, to give you a sense of how they can work for you.

Enabling Bots

Bots are a project level setting that must be enabled by a Super Admin user.

For users on the Medplum Hosted Service, bots are a paid features. Contact info@medplum.com or reach out in our Discord channel to have Bots enabled on your project.

Super administrators can enable bots via the Medplum App:

Getting Started

Learn the fundamentals of building and testing bots before deploying them to production.

Bot Triggers & Invocation

Configure how and when your bots execute, from scheduled tasks to real-time event responses.

Common Use Cases & Patterns

Implement frequently-needed functionality like file handling, document generation, and data transformation.

Deployment & Infrastructure

Deploy your bots to Medplum's cloud infrastructure or integrate with your existing AWS environment.

Security & Permissions

Manage sensitive credentials and control what actions your bots can perform.

Monitoring & Operations

Track bot performance and troubleshoot issues in production environments.

Reference