Dun & Bradstreet Company Information
Use the Dun & Bradstreet Company Information Workflow Builder block to retrieve D&B Company Information Level 2 for a business. The block ID isdnb_company_information_kyb, and the Lendflow service ID is dnb_ci_l2.
The service resolves the business to a D‑U‑N‑S Number when necessary, then requests D&B Direct+ data block companyinfo_L2_v1. It returns identity, address, operating-status, industry, employee, and available financial profile data. It does not return a credit decision.
Requirements
Business information used for D‑U‑N‑S resolution
Execute the block
Data Orchestration
- Add Dun & Bradstreet Company Information to an underwriting stage in Workflow Builder.
- Connect the block according to the outcomes required by your orchestration.
- Publish the Data Orchestration template.
- Call Execute Data Orchestration at
POST /api/applications/{application_id}/data_orchestration/executewith the publishedtemplate_idandapplication_id. Includestage_idonly when you need to identify a specific underwriting stage.
{"data":{"executed":true}}. A successful HTTP response means the run was scheduled; it does not mean D&B finished successfully. Follow the application’s orchestration logs until the run reaches a terminal state.
During the service step, Lendflow:
- Checks the business for an existing
duns_number. - Automatically runs
dnb_bm_l1when the D‑U‑N‑S Number is missing. - Stores the first match candidate’s D‑U‑N‑S Number when one is returned.
- Authenticates to D&B Direct+.
- Calls D&B
GET /v1/data/duns/{duns}withblockIDs=companyinfo_L2_v1. - Stores the provider response as the latest
dnb_ci_l2data and allows the orchestration to continue according to the configured outcome.
Retrieve the result
Call Get Commercial Data and request only this service.data.commercial_data.dnb.ci_l2: the latest stored D&B payload.data.statuses.dnb.ci_l2: the latest service status or captured error.data.dates.dnb_ci_l2: the latest service date.data.request_data.dnb.ci_l2: the stored provider request.
What the service returns
Representative response
This sanitized example is reduced from Lendflow’s current D&B fixtures. It shows the normalcompanyinfo_L2_v1 shape without presenting the entire provider payload.
Response attributes shown in the example
Provider processing and transaction
Organization identity and address
Operating, industry, financial, and size information
D&B’s detailed data dictionary and complete
companyinfo_L2_v1 schema require access to the authenticated Direct+ documentation portal. Lendflow passes through provider data, and fixtures show that optional fields can be absent, null, an empty array, or an empty object. Integrations should null-check optional paths, tolerate empty collections, and use each accompanying D&B code description instead of hard-coding meanings from the sample.Statuses and errors
Keep provider and Lendflow statuses separate
Common failures
FAQ
Do I need to add the Dun & Bradstreet Business Match block first?
Do I need to add the Dun & Bradstreet Business Match block first?
No. If the application does not already contain
duns_number, the Company Information service automatically runs dnb_bm_l1 and uses the first returned candidate’s D‑U‑N‑S Number. Add a separate match block only when your workflow needs to evaluate match results independently.What happens when the application already has a D‑U‑N‑S Number?
What happens when the application already has a D‑U‑N‑S Number?
Lendflow skips the automatic business-match call and requests
companyinfo_L2_v1 for the stored D‑U‑N‑S Number.Does an accepted Data Orchestration request mean the D&B result succeeded?
Does an accepted Data Orchestration request mean the D&B result succeeded?
No. The request schedules asynchronous work. Check the Data Orchestration log and
data.statuses.dnb.ci_l2. Then inspect D&B’s blockStatus inside data.commercial_data.dnb.ci_l2.Why is data.commercial_data.dnb.ci_l2 null?
Why is data.commercial_data.dnb.ci_l2 null?
The field remains
null until Lendflow stores a provider response. Inspect data.statuses.dnb.ci_l2 to distinguish a pending run from an error. After success, optional D&B fields inside the payload can still be null, absent, or empty.Should I interpret D&B codes without their descriptions?
Should I interpret D&B codes without their descriptions?
No. D&B controls its code sets. Store the numeric code when useful, but interpret it with the description returned in the same object and consult the authenticated D&B Direct+ data dictionary for the complete current catalog.
Can I send D&B credentials in the execution request?
Can I send D&B credentials in the execution request?
No. Lendflow resolves D&B credentials server-side. The API request uses only your Lendflow bearer token and the required Lendflow identifiers.