# MaskFit integration

> Build workflow automations with 9 public MaskFit actions.

Source: [https://genhealth.ai/docs/workflows/integrations/mask-fit](https://genhealth.ai/docs/workflows/integrations/mask-fit)

## Available actions

9 actions. Connection types: maskfit.

### [Assign Mask to Patient](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_assign_mask.md)

- Handler: `maskfit_assign_mask`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `mask_id`, `patient_id`, `external_id`, `institution_id`, `authorized_user_email`
- Outputs: `assigned`, `mask_id`, `message`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Assign Mask to Patient through MaskFit.

### [Generate Face Scan Link](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_generate_face_scan_link.md)

- Handler: `maskfit_generate_face_scan_link`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `email`, `phone`, `external_id`, `first_name`, `last_name`, `dob`, `questionnaire`, `redirect_url`, `webhook_url`, `institution_id`, `authorized_user_email`
- Outputs: `url`, `expiration_timestamp`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Generate Face Scan Link through MaskFit.

### [Generate Mask Assignment URL](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_generate_mask_assignment_url.md)

- Handler: `maskfit_generate_mask_assignment_url`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `email`, `phone`, `external_id`, `redirect_url`, `webhook_url`, `institution_id`, `authorized_user_email`
- Outputs: `url`, `expiration_timestamp`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Generate Mask Assignment URL through MaskFit.

### [Generate Patient Answers URL](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_generate_patient_answers_url.md)

- Handler: `maskfit_generate_patient_answers_url`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `email`, `phone`, `external_id`, `redirect_url`, `institution_id`, `authorized_user_email`
- Outputs: `url`, `expiration_timestamp`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Generate Patient Answers URL through MaskFit.

### [Get Patient Current Mask](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_get_patient_current_mask.md)

- Handler: `maskfit_get_patient_current_mask`
- Connection type: `maskfit`
- External effect: `read`
- Inputs: `email`, `phone`, `external_id`, `institution_id`, `authorized_user_email`
- Outputs: `patient_id`, `scan_date`, `mask`, `masks`, `mask_variant_ids`, `has_mask`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Get Patient Current Mask through MaskFit.

### [Get Patient Mask List](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_get_patient_mask_list.md)

- Handler: `maskfit_get_patient_mask_list`
- Connection type: `maskfit`
- External effect: `read`
- Inputs: `email`, `phone`, `external_id`, `institution_id`, `authorized_user_email`
- Outputs: `patient_id`, `scan_date`, `masks`, `recommended_masks`, `mask_variant_ids`, `count`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Get Patient Mask List through MaskFit.

### [Invite Patient for Face Scan](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_invite_patient_face_scan.md)

- Handler: `maskfit_invite_patient_face_scan`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `email`, `phone`, `external_id`, `first_name`, `last_name`, `dob`, `questionnaire`, `redirect_url`, `webhook_url`, `institution_id`, `authorized_user_email`
- Outputs: `invited`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Invite Patient for Face Scan through MaskFit.

### [List Questionnaire Questions](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_list_questionnaire_questions.md)

- Handler: `maskfit_list_questionnaire_questions`
- Connection type: `maskfit`
- External effect: `read`
- Inputs: `email`, `phone`, `external_id`, `institution_id`, `authorized_user_email`
- Outputs: `questions`, `answers_by_slug`, `unanswered_required`, `count`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform List Questionnaire Questions through MaskFit.

### [Submit Questionnaire Answers](https://genhealth.ai/docs/workflows/integrations/mask-fit/maskfit_submit_questionnaire_answers.md)

- Handler: `maskfit_submit_questionnaire_answers`
- Connection type: `maskfit`
- External effect: `write`
- Inputs: `email`, `phone`, `external_id`, `answers`, `institution_id`, `authorized_user_email`
- Outputs: `submitted`, `submitted_question_ids`, `success`, `error`, `failure_category`, `error_code`, `status_code`, `maskfit_message`, `retryable`

Perform Submit Questionnaire Answers through MaskFit.
