---
title: BizTalk L1 Context Diagram Example | Classic Integration Hub
description: BizTalk L1 Context diagram example with copy-paste Mermaid markup. Shows a classic hub-and-spoke Order-to-Cash landscape with BizTalk Server between the Customer, Supplier, Logistics Partner, and core business systems.
---

# <i class="fal fa-sitemap" aria-hidden="true"></i> BizTalk L1 Context Diagram Example

This BizTalk context diagram is the L1 view of the [BizTalk example set][BizTalk Overview]. It represents a typical BizTalk-era integration landscape around Order-to-Cash: the business systems stay stable, and BizTalk Server acts as the canonical integration hub between them and the external parties.

To try it in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, copy the `C4Context` markup below and follow [Import Your First C4 Diagram][] to create a [C4 Diagram Set][What is a C4 Diagram Set?], import the markup, and bind each node to a [System][Systems] in your [Repository Model][]. See [C4 Diagrams][] for the concepts.

<sup><span class="nodinite-new-badge">New 7.12</span></sup> An L1 Context diagram is scoped to exactly one System, required before you promote it to Active. The import wizard's **Scope** step asks for it, and **Next** stays disabled until you pick one: pick *BizTalk Server*. When the Repository doesn't have it yet, choose **Use the System this import creates: BizTalk Server** instead ([Before you import][BizTalk Overview#before-you-import]). Or choose **Set the scope later**: the diagram is imported as a Draft, and you set the scope in **Edit Properties** before you promote it to Active. It is the only `System` in the markup; the business systems and external parties are its `System_Ext` neighbours, and a `Person_Ext` binds to a System with the C4 Type *Person (external)*. **Resolve All** creates the ones that match nothing as new Systems. The technologies list protocols with commas, because the import reads the text after ` / ` as a [Message Type][Message Types].

![Import the L1 Context markup of this page into a C4 Diagram Set: paste it, pick BizTalk Server on the Scope step, Resolve All, Import, and open the diagram, animated walkthrough (7.13)][Hero]  
*Animated walkthrough: the markup below becomes the diagram *BizTalk Order-to-Cash - Context*. **Review & Resolve** matches Portal, ERP, and ERP-Finance, and **Resolve All** creates the rest.*  

![BizTalk L1 Context diagram: BizTalk Server in focus with the Persons, the business Systems, and the external Systems around it (7.12)][1]  
*The L1 Context diagram after importing the Mermaid markup on this page, with BizTalk Server as the integration hub.*  

## Example Diagram

<table>
<tr>
<th><i class="fal fa-eye" aria-hidden="true"></i> Preview</th>
<th><i class="fal fa-code" aria-hidden="true"></i> Mermaid Code</th>
</tr>
<tr>
<td>

```mermaid
C4Context
    title BizTalk Order-to-Cash - Context
    Person_Ext(customer_user, "Customer", "Places orders and tracks delivery")
    Person_Ext(supplier_user, "Supplier", "Sends product and invoice data")
    Person_Ext(logistics_user, "Logistics Partner", "Sends shipment and delivery events")
    System_Ext(portal, "Portal", "Receives orders and returns confirmations")
    System_Ext(erp, "ERP", "Order management and inventory")
    System_Ext(erp_finance, "ERP-Finance", "Invoice generation and finance processing")
    System_Ext(wms, "Warehouse Management System", "Fulfillment and pick-pack-ship")
    System_Ext(payment_gateway, "Payment Gateway", "External payment processor")
    System_Ext(tax_authority, "Tax Authority Portal", "External e-invoice authority")
    SystemDb_Ext(carrier_tracking, "Carrier Tracking DB", "External delivery confirmation store")
    SystemQueue_Ext(edi_gateway, "EDI Gateway", "External B2B queue for partner exchange")
    System(biztalk_hub, "BizTalk Server", "Canonical transform, route, and protocol mediation")
    Rel(customer_user, portal, "Submit order and check status", "HTTPS, JSON")
    Rel(portal, biztalk_hub, "Forward order and confirmation flow", "SOAP, REST")
    Rel(supplier_user, biztalk_hub, "Send price list and invoice", "SFTP, FILE")
    Rel(logistics_user, biztalk_hub, "Send shipment status", "REST, FILE")
    Rel(biztalk_hub, erp, "Create and update order", "SOAP")
    Rel(biztalk_hub, erp_finance, "Post invoice and settlement status", "SOAP, SQL")
    Rel(biztalk_hub, wms, "Send fulfillment request", "FILE, FTP")
    Rel(biztalk_hub, payment_gateway, "Authorize payment", "REST")
    Rel(biztalk_hub, tax_authority, "Submit e-invoice", "REST")
    Rel(biztalk_hub, carrier_tracking, "Read delivery status", "REST")
    BiRel(biztalk_hub, edi_gateway, "Exchange order and invoice documents", "AS2")
```

</td>
<td>

```text
C4Context
    title BizTalk Order-to-Cash - Context
    Person_Ext(customer_user, "Customer", "Places orders and tracks delivery")
    Person_Ext(supplier_user, "Supplier", "Sends product and invoice data")
    Person_Ext(logistics_user, "Logistics Partner", "Sends shipment and delivery events")
    System_Ext(portal, "Portal", "Receives orders and returns confirmations")
    System_Ext(erp, "ERP", "Order management and inventory")
    System_Ext(erp_finance, "ERP-Finance", "Invoice generation and finance processing")
    System_Ext(wms, "Warehouse Management System", "Fulfillment and pick-pack-ship")
    System_Ext(payment_gateway, "Payment Gateway", "External payment processor")
    System_Ext(tax_authority, "Tax Authority Portal", "External e-invoice authority")
    SystemDb_Ext(carrier_tracking, "Carrier Tracking DB", "External delivery confirmation store")
    SystemQueue_Ext(edi_gateway, "EDI Gateway", "External B2B queue for partner exchange")
    System(biztalk_hub, "BizTalk Server", "Canonical transform, route, and protocol mediation")
    Rel(customer_user, portal, "Submit order and check status", "HTTPS, JSON")
    Rel(portal, biztalk_hub, "Forward order and confirmation flow", "SOAP, REST")
    Rel(supplier_user, biztalk_hub, "Send price list and invoice", "SFTP, FILE")
    Rel(logistics_user, biztalk_hub, "Send shipment status", "REST, FILE")
    Rel(biztalk_hub, erp, "Create and update order", "SOAP")
    Rel(biztalk_hub, erp_finance, "Post invoice and settlement status", "SOAP, SQL")
    Rel(biztalk_hub, wms, "Send fulfillment request", "FILE, FTP")
    Rel(biztalk_hub, payment_gateway, "Authorize payment", "REST")
    Rel(biztalk_hub, tax_authority, "Submit e-invoice", "REST")
    Rel(biztalk_hub, carrier_tracking, "Read delivery status", "REST")
    BiRel(biztalk_hub, edi_gateway, "Exchange order and invoice documents", "AS2")
```

</td>
</tr>
</table>

## Import-Friendly Notes

* Uses explicit `Person_Ext`, `System`, and `System_Ext` macros: one `System` in focus (the scope), the neighbours outside.
* Uses business-domain names reused across BizTalk, Azure, and Migration sets for easier matching.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-container-storage" aria-hidden="true"></i> [L2 Container Diagram Example][L2 Example]  
* <i class="fal fa-server" aria-hidden="true"></i> [BizTalk Example Set][BizTalk Overview]  
* <i class="fal fa-upload" aria-hidden="true"></i> [Import Your First C4 Diagram][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure L1 Context Diagram Example][Azure L1]  
* <i class="fal fa-route" aria-hidden="true"></i> [Migration L1 Context Diagram Example][Migration L1]  
* <i class="fal fa-book" aria-hidden="true"></i> [C4 Example Library Overview][Examples Overview]  
* <i class="fal fa-table" aria-hidden="true"></i> [C4 Model vs Nodinite Concept Mapping][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/BT/Context.png

[Azure L1]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/azure/l1-context-diagram-example/
[BizTalk Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/biztalk/overview/
[BizTalk Overview#before-you-import]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/biztalk/overview/#before-you-import
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[C4 Model vs Nodinite Concept Mapping]:https://docs.nodinite.com/repository-model/c4-diagrams/troubleshooting/c4-model-vs-nodinite-concept-mapping/
[Examples Overview]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/overview/
[Hero]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/BT/C4_BizTalkExample_L1.gif
[Import Your First C4 Diagram]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/import-your-first-c4-diagram/
[L2 Example]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/biztalk/l2-container-diagram-example/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Migration L1]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/migration/l1-context-diagram-example/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[What is a C4 Diagram Set?]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-a-c4-diagram-set/