> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Record

> Create one Airtable record, including file attachments.

The **Create Record** action adds one record to an Airtable table. Field names
map directly to Airtable columns, and File values are uploaded to attachment
fields after the record is created.

## Inputs

| Input                   | Type             | Required | Description                                                 |
| ----------------------- | ---------------- | -------- | ----------------------------------------------------------- |
| **Third-party account** | Airtable account | Yes      | Account with record-write access to the base.               |
| **Base ID**             | String           | Yes      | Airtable base identifier, typically beginning with `app`.   |
| **Table Name or ID**    | String           | Yes      | Visible table name or ID, typically beginning with `tbl`.   |
| **Fields**              | Object           | No       | Field-name/value pairs for the new record.                  |
| **Type Cast?**          | Boolean          | No       | Let Airtable convert values to field types. Defaults to on. |

Add a File or list of Files as a field value to upload attachments to that
field. The destination must be an Airtable attachment field.

## Outputs

| Output             | Type   | Description                                            |
| ------------------ | ------ | ------------------------------------------------------ |
| **Record ID**      | String | ID of the new Airtable record.                         |
| **Created Record** | Object | Fields returned by Airtable, including uploaded files. |

<Tip>
  Store **Record ID** whenever the workflow may update, retrieve, or delete the
  same record later.
</Tip>

## Troubleshooting

<AccordionGroup>
  <Accordion title="A field value is rejected">
    Confirm the field name exists and its Airtable type accepts the supplied
    value. **Type Cast?** can convert common input forms but cannot repair every
    incompatible value.
  </Accordion>
</AccordionGroup>
