Function validateFlowJson

  • Validate a Meta Flow JSON document structurally, locally — before any API call. Returns a list of issues (empty array means it passed these checks).

    IMPORTANT: these are STRUCTURAL checks only. A clean result means the document is well-formed, NOT that Meta will accept it. Meta-side rejections that cannot be reproduced locally include flow-name uniqueness (only known at publish time) and account/permission errors. Treat a green check as "no obvious structural problem", not "guaranteed to publish".

    Parameters

    • flow: unknown

    Returns FlowJsonIssue[]