World News Firestore Sync
Overview
Fetch latest news articles from World News API and upsert them into Firestore
Suggested workflow name: worldnews-firestore-sync
Total nodes: 12
Integrations used: google-firestore.queryDocuments, google-firestore.upsertDocument
Tags: news, firestore, http, sync
Build this in the UI
- Create a new workflow in your
stagingworkspace. - Add the nodes below in order and connect them.
- Configure credentials, dynamic fields, and required node settings.
- Run once with test data and inspect Executions.
- Publish after validation, then promote to
prodwhen ready.
Node checklist
- Add
Bootstrap sync state(StateUpdate) - Add
Query latest stored news(UniversalProvider) —google-firestore.queryDocuments - Add
Compute anchor publish date(Code) - Add
Fetch pages from World News API(Loop) - Add
Fetch news page(Http) - Add
Prepare page payload(Code) - Add
Persist news items(Loop) - Add
Upsert news document(UniversalProvider) —google-firestore.upsertDocument - Add
Advance item index(StateUpdate) - Add
Finalize page state(StateUpdate) - Add
Update last read checkpoint(StateUpdate) - Add
Log sync summary(Log)
What to configure in the UI
- Credentials / secret references:
WORLDNEWS_API_KEY - Data referenced (
state.*):currentItemIndex,currentPageCount,currentPageNews,currentPageNews.length,hasMore,lastReadNewsAt,lastWorldNewsResponse,latestProcessedPublishedAt, +8 more - Variables (
vars.*): none detected
Related docs:
Troubleshooting
- If a run fails, inspect node inputs/outputs in Executions.
- Verify credentials are present and selected for this workspace.
- Check expression fields for missing inputs, null paths, or invalid formats.