# ModMed integration

> Build workflow automations with 5 public ModMed actions.

Source: [https://genhealth.ai/docs/workflows/integrations/mod-med](https://genhealth.ai/docs/workflows/integrations/mod-med)

## Available actions

5 actions. Connection types: modmed.

### [Get Patient Details](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_get_patient_details.md)

- Handler: `modmed_get_patient_details`
- Connection type: `modmed`
- External effect: `read`
- Inputs: `patient_id`
- Outputs: `success`, `patient`, `patient_id`, `error`

Perform Get Patient Details through ModMed.

### [Import Inbound Fax](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_import_inbound_fax.md)

- Handler: `modmed_import_inbound_fax`
- Connection type: `modmed`
- External effect: `write`
- Inputs: `fax_id`
- Outputs: `document_id`, `was_existing`

Perform Import Inbound Fax through ModMed.

### [List Inbound Faxes](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_list_inbound_faxes.md)

- Handler: `modmed_list_inbound_faxes`
- Connection type: `modmed`
- External effect: `read`

- Outputs: `fax_ids`, `count`

Perform List Inbound Faxes through ModMed.

### [Search Patients](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_search_patients.md)

- Handler: `modmed_search_patients`
- Connection type: `modmed`
- External effect: `read`
- Inputs: `term`, `page_size`
- Outputs: `success`, `patients`, `count`, `error`

Perform Search Patients through ModMed.

### [Upload Attachment to Patient](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_upload_attachment_to_patient.md)

- Handler: `modmed_upload_attachment_to_patient`
- Connection type: `modmed`
- External effect: `write`
- Inputs: `patient_id`, `document_id`, `category_id`
- Outputs: `success`, `attachment_id`, `file_name`, `patient_id`, `error`

Perform Upload Attachment to Patient through ModMed.
