Make scenario blueprints store sequential and routed modules inside flow[] with nested array expressions such as {{1.body.items[].id}}. Migrate-Anything compiles Make JSON blueprints into clean Python 3 stdlib dispatch scripts with zero external runtime dependencies.
| Blueprint Construct | Manual Porting Pitfall | Compiled Output |
|---|---|---|
Array traversal (items[].id) |
Regex string replacement breaks whenever arrays have 0 or N items. | Emits explicit Python path traversal with missing-key diagnostics and typed list iteration. |
| Webhook HTTP payloads | Raw template string substitution corrupts JSON when user notes include quotes or newlines. | Separates payload templates into Python dicts serialized safely via json.dumps(). |
| Connection headers & tokens | Exported blueprints sometimes include test API keys in HTTP module headers. | Masks secrets immediately to {{ENV:CONNECTION_ALIAS_TOKEN}} references. |
curl -sS -X POST https://migrate.fastmesh.dev/v1/migrate \
-H "Content-Type: application/json" \
-d '{
"source_format": "make",
"target_format": "python_dispatch",
"table_name": "order_sync_scenario",
"source_data": {
"name": "Sync Paid Orders",
"flow": [
{"id": 1, "module": "gateway:CustomWebHook", "metadata": {"mode": "instant"}},
{"id": 2, "module": "http:ActionSendData", "mapper": {"url": "https://api.example.com/orders", "body": {"order_id": "{{1.body.id}}", "sku": "{{1.body.items[].sku}}"}}}
]
}
}'