Send to Airtable

POST {{airtableUrl}}

Airtable can act as a great tool for storing and visualizing final data. This request shows you how you can send data to Airtable using the Airtable API.

The response will contain an id of the row that was inserted in the Airtable table by this request.

Pre-requisites

Set the following environment variables by getting the values from your Airtable Base's API docs.

  • airtableUrl: An API URL for an Airtable Base data will be pushed.
  • airtableKey: The API Key for your Airtable account.

Request structure

The body of the request looks like this:

{
    "fields": {
        "Col 1": "Value 1",
        "Col 2": "Value 2",
        "Col 3": "Value 3"
    }
}

The key of the fields object correspond to the column names of the table where you are pushing the data to.

Each request can add only one row, so if you need to insert multiple rows, you will need to loop on this request using Qodex.setNextRequest().

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring