# Tomorrow Health integration

> Build workflow automations with 26 public Tomorrow Health actions.

Source: [https://genhealth.ai/docs/workflows/integrations/tomorrow-health](https://genhealth.ai/docs/workflows/integrations/tomorrow-health)

## Available actions

26 actions. Connection types: tomorrow_health.

### [Accept Order](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_accept_order.md)

- Handler: `tomorrow_health_accept_order`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `estimated_delivery_at`, `line_item_estimated_delivery_at`, `additional_documentation_required`
- Outputs: `success`, `accepted`, `skipped`, `documentation_survey_submitted`, `additional_documentation_required`, `order_id`, `estimated_delivery_at`, `line_item_count`, `tomorrow_health_org_id`, `tomorrow_health_org_name`, `tomorrow_health_supplier_id`, `error`

Perform Accept Order through Tomorrow Health.

### [Build Order Notification Slack Alert](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_build_order_notification_slack_alert.md)

- Handler: `tomorrow_health_build_order_notification_slack_alert`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notifications`, `source_label`
- Outputs: `success`, `should_alert`, `message`, `order_references`, `count`

Perform Build Order Notification Slack Alert through Tomorrow Health.

### [Create Packet Document](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_create_packet_document.md)

- Handler: `tomorrow_health_create_packet_document`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `order_details`, `raw_order_details`
- Outputs: `success`, `document_id`, `created`, `order_details_changed`, `order_id`, `supplier_id`, `source_document_count`, `page_count`, `document_types`, `error`

Perform Create Packet Document through Tomorrow Health.

### [Download Document](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_download_document.md)

- Handler: `tomorrow_health_download_document`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `document_id`, `type`, `original_file_name`, `supplier_id`, `is_primary`, `source_position`, `persist_hidden_document`
- Outputs: `success`, `raw_document_id`, `document_id`, `type`, `type_label`, `supplier_id`, `original_file_name`, `created`, `error`

Perform Download Document through Tomorrow Health.

### [Download Order Documents](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_download_order_documents.md)

- Handler: `tomorrow_health_download_order_documents`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `persist_hidden_document`
- Outputs: `success`, `documents`, `count`, `created_count`, `order_id`, `primary_document_id`, `supplier_id`, `tomorrow_health_org_id`, `tomorrow_health_org_name`, `error`

Perform Download Order Documents through Tomorrow Health.

### [Extract Ordering Facility From Document](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_extract_ordering_facility_from_document.md)

- Handler: `tomorrow_health_extract_ordering_facility_from_document`

- External effect: `write`
- Inputs: `document_id`
- Outputs: `success`, `document_id`, `facility_name`, `address_1`, `city`, `state`, `postal_code`, `address_source`, `match_address_1`, `match_city`, `match_state`, `match_postal_code`, `match_address_source`, `provider_npi`, `phone`, `fax`, `action_required`, `action_required_message`, `missing_fields`, `error`

Perform Extract Ordering Facility From Document through Tomorrow Health.

### [Filter New Order Documents](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_filter_new_order_documents.md)

- Handler: `tomorrow_health_filter_new_order_documents`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `documents`, `known_document_ids`, `known_raw_document_ids`, `allow_success_when_all_known`
- Outputs: `success`, `documents`, `document_ids`, `raw_document_ids`, `new_count`, `known_count`, `all_documents_already_uploaded`, `error`

Perform Filter New Order Documents through Tomorrow Health.

### [Filter Notifications For Managed Orders](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_filter_managed_order_notifications.md)

- Handler: `tomorrow_health_filter_managed_order_notifications`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notifications`
- Outputs: `success`, `notifications`, `managed_notifications`, `unmanaged_notifications`, `count`, `managed_count`, `unmanaged_count`, `error`

Perform Filter Notifications For Managed Orders through Tomorrow Health.

### [Filter Order Notifications By Queue](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_filter_order_notifications_by_queue.md)

- Handler: `tomorrow_health_filter_order_notifications_by_queue`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notifications`, `queue`
- Outputs: `success`, `notifications`, `count`, `excluded_count`, `queue`, `statuses`, `error`

Perform Filter Order Notifications By Queue through Tomorrow Health.

### [Get Additional Document Notifications](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_get_additional_document_notifications.md)

- Handler: `tomorrow_health_get_additional_document_notifications`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `first`, `notification_created_at_or_after`, `max_pages`, `max_notifications`
- Outputs: `success`, `notifications`, `count`, `has_unread_notifications`, `new_notification_count`, `page_info`, `pages_scanned`, `ignored_before_cutoff_count`, `invalid_created_at_count`, `handled_count`, `acknowledged_receipt_count`, `unresolved_count`, `candidate_limit_reached`, `scan_continuation_saved`, `scan_cycle_completed`, `head_scan_performed`, `notification_created_at_or_after`, `error`

Perform Get Additional Document Notifications through Tomorrow Health.

### [Get Order Details](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_get_order_details.md)

- Handler: `tomorrow_health_get_order_details`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`
- Outputs: `success`, `order_id`, `friendly_id`, `order_details`, `raw_order_details`, `tomorrow_health_org_id`, `tomorrow_health_org_name`, `tomorrow_health_supplier_id`, `error`

Perform Get Order Details through Tomorrow Health.

### [Get Order Documents](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_get_order_documents.md)

- Handler: `tomorrow_health_get_order_documents`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`
- Outputs: `success`, `documents`, `count`, `order_id`, `primary_document_id`, `tomorrow_health_org_id`, `tomorrow_health_org_name`, `tomorrow_health_supplier_id`, `error`

Perform Get Order Documents through Tomorrow Health.

### [Get Order Notifications](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_get_order_notifications.md)

- Handler: `tomorrow_health_get_order_notifications`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `first`
- Outputs: `success`, `notifications`, `count`, `has_unread_notifications`, `new_notification_count`, `page_info`, `error`

Perform Get Order Notifications through Tomorrow Health.

### [List Supplier Orders](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_list_supplier_orders.md)

- Handler: `tomorrow_health_list_supplier_orders`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `queue`, `friendly_id`, `patient_name`, `category_name`, `paginate_all`, `first`, `offset`
- Outputs: `orders`, `count`, `total_count`, `queue`, `statuses`, `applied_filters`, `tomorrow_health_org_id`, `tomorrow_health_org_name`, `tomorrow_health_supplier_id`, `tomorrow_health_user_id`, `tomorrow_health_user_email`, `tomorrow_health_user_name`

Perform List Supplier Orders through Tomorrow Health.

### [Mark Notification Read](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_mark_notification_read.md)

- Handler: `tomorrow_health_mark_notification_read`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notification`
- Outputs: `success`, `notification_id`, `error`

Perform Mark Notification Read through Tomorrow Health.

### [Match Missing Info Requests](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_match_missing_info_requests.md)

- Handler: `tomorrow_health_match_missing_info_requests`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notifications`
- Outputs: `success`, `matches`, `match`, `ordering_provider_requested`, `facility_requested`, `count`, `notification_count`, `error`, `error_message`

Perform Match Missing Info Requests through Tomorrow Health.

### [Post Missing Info Documentation Request](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_post_missing_info_request.md)

- Handler: `tomorrow_health_post_missing_info_request`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `document_id`, `missing_fields`, `friendly_id`, `patient_key`, `repost`
- Outputs: `success`, `skipped`, `skip_reason`, `order_id`, `document_id`, `comment_id`, `request_count`, `escalation_fields`, `message`, `slack_should_notify`, `slack_message`, `error`, `error_message`

Perform Post Missing Info Documentation Request through Tomorrow Health.

### [Prepare Brightree Document Uploads](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_prepare_brightree_document_uploads.md)

- Handler: `tomorrow_health_prepare_brightree_document_uploads`

- External effect: `write`
- Inputs: `document_id`, `patient_key`, `source_document_ids`, `raw_document_ids`, `document_type_override`
- Outputs: `success`, `document_id`, `documents`, `document_count`, `skipped_count`, `failed_count`, `error_message`

Perform Prepare Brightree Document Uploads through Tomorrow Health.

### [Prepare Brightree Patient Update Payload](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_prepare_brightree_patient_update_payload.md)

- Handler: `tomorrow_health_prepare_brightree_patient_update_payload`

- External effect: `write`
- Inputs: `document_id`, `patient_key`, `requested_fields`
- Outputs: `success`, `document_id`, `patient_id`, `patient_key`, `missing_fields`, `unwritten_requested_fields`, `patient_updates`, `error_message`

Perform Prepare Brightree Patient Update Payload through Tomorrow Health.

### [Record Brightree Document Upload Results](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_record_brightree_document_upload_results.md)

- Handler: `tomorrow_health_record_brightree_document_upload_results`

- External effect: `write`
- Inputs: `document_id`, `patient_key`, `upload_results`, `skipped_count`
- Outputs: `success`, `document_id`, `patient_key`, `uploaded_count`, `skipped_count`, `failed_count`, `uploaded_document_ids`, `error_message`

Perform Record Brightree Document Upload Results through Tomorrow Health.

### [Record Order Notification Seen](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_record_order_notification_seen.md)

- Handler: `tomorrow_health_record_order_notification_seen`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notification`
- Outputs: `success`, `notification_id`, `order_reference`

Perform Record Order Notification Seen through Tomorrow Health.

### [Resolve Missing Info Request](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_resolve_missing_info_request.md)

- Handler: `tomorrow_health_resolve_missing_info_request`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `order_id`, `document_id`, `missing_fields`, `ordering_provider_synced`, `unwritten_fields`, `facility_synced`, `facility_sync_skipped`
- Outputs: `success`, `skipped`, `resolved`, `should_repost`, `order_id`, `document_id`, `escalation_fields`, `message`, `slack_should_notify`, `slack_message`, `error`, `error_message`

Perform Resolve Missing Info Request through Tomorrow Health.

### [Resolve Order Notification References](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_resolve_order_notification_references.md)

- Handler: `tomorrow_health_resolve_order_notification_references`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `notifications`
- Outputs: `success`, `notifications`, `resolved_notifications`, `count`, `resolved_count`, `unresolved_count`, `error`

Perform Resolve Order Notification References through Tomorrow Health.

### [Save Patient, Insurance, and Order Details to GenHealth](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_seed_structured_intake_data.md)

- Handler: `tomorrow_health_seed_structured_intake_data`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `document_id`, `order_id`, `order_details`, `raw_order_details`
- Outputs: `success`, `document_id`, `order_id`, `friendly_id`, `patient_id`, `insurance_id`, `provider_id`, `seeded_fields`, `error`

Perform Save Patient, Insurance, and Order Details to GenHealth through Tomorrow Health.

### [Select Payer from Source Documents](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_select_payer_from_documents.md)

- Handler: `tomorrow_health_select_payer_from_documents`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `tomorrow_health_payer_name`, `proposed_brightree_payer_name`, `proposed_brightree_payer_key`, `document_id`, `document_text`, `action_required_prefix`
- Outputs: `success`, `can_proceed`, `selected_payer_source`, `selected_brightree_payor_key`, `selected_brightree_payor_name`, `relation`, `confidence`, `document_payer_name`, `evidence_source`, `conflict_dimension`, `tomorrow_health_payer_name`, `proposed_brightree_payer_name`, `comment_message`, `selection_error`, `error`

Perform Select Payer from Source Documents through Tomorrow Health.

### [Send Daily Intake Report](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_send_daily_intake_report.md)

- Handler: `tomorrow_health_send_daily_intake_report`
- Connection type: `tomorrow_health`
- External effect: `write`
- Inputs: `to`, `cc`, `report_date`, `timezone`, `from_email`, `workflow_name`, `eligibility_workflow_name`, `additional_documents_workflow_name`, `cmn_workflow_name`, `outbound_cmn_workflow_name`, `unassigned_cmn_faxes`, `subject_prefix`, `report_title`, `client_name`, `empty_message`, `supplier_id`, `brightree_tenant`, `brightree_patient_url_template`
- Outputs: `success`, `message_id`, `recipients`, `subject`, `report_date`, `order_count`, `eligibility_count`, `cmn_count`, `cmn_completed_count`, `cmn_review_count`, `cmn_unassigned_count`, `cmn_snapshot_available`, `html`, `error`

Perform Send Daily Intake Report through Tomorrow Health.
