Gadget v1.0 has been released! The product has been updated and this tutorial may not work without some modifications. Please refer to our docs at https://docs.gadget.dev for the latest information.
Want to get started with Gadget? Go to https://ggt.link/build-shopify-apps
In this webinar replay, data is synced from Shopify to Airtable. Gadget is used to manage Shopify webhook subscriptions and data sync, and Google Cloud Tasks is used to handle Airtable's rate limits.
Fork this app to browse the code: https://app.gadget.dev/auth/fork?doma...
Chapters
00:00 Intro + new Gadget app
02:12 Connect to Shopify
06:23 Test Shopify webhooks
07:49 Set up Airtable client
12:49 Syncing new product data to Airtable
16:57 Updating & deleting products in Airtable
19:15 Handle the Airtable API's rate limit
20:59 Setting up Google Cloud Tasks
24:57 Cloud Tasks environment variables
27:58 Create a custom route
29:21 Set up Google Cloud Tasks client
35:17 Send product data to Airtable (from Cloud Tasks)
37:40 Sync all Shopify product data to Airtable
38:56 Next steps / Q&A