Automation Platform: From Brazilian CNPJ → Domain Registration → Niche Detection → AI Website

Automation Platform: From Brazilian CNPJ → Domain Registration → Niche Detection → AI Website

Automation Platform: From Brazilian CNPJ → Domain Registration → Niche Detection → AI Website

Upwork

Upwork

Remoto

16 horas atrás

Nenhuma candidatura

Sobre

I need a custom internal platform that automates my workflow for creating simple websites at scale. The idea is: I provide Brazilian CNPJs or CSV lists of CNPJs. The system fetches company data (via CNPJ API), detects the business niche from the CNAE code, generates a sensible domain name, registers the domain via API, configures DNS, and finally creates and deploys a simple AI-generated website on that domain. Target: 50–100 domains/websites per day in a fully automated pipeline. Core Features (MVP) Company & CNPJ Ingestion Input one CNPJ or upload a CSV with many. System must call a CNPJ API and retrieve: corporate name trade name (nome fantasia) CNAE principal city, state, etc. Based on the CNAE, infer a business niche (supermarket, clinic, restaurant, law office, ecommerce, etc.). Automatic Domain Name Generation For each company: Normalize trade name (remove accents, remove “LTDA/ME”, etc.). Generate a list of domain candidates: nomefantasia.com.br nomefantasia.com nomefantasia.online nomefantasiacity.com.br etc. Check domain availability via registrar API (Namecheap, Porkbun, etc.). Follow a configurable TLD preference order, e.g.: .com.br → .com → .online → .website Register automatically via API. Store the domain in the database linked to the company. Automatic DNS Setup After registering: Create DNS A/CNAME records via API. Destination server (IP/hostname) must be configurable. Statuses: pending registered dns_configured error AI-Generated Website Creation & Deployment Using company data: trade name niche city/state System must: Generate website content via AI API (OpenAI or similar): headline, about section, services, CTA, etc. Fill a simple HTML template (or multiple templates per niche). Deploy automatically so https://domain.com shows the generated site. Deployment may be: folder per domain in a web server (/var/www/domains/domain), or another static hosting solution you propose. Dashboard / Admin Panel Admin login Screens: Companies (CNPJ) CNPJ trade name niche status Domains domain name associated company status (pending, registered, dns_configured, site_published, error) error message timestamps Actions: Upload CNPJs via CSV Add single CNPJ Reprocess failures Filters Background Processing (Queue) Use a queue (BullMQ + Redis or similar) to process: CNPJ API enrichment domain registration DNS AI generation website deployment The dashboard must NOT freeze while jobs run. Suggested Tech Stack (optional) Backend: Node.js (NestJS or Express) Queue: BullMQ + Redis Database: PostgreSQL (Prisma/TypeORM) Frontend: Next.js / React Hosting: VPS with Nginx/Apache (or similar) Integrations: Registrar API (Namecheap/Porkbun/etc CNPJ API (configurable) AI API (OpenAI or similar) Open to better suggestions. Deliverables Fully working system deployed to production Source code (Git) README with setup instructions admin credentials basic docs covering: architecture models how to add new registrars how to adjust TLD preferences how to adjust domain naming rules