What I built
- An edge function that authenticates to NetSuite machine-to-machine and upserts the full customer list.
- Scheduled hourly with
pg_cron, protected by a shared secret, with credentials in Supabase Vault. - A base for more data. The pattern is ready for orders, items and inventory.