Kütüphane / Veri Senkronizasyonu ve ETL
Veri Senkronizasyonu ve ETL
Sayfalı API verilerini yeniden deneme ve hız sınırlama ile Postgres'e aktar
İsteğe bağlı çalışır; sayfalı bir API'nin tüm sayfalarını çeker, kayıtları normalleştirir, Postgres'e upsert eder ve başarısız istekleri hız sınırlarına uyarak yeniden dener.
Ne yapar
## Universal API → Database Ingestion Fetches any paginated API, normalizes records, upserts them into Postgres, and automatically continues until no more pages remain (with retries + rate-limit waits). ### All nodes (1-line each) 1. Manual Trigger – Starts the ingestion job on demand. 2. Code - Initialize Config – Loads API URL, headers, pagination type, retry policy and field mapping. 3. HTTP Request - Fetch Page – Calls the API with current page/cursor and built-in retries. 4. Code - Parse & Normalize – Extracts records from the response and calculates the next page token/page. 5. IF - Has Records? – Continues only when the current page actually returned data. 6. Postgres - Upsert Records – Inserts or updates the batch into the target table with conflict handling. 7. Code - Prepare Next Page – Updates cursor/page counter and checks against max-pages limit. 8. IF - More Pages? – Decides whether another page should be fetched. 9. Wait - Rate Limit Delay – Pauses between pages to respect API rate limits. 10. Code - Finalize Job – Builds the final summary (total records, pages, status). 11. NoOp - End – Terminates the workflow cleanly after the last page.
Adımlar
- Manual Trigger
- Code - Initialize Config
- HTTP Request - Fetch Page
- Code - Parse & Normalize
- IF - Has Records?
- Postgres - Upsert Records
- Code - Prepare Next Page
- IF - More Pages?
- Wait - Rate Limit Delay
- Code - Finalize Job
- NoOp - End
Benzer otomasyonlar
Veri Senkronizasyonu ve ETLPostgres sorgu sonuçlarını elektronik tablo dosyasına aktarma5 adımVeri Senkronizasyonu ve ETLZamanlanmış Olarak Postgres'e Veri Aktarma3 adımVeri Senkronizasyonu ve ETLVerileri zamanlanmış olarak Postgres'e yükleme4 adımVeri Senkronizasyonu ve ETLSupabase Postgres kayıtlarını Gemini ile doldur6 adım