Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airtable action – SYNC data not only APPEND #441

Open
kzzzr opened this issue Nov 24, 2021 · 0 comments
Open

Airtable action – SYNC data not only APPEND #441

kzzzr opened this issue Nov 24, 2021 · 0 comments

Comments

@kzzzr
Copy link

kzzzr commented Nov 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant