Home page and Roxhill login confirmation
Factiva search and results
Prev
Next

FGH Lexicon

In-house tooling for global strategic communications consultancy

Overview

FGH is a global strategic communications consultancy (a PR firm to you and I) specialising in financial services clients.

As part of their work, associates have various tasks such as preparing daily and hourly news briefings for clients, work for presentations, and press releases for journalists. This is done using tools such as the Dow Jones Factiva (opens new window) service, Google Sheets (opens new window), Roxhill (opens new window) and Gmail (opens new window).

Having to jump between various tools and complex UIs is time-consuming and inefficient so I lead the effort over several phases to build a suite of in-house tools to enable the team to move more-quickly.

Implementation

Architecture

The application itself is a Nuxt JS (opens new window) build with a custom Express JS (opens new window) back end, hosted on Microsoft Azure.

The back end manages and marshals calls to Factiva API (opens new window) and Elastic Search (opens new window), collating, transforming and returning data in frontend-friendly JSON formats:

+- api
|   +- modules
|   |   +- contacts
|   |   +- mentions
|   |   +- news
|   |   +- ...
|   +- services
|   |   +- factiva
|   |   +- elastic
|   +- ...
+- client
    +- ...

The front end consists of 3 complex main modules. Building on modular techniques from Asterisk and Control Space, I developed a new Nuxt plugin called Nuxt Areas (opens new window) which rather than stripe dependencies across the application, co-locates code in self-contained “areas”:

+- client
    +- areas
        +- app
        +- journalists
        +- mentions
        +- news
            +- components
            |   +- ...
            +- pages
            |   +- ...
            +- store
            +- ...

Modules

The News Search was designed to provide a simplified UI to the more complex Factiva API / UI, allowing associates to search and compile news bulletins for clients. The final report was formatted specifically to be copied and emailed in plain text email.

Getting up to speed with Factiva and its API (and in Phase 2, Elastic Search) was a lot of work, and is the last time I will underestimate working with unknown 3rd party technologies and services! Not only was Factiva a legacy SOAP API, but it had 1000s of formal and custom parameters that needed to be scraped, stored and supplied to our local API to allow us to build a meaningful and useful UI when the application loaded.

This work in Phase 1 was on top of speccing and building a greenfield project and all the associated backend and frontend architecture and UI from scratch.

Journalists

The Journalists module introduced in Phase 2 was initially briefed as a set of in-app spreadsheets compiled by each associate, but it became clear that due to redundancy, it would be better to build a Gmail-style contacts database using information from both Factiva and Roxhill. This would allow journalists to be stored once, and be added to “distribution lists” in the same was as the “labels” functionality works in Google Contacts.

Additional features such as bulk import and Roxhill integration were also completed as the first step in a more advanced contact management system.

Roxhill bridge

FGH use a 3rd party service called Roxhill in order to contact journalists for tasks such as press releases, and the hope was that Roxhill data could be integrated with application.

However, two main problems existed; 1) Roxhill does not have an API 2) Factiva and Roxhill do not share common formats. To answer this, I built a Chrome extension to bridge communications between the application and Roxhill, and initial strategies to compare journalists by source and desk.

Associates could click a button in either the News Search results or Journalists module to search for a journalist. The extension would then target an open Roxhill Media tab and execute Roxhill’s standard search. The user could then send the found journalist information back to Lexicon to show or update a form, and update Lexicon’s own database.

The two-way communication also allowed any journalist to be searched, viewed, or updated at any time from either the application or Roxhill.

Media Mentions

Media mentions was the last tool in the suite, which leverages the existing work from the News Search to search for keywords over time and collate the data into charts, with breakdowns by country, publication, journalist, etc.

This module was built on top of the existing architecture, and completed by Ruud Niew (opens new window).

People:

Open Source:

So...

I hope you found this post interesting or inspiring.

If you want to engage further, follow me on Twitter or drop a comment or reaction below.

Either way, thanks for reading!