# Consuming Webhooks

Many SaaS products including popular services like Stripe and Okta support Webhooks, allowing a web application to register a Medplum URL to receive notifications. When a certain event occurs in the source application, such as a new user signup or a change to a record, the source application sends an HTTP POST request to the URL registered by the destination application. This HTTP POST request contains information about the event that occurred.

# External Messaging Integration Patterns

These patterns show how to bridge Medplum messaging to external channels (SMS, email, push notifications) using Bots and on-demand $execute. For in-platform automations (Tasks, reminders, scheduling), see Messaging Automations.

# Medplum Bot Layers

Overview of Medplum Bots

# Messaging Automations

The patterns on this page use Medplum Bots — an advanced feature that is disabled by default on many projects — and FHIR Subscriptions. Recurring automations also use cron-scheduled Bots (Cron Jobs for Bots). Confirm Bots are enabled for your project and that you can create Bots and Subscriptions (typically as a Project administrator).

# Spaces

Spaces is the in-app AI assistant in Medplum Provider. A user types a question in natural language; under the hood a chain of Medplum bots translates the question into FHIR API calls, executes them against the project, summarizes the results in the chat, and optionally renders a generated chart inside the same view.
