Templates / Extract structured data from D&B company reports with GPT-4o

Extract structured data from D&B company reports with GPT-4o

Ready for 3.0

by Robert Breen ✓ · 289 views · created 2025-09-23 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 8 nodes and runs from “Get Token” (no trigger node, so run it manually or call it from another workflow). Along the way it connects OpenAI Chat Model. It also calls plus.dnb.com over HTTP.

How it runs

Trigger: From “Get Token” (no trigger node, so run it manually or call it from another workflow).

  1. Get Token (HTTP Request): calls plus.dnb.com
  2. D&B Report (HTTP Request): calls plus.dnb.com
  3. Convert to PDF File (Convert to File): converts data to a file (to binary)
  4. Extract Binary (Extract from File): extracts data from a file (pdf)
  5. Analyze PDF (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output

Services it uses

OpenAI Chat Model

HTTP calls to: plus.dnb.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Pull a Dun & Bradstreet Business Information Report (PDF) by DUNS, convert the response into a binary PDF file, extract readable text, and use OpenAI to return a clean, flat JSON with only the key fields you care about (e.g., report date, Paydex, viability…

Excerpt from Robert Breen's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.