|
| 1 | +--- |
| 2 | +title: Airtable integration |
| 3 | +description: Connect Apify with Airtable. |
| 4 | +sidebar_label: Airtable |
| 5 | +sidebar_position: 4 |
| 6 | +slug: /integrations/airtable |
| 7 | +--- |
| 8 | + |
| 9 | +**Learn how to integrate Apify with Airtable. This article shows you how to use the Apify extension on Airtable.** |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +[Airtable](https://www.airtable.com/) is a cloud-based platform for organizing, managing, and collaborating on data. With Apify integration for Airtable, you can automatically upload Actor run results to Airtable after a successful run. |
| 14 | + |
| 15 | +This integration uses OAuth 2.0, a secure authorization protocol, to connect your Airtable account to Apify and manage data transfers. |
| 16 | + |
| 17 | +## Connect Apify with Airtable |
| 18 | + |
| 19 | +To use the Apify integration for Airtable, ensure you have: |
| 20 | + |
| 21 | +- An [Apify account](https://console.apify.com/) |
| 22 | +- An [Airtable account](https://www.airtable.com/) |
| 23 | + |
| 24 | +## Types of integration |
| 25 | + |
| 26 | +You could integrate Apify with Airtable using one of two available options. This guide explain how to use the extension which is the recommended integration. |
| 27 | + |
| 28 | +- **Apify Extension** on Airtable website. |
| 29 | +- **console integration** on the Actor page. |
| 30 | + |
| 31 | +This guide will explain how to use the **Apify extension**, for the console integration just go to the *Console integration* page in the docs. |
| 32 | + |
| 33 | +## Setup |
| 34 | + |
| 35 | +### Install Apify extension |
| 36 | + |
| 37 | +Go to [Airtable](https://airtable.com) and open the base you would like to work with. Press the **tools button** on the right side of the screen and press the **Add an extension button**. |
| 38 | + |
| 39 | +  |
| 40 | + |
| 41 | +<!-- TODO: improve pictures when Apify integration is published --> |
| 42 | +Search for Apify extenison and install it |
| 43 | + |
| 44 | +  |
| 45 | + |
| 46 | +Open the Apify extension and login using OAuth 2.0 with your Apify account. If you dont have an account, visit [Apify Registration](https://console.apify.com/sign-up) page. |
| 47 | + |
| 48 | +  |
| 49 | + |
| 50 | +## Extension Overview |
| 51 | + |
| 52 | +Apify extension helps you map and import data into your Airtable base |
| 53 | + |
| 54 | +### Features |
| 55 | +- Run Actors |
| 56 | +- Run tasks |
| 57 | +- Get dataset items |
| 58 | +- Map and import the data into your base |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | +### Run Actor |
| 63 | +1. Select any Actor from `Apify store` or `recently used Actors` |
| 64 | +  |
| 65 | + |
| 66 | +1. Fill in the Actor input form. |
| 67 | +  |
| 68 | + |
| 69 | +1. Run the Actor and wait for results |
| 70 | +  |
| 71 | + |
| 72 | +### Data Mapping |
| 73 | + |
| 74 | +This section will explain how to map your run results or dataset items into your Airtable base |
| 75 | + |
| 76 | +#### Mapping row |
| 77 | + |
| 78 | +Apify extension has UI elements that allow you to map dataset fields to Airtable fields. |
| 79 | + |
| 80 | +  |
| 81 | + |
| 82 | + **Source:** dataset field from Apify. |
| 83 | + |
| 84 | + **Target:** Target Airtable field label. For mode `new` it creates new fields in your table |
| 85 | + |
| 86 | + **Field Type:** Displays the type of the target Airtable field. For `new` mode you need to also specify this field. |
| 87 | + |
| 88 | +#### Select Fields to Map |
| 89 | + The preview window next to the mapping rows will help you view and pick fields from the dataset. |
| 90 | + "." character in the labels point to the children elements of an object |
| 91 | + |
| 92 | + **Example Source**: crawl.depth <br/> |
| 93 | + **Apify Field**: |
| 94 | + ```bash |
| 95 | + { |
| 96 | + crawl: { |
| 97 | + depth: 3, |
| 98 | + } |
| 99 | + } |
| 100 | + ``` |
| 101 | +  |
| 102 | + |
| 103 | +#### Automatic field matching |
| 104 | + |
| 105 | +Apify extension looks at the field labels in your table and matches them with dataset fields giving you a default list of mappings. |
| 106 | + |
| 107 | +**How does it work:** <br/> |
| 108 | +Source: `crawl.depth` |
| 109 | +it checks for fields in your table with label either `depth` or `crawl.depth`. If there is a match it adds a mapping row automatically. |
| 110 | + |
| 111 | + |
| 112 | +#### Duplicate filtering |
| 113 | + Select a **unique ID** on the data mapping step. The unique ID will be added to the list of mapping rows. |
| 114 | + Make sure it points to the correct field in your table. While importing the data will be filtered by existing values in the table. |
| 115 | +  |
| 116 | + |
| 117 | +#### Preview Mapped Data |
| 118 | + Preview the results and start the import |
| 119 | + |
| 120 | +  |
0 commit comments