# CareWebQI integration

> Build workflow automations with 5 public CareWebQI actions.

Source: [https://genhealth.ai/docs/workflows/integrations/care-web-qi](https://genhealth.ai/docs/workflows/integrations/care-web-qi)

## Available actions

5 actions. Connection types: carewebqi.

### [Add Episode Note](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_add_episode_note.md)

- Handler: `carewebqi_add_episode_note`
- Connection type: `carewebqi`
- External effect: `write`
- Inputs: `episode_id`, `subject`, `note_text`, `include_discharged`
- Outputs: `success`, `saved`, `exited`, `episode_id`, `subject`, `subject_code`, `note_updated_at`, `note_author`, `error`

Perform Add Episode Note through CareWebQI.

### [Add Task to Episode](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_add_task.md)

- Handler: `carewebqi_add_task`
- Connection type: `carewebqi`
- External effect: `write`
- Inputs: `episode_id`, `subject`, `due_date`, `task_type`, `priority`, `status`, `assignee`, `start_time`, `end_time`, `time_spent`, `note`, `include_discharged`
- Outputs: `success`, `saved`, `episode_id`, `subject`, `task_type`, `priority`, `status`, `due_date`, `start_time`, `end_time`, `time_spent`, `assignee`, `note_added`, `episode_exited`, `error`

Perform Add Task to Episode through CareWebQI.

### [Attach File to Episode](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_upload_episode_attachment.md)

- Handler: `carewebqi_upload_episode_attachment`
- Connection type: `carewebqi`
- External effect: `write`
- Inputs: `episode_id`, `document_id`, `file_name`, `description`
- Outputs: `success`, `accepted`, `exited`, `episode_id`, `attachment_id`, `file_name`, `description`, `byte_size`, `portal_message`, `error`

Perform Attach File to Episode through CareWebQI.

### [Get Episode Details](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_get_episode_details.md)

- Handler: `carewebqi_get_episode_details`
- Connection type: `carewebqi`
- External effect: `read`
- Inputs: `episode_id`, `include_discharged`
- Outputs: `success`, `found`, `exited`, `episode_id`, `auto_authorization`, `patient_name`, `patient_id`, `patient_date_of_birth`, `patient_gender`, `patient_age`, `patient_city`, `patient_state`, `benefit_plan`, `request_type`, `request_status`, `additional_info_requested`, `submit_date`, `complete_date`, `requested_admit_date`, `next_review_date`, `last_modified_date`, `primary_diagnosis`, `primary_procedure`, `attending_provider`, `facility_name`, `place_of_service`, `service_type`, `point_of_care`, `requested_level_of_care`, `approved_level_of_care`, `requested_units_or_visits`, `approved_units_or_visits`, `appeal_date`, `appeal_determination_date`, `episode`, `error`

Perform Get Episode Details through CareWebQI.

### [Search Patients or Episodes](https://genhealth.ai/docs/workflows/integrations/care-web-qi/carewebqi_search.md)

- Handler: `carewebqi_search`
- Connection type: `carewebqi`
- External effect: `write`
- Inputs: `search_by`, `search_text`, `include_discharged`
- Outputs: `success`, `search_by`, `search_text`, `found`, `match_count`, `single_match`, `ambiguous`, `patients`, `episodes`, `episode_id`, `patient_id`, `patient_id_truncated`, `error`

Perform Search Patients or Episodes through CareWebQI.
