# Airtable integration

> Build workflow automations with 15 public Airtable actions.

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

## Available actions

15 actions. Connection types: airtable.

### [Add Comment to Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_add_comment.md)

- Handler: `airtable_add_comment`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `record_id`, `text`, `parent_comment_id`
- Outputs: `comment_id`, `comment`, `success`, `error`, `error_type`, `status_code`

Perform Add Comment to Record through Airtable.

### [Create Base](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_create_base.md)

- Handler: `airtable_create_base`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `workspace_id`, `name`, `tables`
- Outputs: `base_id`, `tables`, `success`, `error`, `error_type`, `status_code`

Perform Create Base through Airtable.

### [Create or Update Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_upsert_record.md)

- Handler: `airtable_upsert_record`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `fields`, `fields_to_merge_on`, `typecast`
- Outputs: `created`, `record_id`, `record`, `fields`, `success`, `error`, `error_type`, `status_code`

Perform Create or Update Record through Airtable.

### [Create Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_create_record.md)

- Handler: `airtable_create_record`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `fields`, `typecast`
- Outputs: `record_id`, `record`, `fields`, `success`, `error`, `error_type`, `status_code`

Perform Create Record through Airtable.

### [Create Records (Batch)](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_create_records.md)

- Handler: `airtable_create_records`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `records`, `typecast`
- Outputs: `records`, `record_ids`, `count`, `success`, `error`, `error_type`, `status_code`, `failed_batch_index`

Perform Create Records (Batch) through Airtable.

### [Create Table](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_create_table.md)

- Handler: `airtable_create_table`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `name`, `description`, `fields`
- Outputs: `table_id`, `primary_field_id`, `table`, `success`, `error`, `error_type`, `status_code`

Perform Create Table through Airtable.

### [Delete Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_delete_record.md)

- Handler: `airtable_delete_record`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `record_id`
- Outputs: `record_id`, `deleted`, `success`, `error`, `error_type`, `status_code`

Perform Delete Record through Airtable.

### [Find or Create Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_find_or_create_record.md)

- Handler: `airtable_find_or_create_record`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `match_fields`, `create_fields`, `typecast`
- Outputs: `created`, `match_count`, `match_record_ids`, `record_id`, `record`, `fields`, `success`, `error`, `error_type`, `status_code`

Perform Find or Create Record through Airtable.

### [Get Base Schema](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_get_base_schema.md)

- Handler: `airtable_get_base_schema`
- Connection type: `airtable`
- External effect: `read`
- Inputs: `base_id`, `table`
- Outputs: `tables`, `table_count`, `success`, `error`, `error_type`, `status_code`

Perform Get Base Schema through Airtable.

### [Get Record by ID](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_get_record.md)

- Handler: `airtable_get_record`
- Connection type: `airtable`
- External effect: `read`
- Inputs: `base_id`, `table`, `record_id`
- Outputs: `record_id`, `record`, `fields`, `success`, `error`, `error_type`, `status_code`

Perform Get Record by ID through Airtable.

### [List Bases](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_list_bases.md)

- Handler: `airtable_list_bases`
- Connection type: `airtable`
- External effect: `read`

- Outputs: `bases`, `count`, `success`, `error`, `error_type`, `status_code`

Perform List Bases through Airtable.

### [Search Records](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_search_records.md)

- Handler: `airtable_search_records`
- Connection type: `airtable`
- External effect: `read`
- Inputs: `base_id`, `table`, `match_fields`, `filter_formula`, `view`, `sort_field`, `sort_direction`, `return_fields`, `max_records`
- Outputs: `found`, `first_record_id`, `first_record`, `truncated`, `records`, `record_ids`, `count`, `success`, `error`, `error_type`, `status_code`

Perform Search Records through Airtable.

### [Update Record](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_update_record.md)

- Handler: `airtable_update_record`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `record_id`, `fields`, `typecast`
- Outputs: `record_id`, `record`, `fields`, `success`, `error`, `error_type`, `status_code`

Perform Update Record through Airtable.

### [Update Records (Batch)](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_update_records.md)

- Handler: `airtable_update_records`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `table`, `records`, `typecast`
- Outputs: `records`, `record_ids`, `count`, `success`, `error`, `error_type`, `status_code`, `failed_batch_index`

Perform Update Records (Batch) through Airtable.

### [Upload Attachment](https://genhealth.ai/docs/workflows/integrations/airtable/airtable_upload_attachment.md)

- Handler: `airtable_upload_attachment`
- Connection type: `airtable`
- External effect: `write`
- Inputs: `base_id`, `record_id`, `attachment_field`, `s3_path`, `source_document_id`, `filename`, `content_type`
- Outputs: `record_id`, `attachments`, `attachment_count`, `filename`, `success`, `error`, `error_type`, `status_code`

Perform Upload Attachment through Airtable.
