# Bonafide integration

> Build workflow automations with 19 public Bonafide actions.

Source: [https://genhealth.ai/docs/workflows/integrations/bonafide](https://genhealth.ai/docs/workflows/integrations/bonafide)

## Available actions

19 actions. Connection types: bonafide.

### [Add Task Tag](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_add_task_tag.md)

- Handler: `bonafide_add_task_tag`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `task_id`, `tag_name`
- Outputs: `success`, `task_id`, `tag_id`, `tag_name`, `message`, `error_message`, `error`

Perform Add Task Tag through Bonafide.

### [Close Task](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_close_task.md)

- Handler: `bonafide_close_task`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `task_id`
- Outputs: `success`, `task_id`, `message`, `error_message`, `error`

Perform Close Task through Bonafide.

### [Create Patient Notes](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_patient_notes.md)

- Handler: `bonafide_create_patient_notes`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `customer_id`, `notes`
- Outputs: `success`, `customer_id`, `notes_created`, `notes_failed`, `message`, `error_message`

Perform Create Patient Notes through Bonafide.

### [Create Task](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_task.md)

- Handler: `bonafide_create_task`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `name`, `detail`, `due_date`, `severity`, `reference_type`, `reference_no`, `category_id`, `category_name`, `outcome_id`, `outcome_name`, `ops_description`, `employee_ids`, `email_targets`
- Outputs: `success`, `task_id`, `message`, `error_message`, `error`

Perform Create Task through Bonafide.

### [Create Task Category](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_task_category.md)

- Handler: `bonafide_create_task_category`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `category_name`
- Outputs: `success`, `category_id`, `category_name`, `created`, `message`, `error_message`, `error`

Perform Create Task Category through Bonafide.

### [Create Task Outcome](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_task_outcome.md)

- Handler: `bonafide_create_task_outcome`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `outcome_name`
- Outputs: `success`, `outcome_id`, `outcome_name`, `created`, `message`, `error_message`, `error`

Perform Create Task Outcome through Bonafide.

### [Delete Task](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_delete_task.md)

- Handler: `bonafide_delete_task`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `task_id`
- Outputs: `success`, `task_id`, `message`, `error_message`, `error`

Perform Delete Task through Bonafide.

### [Get Patient Insurance](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_patient_insurance.md)

- Handler: `bonafide_get_patient_insurance`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `customer_id`
- Outputs: `success`, `customer_id`, `carrier_name`, `carrier_no`, `member_id`, `group_id`, `group_name`, `patient_first_name`, `patient_last_name`, `patient_birth_date`, `patient_relationship`, `mbi`, `secondary_carrier_name`, `tertiary_carrier_name`, `message`, `error_message`

Perform Get Patient Insurance through Bonafide.

### [Get Patient Notes](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_patient_notes.md)

- Handler: `bonafide_get_patient_notes`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `customer_id`
- Outputs: `success`, `customer_id`, `notes`, `total_count`, `message`, `error_message`, `error`

Perform Get Patient Notes through Bonafide.

### [Get Staff + Role IDs](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_staff_ids.md)

- Handler: `bonafide_get_staff_ids`
- Connection type: `bonafide`
- External effect: `read`

- Outputs: `success`, `staff`, `roles`, `total_count`, `message`, `error_message`, `error`

Perform Get Staff + Role IDs through Bonafide.

### [Get Task Categories & Outcomes](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_task_form_metadata.md)

- Handler: `bonafide_get_task_form_metadata`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `task_id`
- Outputs: `success`, `categories`, `outcomes`, `message`, `error_message`, `error`

Perform Get Task Categories & Outcomes through Bonafide.

### [Get Task Detail](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_task.md)

- Handler: `bonafide_get_task`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `task_id`
- Outputs: `success`, `task_id`, `name`, `description`, `category_id`, `category_name`, `outcome_id`, `outcome_name`, `reference_type`, `reference_no`, `severity`, `severity_label`, `due_date`, `assigned_employee_ids`, `collaborators`, `conversations`, `tags`, `message`, `error_message`, `error`

Perform Get Task Detail through Bonafide.

### [Get Tasks](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_tasks.md)

- Handler: `bonafide_get_tasks`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `employee_ids`, `closing_status`, `category_id`, `outcome_id`
- Outputs: `success`, `tasks`, `total_count`, `employee_ids`, `message`, `error_message`, `error`

Perform Get Tasks through Bonafide.

### [Post Task Conversation](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_post_task_conversation.md)

- Handler: `bonafide_post_task_conversation`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `task_id`, `detail`, `status`, `email_targets`, `last_conversation_id`
- Outputs: `success`, `task_id`, `status`, `message`, `error_message`, `error`

Perform Post Task Conversation through Bonafide.

### [Search Patients](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_patients.md)

- Handler: `bonafide_search_patients`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `first_name`, `last_name`, `date_of_birth`
- Outputs: `success`, `patient_found`, `single_match`, `match_count`, `external_id`, `customer_type`, `url`, `matches`, `matched_by`, `ambiguous`, `identity_verified`, `review_required`, `message`, `error`, `error_message`

Perform Search Patients through Bonafide.

### [Search Physicians](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_physicians.md)

- Handler: `bonafide_search_physicians`
- Connection type: `bonafide`
- External effect: `read`
- Inputs: `last_name`, `first_name`, `npi`
- Outputs: `success`, `physicians`, `total_count`, `message`, `error`, `error_message`

Perform Search Physicians through Bonafide.

### [Update Patient Demographics](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_update_patient_demographics.md)

- Handler: `bonafide_update_patient_demographics`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `customer_id`, `first_name`, `last_name`, `date_of_birth`, `gender`, `address`, `address_2`, `city`, `state`, `zip_code`, `phone`, `ssn`
- Outputs: `success`, `customer_id`, `fields_updated`, `message`, `error`, `error_message`

Perform Update Patient Demographics through Bonafide.

### [Update Patient Insurance](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_update_patient_insurance.md)

- Handler: `bonafide_update_patient_insurance`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `populate_address_from_patient`, `customer_id`, `carrier_name`, `member_no`, `group_no`, `group_name`, `subscriber_first_name`, `subscriber_last_name`, `subscriber_dob`, `subscriber_gender`, `subscriber_address`, `subscriber_address_2`, `subscriber_city`, `subscriber_state`, `subscriber_zip`, `subscriber_phone`, `subscriber_relationship`, `patient_responsibility_pct`, `remaining_deductible`, `insurance_pays_pct`, `remaining_out_of_pocket`, `insurance_type`, `overwrite_coverage`
- Outputs: `success`, `customer_id`, `fields_updated`, `message`, `error`, `error_message`

Perform Update Patient Insurance through Bonafide.

### [Update Task](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_update_task.md)

- Handler: `bonafide_update_task`
- Connection type: `bonafide`
- External effect: `write`
- Inputs: `task_id`, `name`, `detail`, `due_date`, `severity`, `reference_type`, `reference_no`, `category_id`, `category_name`, `outcome_id`, `outcome_name`, `ops_description`, `employee_ids`, `email_targets`
- Outputs: `success`, `task_id`, `message`, `error_message`, `error`

Perform Update Task through Bonafide.
