Interface MetaFlowJson

Canonical Meta WhatsApp Flow JSON. Use with a flow's flow_json field when you want to bypass the FlowDraft compiler.

interface MetaFlowJson {
    data_api_version?: string;
    routing_model?: Record<string, string[]>;
    screens: MetaFlowScreen[];
    version: string;
    [key: string]: unknown;
}

Indexable

  • [key: string]: unknown

Properties

data_api_version?: string

Required for DATA_EXCHANGE flows.

routing_model?: Record<string, string[]>

Declared screen-to-screen navigation candidates (DATA_EXCHANGE flows).

screens: MetaFlowScreen[]
version: string