1. 01Home
  2. 02About
  3. 03Services
  4. 04Work
  5. 05Blog
  6. 06Contact
TREN
Home/Work/Analysis by Social Tech
Web App

Analysis by Social Tech

Want to analyze your competitors? Then this automation tool is perfect for you!

At a Glance

Prompta Analysis was developed as a full-stack competitive intelligence platform that generates actionable strategies by comparing brands’ digital assets with those of their competitors. The platform consists of an analysis setup screen, real-time process tracking, a results dashboard, a NestJS-based analysis API, Instagram integration, and a reporting layer. The goal was to transform scattered brand signals across websites and social media into a centralized, actionable competitive report.

The Challenge

The system was not merely a simple analysis tool that compared websites. Website content, brand positioning, CTA usage, communication tone, Instagram profiles, and posts needed to be processed across different data structures. The system needed to produce reliable results without the analysis workflow failing completely in cases such as inaccessible sources, missing Instagram permissions, and format differences in AI outputs. At the same time, the secure storage of sensitive OAuth tokens and the controlled sharing of generated reports were critical.

What We Did

A guided analysis workflow was designed within a React and Vite-based interface, allowing users to define their own brands, connect their Instagram accounts, and add one to five competitors. AI-powered competitor suggestions, real-time progress tracking, analysis editing, and rerun features were developed.
The NestJS backend was modularly configured for website analysis, Instagram analysis, strategy synthesis, AI providers, and reporting. Website content was processed using a secure fetch layer and Cheerio to extract signals related to keywords, tone, CTAs, positioning, and product focus. Instagram Login and Facebook Login OAuth flows are supported, and access tokens are stored encrypted with AES-256-GCM.
Gemini is integrated as the primary provider, with OpenAI as an alternative provider, through a common abstraction layer. AI outputs were validated using Zod schemas and automatically normalized when necessary. Analysis snapshots were stored on Prisma and PostgreSQL; partial fault tolerance, confidence scores, PDF/JSON export, time-limited sharing links, and Meta-compatible endpoints were added.

Result

The result is a comprehensive analytics platform that allows brands to compare their website and Instagram performance against competitors from a single hub. Users can access an executive summary, competitor cards, a comparison matrix, a SWOT analysis, opportunities, strategic recommendations, and prioritized action plans.
The platform offers the ability to edit or rerun analyses, export results in PDF and JSON formats, and share them via time-limited links. This transforms manual competitor research into a faster, trackable, and repeatable strategy development process.

Gallery