This workflow automates country data retrieval via GraphQL, replacing manual Wikipedia lookups or API scripting that take 10-20 minutes per query for developers. The Webhook Trigger receives POST/GET with countryCode (e.g., 'DE'), Input Validation Set sanitizes to 2-letter ISO, Check Country Code Valid If routes, GraphQL Country Query executes against countries.trevorblades.com for name/capital/currency/continent/languages, Check Country Found If verifies data, Process Country Data Function formats with counts/timestamps, and Success Response returns JSON. Errors (Invalid/Country Not Found Response) handle issues. It helps app devs in small teams (5-20 staff) querying 50+ codes weekly, enabling fast localization without docs, streamlining global apps and compliance.\n\nThis workflow saves 4-6 hours weekly on 50 queries, cutting errors by 95%. Use cases include currency display for e-commerce, language selection for SaaS in startups. Suitable for small-mid teams. Requires n8n (free self-hosted or $20/month cloud). Scalable to 200 queries/day with Pro tiers.\n\nInstall n8n via n8n.io or cloud.n8n.io. No external APIs needed (public GraphQL). Import JSON; webhook POST 'country-info' with {countryCode: 'US'}. Update Input Validation for custom fields if needed.\n\nTest: POST {countryCode: 'US'}. Verify JSON with capital 'Washington, D.C.'. Check errors (invalid code: 400). Activate webhook. Monitor dashboard weekly. Optimize query; refresh n8n quarterly.", "businessValue": "Saves 4-6 hours/week on 50 country data queries", "setupTime": "10-15 minutes", "difficulty": "Beginner", "requirements": ["n8n instance (free self-hosted or $20/month cloud)"], "useCase": "Automated country info for global app localization"
$5.49
Workflow steps: 10
Integrated apps: webhook, set, if