Extract financial metrics like PAYDEX, credit scores, and company ratings from D&B PDF reports into structured JSON using this powerful n8n workflow and GPT-4o models for seamless integration.
Download this n8n workflow template and start using it instantly.
Credit Risk Analysts who need to standardize data from dozens of D&B reports.
Automation Engineers looking for advanced n8n templates for PDF parsing.
Finance professionals seeking to integrate Dun & Bradstreet data directly into internal systems (CRMs, databases).
Developers building complex data pipelines using the flexibility of an n8n node sequence.
Manually reading and transcribing complex financial documents like D&B Company Reports is time-consuming and prone to human error. These reports are often delivered as PDFs, making automated data ingestion difficult. This sophisticated n8n workflow solves this problem by chaining several specialized n8n node operations: authentication, PDF retrieval, text extraction, and advanced AI-driven parsing.
This specific n8n template uses GPT-4o, configured with a strict extraction system prompt and a defined JSON schema, to reliably pull fields like PAYDEX scores, composite credit appraisals, and viability scores directly into a clean, structured JSON object. This robust approach ensures high accuracy and consistency, transforming unstructured documents into actionable data ready for use in any downstream n8n node integration.
This comprehensive n8n workflow operates in a precise sequence to handle both API integration and complex document processing:
Get Token n8n node (HTTP Request) which authenticates against the D&B API using Basic Auth credentials. It retrieves a required accesstoken to be used for subsequent API calls.D&B Report n8n node (HTTP Request) uses the retrieved token to call the D&B API, requesting a specific company's report in PDF format (using the reportFormat=PDF parameter).Convert to PDF File n8n node, which ensures the binary data is correctly identified as a PDF file type within the n8n workflow.Extract Binary n8n node utilizes its PDF operation capability to read the binary file and extract all readable text content from the financial report.Analyze PDF n8n node (LangChain Agent). This node receives highly specific instructions via a system prompt to act as a "precision extractor," focusing solely on key financial scores and metrics.Structured Output n8n node, which enforces a mandatory JSON schema (including fields like paydex3mo, dnbratingoverall, and creditlimitconservative). This critical step, supported by dedicated OpenAI Chat Model n8n node instances for both analysis and auto-fixing, guarantees the final output adheres exactly to the required structure, making this n8n workflow reliable for data ingress.To use this n8n template, follow these steps:
Get Token n8n node:granttype is set to clientcredentials.D&B Report n8n node, verify the URL and headers are configured to dynamically use the access token received from the Get Token n8n node and the desired DUNS number. Note that this specific n8n workflow uses a hardcoded DUNS number in the URL example, which you should replace with an expression referencing an upstream n8n trigger input or custom variable. Get Token (HTTP Request n8n node): Function: Secures an access token from the D&B API using Basic Authentication. Key Configuration: Uses POST method, URL https://plus.dnb.com/v3/token, and body parameter granttype=clientcredentials.
D&B Report (HTTP Request n8n node): Function: Fetches the raw D&B Company Report PDF using the dynamically retrieved Bearer token. Key Configuration: GET request specifying reportFormat=PDF.
Convert to PDF File (n8n node): Function: Transforms the raw binary output from the API request into a recognized file object within the n8n workflow environment.
Extract Binary (n8n node): Function: Specifically extracts the textual content from the internal PDF file object, preparing it for AI analysis. Key Configuration: Operation set to 'pdf'.
Analyze PDF (LangChain Agent n8n node): Function: The primary processing n8n node that applies GPT-4o intelligence to read and interpret the complex financial text. Key Configuration: System message provides extremely detailed instructions for flat JSON extraction and scoring criteria.
Structured Output (LangChain Output Parser n8n node): Function: Enforces the schema for the output data, ensuring the AI response strictly conforms to the required fields (e.g., paydex24mo, viabilityscore). This makes the output data highly usable by subsequent n8n node operations.
This n8n workflow extracts structured data from Brave Search using the Bright Data MCP n8n node, processes results with Google Gemini, and saves output to Google Sheets and disk.

Use this powerful n8n workflow to automatically process uploaded resumes (PDF, CSV, HTML, etc.), extract key candidate data (skills, email), and convert it into structured JSON using OpenAI's gpt-4o-mini model and custom n8n templates.

Use this powerful n8n workflow template to extract specific data from any URL using the Gemini 2.5 flash AI model and deliver results instantly via Gmail. This robust n8n workflow features a simple form submission trigger.

Extract structured medical data from documents like receipts, prescriptions, and reports using an automated n8n workflow. Leverage Google Gemini AI for high-accuracy OCR and compliance.

Use this powerful n8n workflow to automate back-office invoice processing. Extract structured JSON data from JotForm PDF submissions using OpenAI GPT-4.1-mini and seamlessly save results to Google Sheets.

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.







































