Exploring GreenOps and AI Brochure Generation with Opal

November 5, 2025

After making it to the final round of Optimizely’s Hackathon last year, our team put their knowledge and skills to the test again for this year’s Optimizely Opal Hackathon. 

If you’re not already familiar, Opal is Optimizely’s next-generation AI-driven platform that connects content, data, and personalization through a network of intelligent agents and adaptable workflows. 

For this year’s Hackathon, teams were tasked with creating tools that extend the platform’s capabilities, spotlighting how AI can automate business operations across the Optimizely ecosystem via Opal APIs. 

The First Line Software team presented two solutions demonstrating how Opal can drive both sustainable web operations and intelligent content automation: a GreenOps-focused sustainability analyzer and an AI-based brochure generation tool.

Sustainable Experience Optimizer — GreenOps for Digital Sustainability

The Sustainable Experience Optimizer is a GreenOps tool built on the Opal Tool Framework, created to analyze and optimize websites’ digital carbon footprint while correlating sustainability metrics with performance and UX. Unlike traditional integrations, this runs as an independent prototype. This means it does not connect directly to Optimizely CMS, Commerce, or ODP, but demonstrates how Opal tools can operate autonomously while leveraging external data sources.

Architecture and Integrations

This system gathers performance data through the CO₂.js library (by The Green Web Foundation) and Google PageSpeed Insights API, calculating the estimated energy use of each page and its CO₂ emissions. These metrics, combined with Core Web Vitals (LCP, FID, CLS) and network telemetry, generate detailed Markdown-based sustainability reports. linking user experience with environmental impact.

Tech Stack

  • Runtime Environment: Node.js, hosted on Vercel Functions for lightweight, serverless execution.
  • AI Integration: Opal SDK with JSON-based Tools Protocol.
  • Data Sources: CO₂.js, Google PageSpeed Insights.
  • Output Format: Markdown-formatted sustainability reports designed for readability and easy integration into documentation or dashboards.

Use Cases

  • Automated CO₂ analysis for individual pages or entire sites.
  • Comparative sustainability benchmarking across competitors or industries.
  • Real-time optimization recommendations generated through the Opal AI agent.

Through combining environmental responsibility with technical performance metrics, this tool demonstrates how AI-driven GreenOps can integrate sustainability into the core of digital experience design.

Automating Content Production with Opal: Instant Brochure Builder 

The Instant Brochure Builder uses Opal’s orchestration to turn public web pages into polished, print-ready PDFs or slide decks. The AI agent parses and restructures information from a public web page, and has the ability to enrich it with more context or summaries before applying a design template to produce a ready-to-share presentation or brochure.

Data Flow and Architecture

The current Instant Brochure Builder operates as a standalone solution, not directly integrated with Optimizely components. It uses the Opal Tools API to process public URLs, extract and reorganize text, and generate formatted outputs using a combination of Node.js, LangChain.js, and Azure OpenAI. This allowed the team to experiment with intelligent document-generation workflows and focus on the interaction between Opal’s AI layer and lightweight serverless infrastructure.

Technical Implementation

  • AI Content Parsing: LLM-based analysis powered by Azure OpenAI.
  • Template Engine: HTML-based templates built with Handlebars, rendered to PDF using Puppeteer.
  • Tech Stack: Node.js, Vercel Functions, LangChain.js, Opal Tools SDK, Azure OpenAI.
  • Output Formats: PDF, Markdown, or JSON for further integration.

Example Opal prompt:

Use url_to_brochure tool for https://example.com/services

with template "service_guide" - display results as-is

The tool works exclusively with public URLs, excluding private or embedded media, to ensure data security and transparency.

Future releases may include direct integration with Optimizely CMS or CMP, enabling end-to-end content publishing pipelines within the ecosystem.

The hackathon demonstrated how Opal can serve as the intelligence core within the Optimizely ecosystem to bridge data, content, and automation through AI-powered tools.

Let’s talk!

Have any questions? Fill out the form and our team will be in touch!