Skip to main content

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 is dnb_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

  1. Add Dun & Bradstreet Company Information to an underwriting stage in Workflow Builder.
  2. Connect the block according to the outcomes required by your orchestration.
  3. Publish the Data Orchestration template.
  4. Call Execute Data Orchestration at POST /api/applications/{application_id}/data_orchestration/execute with the published template_id and application_id. Include stage_id only when you need to identify a specific underwriting stage.
The execution endpoint schedules the orchestration and returns {"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:
  1. Checks the business for an existing duns_number.
  2. Automatically runs dnb_bm_l1 when the D‑U‑N‑S Number is missing.
  3. Stores the first match candidate’s D‑U‑N‑S Number when one is returned.
  4. Authenticates to D&B Direct+.
  5. Calls D&B GET /v1/data/duns/{duns} with blockIDs=companyinfo_L2_v1.
  6. Stores the provider response as the latest dnb_ci_l2 data and allows the orchestration to continue according to the configured outcome.

Retrieve the result

Call Get Commercial Data and request only this service.
The Lendflow response wrapper is:
  • 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 normal companyinfo_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

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.
Lendflow skips the automatic business-match call and requests companyinfo_L2_v1 for the stored D‑U‑N‑S Number.
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.
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.
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.
No. Lendflow resolves D&B credentials server-side. The API request uses only your Lendflow bearer token and the required Lendflow identifiers.