Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Web Scraping & Research

Web Scraping & Research

Find competitor content gaps from sitemaps using Bright Data, OpenAI and Slack

Reads a competitor's robots.txt and sitemaps through Bright Data, ranks the topics they publish that you do not, and posts the content gap report to Slack and Google Sheets.

What it does

## Find the topics a competitor covers and you never have Their sitemap is a complete public list of everything they publish. So is yours. The difference between the two is a content plan, ranked by how much they have invested in each subject. ### How it works Find The Sitemaps asks each robots.txt where the sitemap is, because the filename is never the same twice. If robots names none, the usual paths are tried - and the response is checked for real XML, since a guessed path often returns an HTML 404 with a 200 on it. Most sitemaps are indexes of other sitemaps, and the nesting goes deeper than one level - monday.com takes three hops before a page URL appears. So the walk is a loop with a depth cap, and image, video and tag sitemaps are skipped by name at every level. Find The Gaps compares the two sites on slug words rather than on pages - two requests instead of thousands - and ranks the subjects that appear across many of their URLs and none of yours. Loop Over The Gaps then fetches only the top few through the Web Unlocker, one at a time, so GPT-5.6 can read what they actually published and say what angle they took and whether the subject is worth your time. Results land in a sheet, a summary goes to Slack, and whoever submitted the form gets the table back in the browser. ### Setup 1. Bright Data: a Web Unlocker zone as a Header Auth credential. Free tier is 5,000 credits a month. 2. An OpenAI credential, a Google Sheets credential and a Slack credential. 3. Paste your sheet URL into Log The Gaps, with a tab named gaps. 4. Open the Form Trigger and copy its URL.

The steps

  1. Ask For Both Sites
  2. Settings
  3. Read The Request
  4. Fetch Both Robots
  5. Find The Sitemaps
  6. Fetch The Sitemaps
  7. Read The Sitemaps
  8. More Levels To Walk?
  9. Pick The Next Sitemaps
  10. Fetch The Child Sitemaps
  11. Read The Child Sitemaps
  12. Find The Gaps
  13. Queue What To Read
  14. Loop Over The Gaps

24 steps in total.

Similar automations