which shows how we can correlate messages over Logic Apps using Azure Service Bus
{"type": "microsoft.logic/workflows", "apiversion": "2019-05-01", "name": "[parameters('logicappname')]", "location": "[parameters('location')]", "properties": {"state": "enabled", "definition": {"$schema": "https://schema.management.azure.com/providers/microsoft.logic/schemas/2016-06-01/workflowdefinition.json#", "actions": {"switch": {"cases": {"createresource": {"actions": {"createcustomresource": {"inputs": {"body": {"properties": "@addproperty(triggerbody().body["properties"], "mydynamicproperty", "mydynamicvalue')"}, "statuscode": 200}, "kind": "http", "type": "response"}}, "case": "create"}}, "default": {"actions": {"defaulthttpresponse": {"inputs": {"statuscode": 200}, "kind": "http", "type": "response"}}}, "expression": "@triggerbody().operationtype", "type": "switch"}}, "contentversion": "1.0.0.0", "outputs": {}, "parameters": {}, "triggers": {"customproviderwebhook": {"inputs": {"schema": {"required": ["operationtype", "resourcetype", "resourceid", "resourcename", "body"], "properties": {"operationtype": {"$id": "#/properties/operationtype", "type": "string", "enum": ["create", "delete", "get", "list", "trigger"]}, "resourcetype": {"$id": "#/properties/resourcetype", "type": "string"}, "resourceid": {"$id": "#/properties/resourceid", "type": "string"}, "resourcename": {"$id": "#/properties/resourcename", "type": "string"}, "body": {"$id": "#/properties/body", "type": "object"}}}}, "kind": "http", "type": "request"}}}}} 