actions icon indicating copy to clipboard operation
actions copied to clipboard

Airtable action – SYNC data not only APPEND

Open kzzzr opened this issue 3 years ago • 0 comments

Hey,

I've tried Airtable action and discovered that it just inserts new records into a table.

      await Promise.all(records.map(async (record: any) => {
        return new Promise<void>((resolve, reject) => {
          table.create(record, (err: { message: string } | null, rec: any) => {
            if (err) {
              reject(err)
            } else {
              resolve(rec)
            }
          })
        })
      }

What I am looking for is way of syncing data from Looker to Airtable:

  • UPDATE existing records
  • INSERT new records
  • Leave DELETED records untouched
  • Leave derived columns in Airtable untouched

Any help or suggestions would be much appreciated.

kzzzr avatar Nov 24 '21 13:11 kzzzr