Block 1 - Sticky Note10
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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...
n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.httprequest, n8n-nodes-base.converttofile, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Robert Breen.
Original n8n.io sourcePull 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 score, credit limit). Includes Sticky Notes for quick setup help and guidance.
Auth: Header Auth (use an n8n HTTP Header Auth credential)
Headers:
Accept: application/jsonCredential Example: D&B (HTTP Header Auth)
> Put your Authorization: Bearer <token> header inside this credential, not directly in the node.
toBinary contents[0].contentObjectpdftext field with the extracted PDF content, ready for AI analysis.gpt-4o (as configured in the JSON) ai_languageModel to Analyze PDF gpt-4o) as ai_languageModel to Structured Outputdefine ={{ $json.text }}YYYY-MM-DD. {
"report_date": "",
"company_name": "",
"duns": "",
"dnb_rating_overall": "",
"composite_credit_appraisal": "",
"viability_score": "",
"portfolio_comparison_score": "",
"paydex_3mo": "",
"paydex_24mo": "",
"credit_limit_conservative": ""
}
ai_outputParser to Analyze PDFIf you prefer fetching tokens dynamically:
grant_type = client_credentialsAccept: application/jsonAuthorization: Bearer {{$json["access_token"]}} in subsequent calls.> In this template, the D&B Report node uses Header Auth credential instead. Use one strategy consistently (credentials are recommended for security).
The analyzer + parser return a single flat object like:
{
"report_date": "2024-12-31",
"company_name": "Example Corp",
"duns": "123456789",
"dnb_rating_overall": "5A2",
"composite_credit_appraisal": "Fair",
"viability_score": "3",
"portfolio_comparison_score": "2",
"paydex_3mo": "80",
"paydex_24mo": "78",
"credit_limit_conservative": "25000"
}
text field.contents[0].contentObject.Authorization: Bearer <token>.duns, productId, etc.).Need help customizing this (e.g., routing the PDF to Drive, mapping JSON to your CRM, or expanding the schema)?
π§ [email protected]
π https://www.linkedin.com/in/robert-breen-29429625/
π https://ynteractive.com
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Extract structured data from D&B company reports with GPT-4o |
|---|---|
| Complexity | intermediate |
| Nodes | 11 |
| Categories | Document Extraction, AI Summarization |
| Author | Robert Breen |
| Published | 23 Sept 2025 |
Use the JSON export at /data/workflows/8868/8868.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.