Retrieve 1000+ records from Airtable and upload as a CSV to Google Drive

I have an Airtable table with 1000+ records. When any record in the table is updated, I want to retrieve ALL records in a specific view, convert the data to CSV format, and upload the CSV to a Google Drive folder.

The scenario I tried was Airtable Watch Records > Google Drive.

I have the Watch Records tool set to return 10 records. I named the file MapMakeDataTest.csv in the Google Drive “File Name” field. I mapped the fields in the Google Drive “Data” field to include only the Airtable fields I want to save.

When I ran the scenario, it only returned one record. This was saved in Google Drive as a CSV, but it only has two fields:

  1. An Airtable field called Accession concatenated with the recordID field from Airtable (this was not one of the fields I mapped in the Google Drive tool).
  2. A single long field with all the data from all the other fields I mapped.

I thought I might need to include commas between the fields in the map (see the image). But this returns a blank CSV.

Can someone help me troubleshoot this scenario?

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Thanks for your help. Here are the requested files.

Note: The Airtable input bundle was blank. I’m not including the Google Drive output bundle because it included user details from my Google account.

Airtable output bundle:

[
    {
        "Accession Year": 2023,
        "Taxon Name": [
            "recSjOHX6Nx9eMFoi"
        ],
        "Latitude": 33.38908997,
        "Longitude": -111.8729646,
        "Campus Section": [
            "receSbcdONlsvehnw"
        ],
        "Item Status": "Planted",
        "Photo": [
            {
                "id": "attrgoq9qvRS7Hkha",
                "width": 3024,
                "height": 4032,
                "url": "https://v5.airtableusercontent.com/v3/u/27/27/1711764000000/xX317ivHq0M29p6IVNiDEQ/mOuuUc59DkkzMxHlP7LaJHPKI2tnIivAdjuTvElkQ-z3YWwhr0yWEkk8ESdL3pFIMBvXoDI1jH41XwlHrhoz5lkbCEWCOYHNhtDIDibeltnsdyHlLcJkJrozxoMgi-X13D5vUUqXtl6aVabu3z-kJA/mo0koLzLNAQP3UJSWWMQJtZ7bHx62a_l-KEC7HFavF0",
                "filename": "bi2.jpg",
                "size": 9055921,
                "type": "image/jpeg",
                "thumbnails": {
                    "small": {
                        "url": "https://v5.airtableusercontent.com/v3/u/27/27/1711764000000/IjtS3WJDz67lCE6sYB7f9Q/rE6PDW15RPrBu-Ps1gRev3Bv9Op6hY20j49hqvhCzilkwVoCAKePxmegL7eGnbvEOXs-E2vSz3us8Z57af1KweFxSmihOegEbrrfxQJGr0eltv6D5nuN5DLVbHbRHZpNgYaPa5GIujVPu9kQGOntRw/efUQ07oo0kV334UH0aqUSCqG7a2ktzU5Xjft71feXMg",
                        "width": 27,
                        "height": 36
                    },
                    "large": {
                        "url": "https://v5.airtableusercontent.com/v3/u/27/27/1711764000000/HKDtDRTwDp2dkRh46yVlTQ/VM9xfOG8O1k66-GwvwluQJYaxbSi0tDT8BQroJix4UWShrNm70ZjzgjSwMr9P0wf_p6yqwG1aZG9LOTyRU0nt6iFIDluZrI0dgzspKx2YfaHfBmN2tFN-hlULcrM3rOC4zQQitJCovU0bL-1HQvgUA/HbUxxpqpRDzGyLAh2SsbpEzCkXYvJe73JTj085eXH5c",
                        "width": 512,
                        "height": 683
                    },
                    "full": {
                        "url": "https://v5.airtableusercontent.com/v3/u/27/27/1711764000000/ZL4y2CAMH4v3d3usdMuM-w/xmYOWgrFELka1KlzTS71uz92d0vSfjUDG5hx-gQjo0NFans_nFw6idjSqexU9Uid5cqRHTJhTrIVtMG9UE1TwButEcYiCJmozbUhfTWAgyMiBNBXpnUDGqv6x6canQYY7wtcSNGyLrO2bhnq8c-mXA/h9M3jsoYJ3R-zL-0ntnFX--hLDtxLgzDNuGMDQJUv88",
                        "width": 2250,
                        "height": 3000
                    }
                }
            }
        ],
        "Date Planted": "2023-11-17",
        "Provenance": "Arid Zone Trees",
        "ID Tag": "Tag absent",
        "Autonumber": 1447,
        "Accession": "1447",
        "Family": [
            "Bignoniaceae (Trumpet vine family)"
        ],
        "Origin": [
            "Southwestern US, Mexico"
        ],
        "Common Name": [
            "Bi-Color desert willow"
        ],
        "Cultivar": [
            "'AZT Bi-Color'"
        ],
        "Species": [
            "linearis"
        ],
        "Genus": [
            "recGM81nWLJ4hoZpr"
        ],
        "Temp Attachment URL": "https://dl.airtable.com/.attachments/76604d97343ca47f4b3074eaf2220285/5a904ad2/bi2.jpg",
        "Status Updated": "2023-11-29",
        "LatLong": "33.38908997, -111.8729646",
        "Life Form": [
            "Tree"
        ],
        "Record ID": "recDT6RlujoxtYOs9",
        "Last Modified": "2024-03-29T22:44:39.000Z",
        "Taxon Name Display": "Chilopsis linearis 'AZT Bi-Color'",
        "Arizona Native": [
            "Native 🌵"
        ],
        "View on Map": {
            "label": "View on map",
            "url": "https://mesacc.maps.arcgis.com/apps/webappviewer/index.html?id=bff97ca947f9484881e2e13b936b26e9&query=186d7d1beeb-layer-18%2CAccession%2C1447"
        },
        "Photo File Name": "bi2.jpg ",
        "Photo Last Modified": "2023-11-29",
        "Created": "2023-11-29T22:24:20.000Z",
        "Attachment URL": "https://media.aeropage.io/api/imgcache/token/9b2a984b7ad1f3eee8d719300b9cb751/recDT6RlujoxtYOs9",
        "Date Measured": "2024-03-27",
        "id": "recDT6RlujoxtYOs9",
        "createdTime": "2023-11-29T22:24:20.000Z"
    }
]

Google Drive inpute bundle:

[
    {
        "data": "1447recSjOHX6Nx9eMFoirecGM81nWLJ4hoZprlinearis'AZT Bi-Color'Bi-Color desert willowSouthwestern US, MexicoNative 🌵Bignoniaceae (Trumpet vine family)33.38908997-111.8729646https://media.aeropage.io/api/imgcache/token/9b2a984b7ad1f3eee8d719300b9cb751/recDT6RlujoxtYOs9",
        "select": "value",
        "convert": false,
        "filename": "MakeMapDataTest.csv",
        "folderId": "/0B1EIvpt0SU1DU214S0d1UU5LQkE/1RLyZpRjg-0SFWxNMm5q9akqD0wKifehn/1nRFW0qVj83AqDLNcQIBw6MTE_txNq0Xh/1uXrO_rX2xFqxP77LpdRCgzVMSWuaY2E7",
        "destination": "drive"
    }
]

make_blueprint.json (46.6 KB)