lambogenius-liquid-compose-samples
The samples repository has eight Logic Apps. Each folder builds and runs on its own: ./run.ps1 starts Azurite, the stand-in systems, the sample Function when needed, and the Logic App; ./demo.ps1 calls every workflow and checks the results.
| Sample | Shows | Modes |
|---|---|---|
| 01 · Basics | One workflow per mode, a C# helper, a Function lookup, a partial and an inline template | all four |
| 02 · Orders to ERP | Webshop JSON and partner XML orders to one ERP format, a pick list, an XML acknowledgement; retries, duplicates and outages | JSON to JSON, XML to JSON, JSON to text |
| 03 · CSV and bank files | An RFC 4180 CSV and an 80-column fixed-width bank file, checked byte for byte | JSON to text |
| 04 · Supplier invoice | A UBL 2.1 invoice with three namespaces to an accounts-payable API; required fields and rejections | XML to JSON |
| 05 · Shipping email | An HTML email with partials and a plain-text alternative, in English or French, everything escaped | JSON to text, JSON to JSON |
| 06 · SOAP service | A SOAP 1.1 request built from JSON, and its response or SOAP Fault read back | JSON to text, XML to JSON |
| 07 · Recipes | Liquid essentials, parameters, partials, template versions, XPath, ToJson, and nine failures with their error codes | JSON to JSON, XML to JSON |
| 08 · Workflow variables | Variables of every type as parameters, typed results back into variables, a For each that collects results, a variable that picks the template, a Switch on a decision | JSON to JSON, JSON to text |
Run one
git clone https://github.com/lambogenius/lambogenius-liquid-compose-samples C:\src\liquid-samples
cd C:\src\liquid-samples
# save Lambogenius.LiquidCompose.LogicApps.0.1.1.nupkg from Downloads in packages/
cd 08-workflow-variables
./run.ps1 # window 1
./demo.ps1 # window 2Prerequisites: Windows, the .NET 8 SDK, Azure Functions Core Tools 4, Azurite, PowerShell 7, and Python 3 for the stand-in systems. Clone to a short path: the builds write files up to about 165 characters below the clone folder, and Windows limits paths to 260.