Multi-Platform eCommerce Integration Hub
n8n as the central integration layer: one workflow decides whether an event is a product sync or an order, routes it to the right channel and closes the loop.
Order routing where an AI decision engine classifies each order, auto-processes the clean ones and sends the rest to a backorder queue before operations completes it.
Copy and paste the following FlowZap code into a project in your FlowZap account to see this template diagram.
channels { # Sales Channels
n1: rectangle label:"Order Received"
n2: diamond label:"Platform?"
n3: rectangle label:"Unified Order Payload"
n1.handle(right) -> n2.handle(left)
n2.handle(bottom) -> n3.handle(top)
n3.handle(right) -> agent.n4.handle(left) [label="new order"]
}
agent { # AI Decision Engine
n4: rectangle label:"AI: Classify Order"
n5: diamond label:"Risk Score?"
n6: rectangle label:"Auto-Process"
n7: rectangle label:"Flag for Review"
n8: diamond label:"Inventory Check"
n9: rectangle label:"Route to Warehouse"
n10: rectangle label:"Backorder Queue"
n4.handle(left) -> channels.n3.handle(right) [label="ack"]
n4.handle(right) -> n5.handle(left)
n5.handle(right) -> n6.handle(left) [label="low"]
n5.handle(bottom) -> n7.handle(top) [label="high"]
n6.handle(right) -> n8.handle(left)
n8.handle(right) -> n9.handle(left) [label="in stock"]
n8.handle(bottom) -> n10.handle(top) [label="none"]
n9.handle(right) -> ops.n11.handle(left) [label="dispatch"]
}
ops { # Operations
n11: rectangle label:"OMS / ERP Write"
n12: rectangle label:"Shipment Created"
n13: rectangle label:"Notify Customer"
n14: circle label:"Complete"
n11.handle(left) -> agent.n9.handle(right) [label="confirmed"]
n11.handle(right) -> n12.handle(left)
n12.handle(right) -> n13.handle(left)
n13.handle(right) -> n14.handle(left)
}
Install the MCP packagenpm install -g flowzap-mcpMCP documentation
n8n as the central integration layer: one workflow decides whether an event is a product sync or an order, routes it to the right channel and closes the loop.
Product sync between platforms with an AI agent in the middle: field extraction, category mapping and schema normalization before the write-back returns 200 OK.
Coinbase AgentKit flow: a human allocates a USDC budget, the agent authenticates its Base wallet, pays an x402 invoice and processes the supplier data, with no fiat in the path.
Stripe Agent Toolkit flow: the consumer approves an agent spend, the agent requests a scoped token, passes it to the merchant and the order completes in fiat.
The trust layer behind agent-to-agent payments on Coinbase: the agent initiates the spend, the transaction is broadcast, the block confirms and the payment finalizes on-chain.
The trust layer behind agent-mediated payments at Stripe: the agent submits a shared payment token, the risk engine approves it and fiat clears through the banking rails.