---
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.
---

# :fa-sitemap: 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 :Nodinite:, 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.

:new7.12: 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>:fa-eye: Preview</th>
<th>:fa-code: 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.

## :fa-hand-point-right: Next Steps

* :fa-container-storage: [L2 Container Diagram Example][L2 Example]  
* :fa-server: [BizTalk Example Set][BizTalk Overview]  
* :fa-upload: [Import Your First C4 Diagram][]  

## :fa-link-horizontal: Related Topics

* :fa-cloud: [Azure L1 Context Diagram Example][Azure L1]  
* :fa-route: [Migration L1 Context Diagram Example][Migration L1]  
* :fa-book: [C4 Example Library Overview][Examples Overview]  
* :fa-table: [C4 Model vs Nodinite Concept Mapping][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/BT/Context.png

[Azure L1]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Azure/L1%20Context%20Diagram%20Example.md
[BizTalk Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/BizTalk/Overview.md
[BizTalk Overview#before-you-import]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/BizTalk/Overview.md#before-you-import
[C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[C4 Model vs Nodinite Concept Mapping]:{ndr}/Repository%20Model/C4%20Diagrams/Troubleshooting/C4%20Model%20vs%20Nodinite%20Concept%20Mapping.md
[Examples Overview]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Overview.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Examples/BT/C4_BizTalkExample_L1.gif
[Import Your First C4 Diagram]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Import%20Your%20First%20C4%20Diagram.md
[L2 Example]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/BizTalk/L2%20Container%20Diagram%20Example.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Migration L1]:{ndr}/Repository%20Model/C4%20Diagrams/Getting%20Started/Examples/Migration/L1%20Context%20Diagram%20Example.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[What is a C4 Diagram Set?]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md