Skip to content

Flow

Defined in: src/types/flows.ts:51

A Flow as returned by the Graph API. Only commonly used fields are typed; an index signature allows any additional Graph fields.

[key: string]: unknown

Additional Graph fields not explicitly typed above.

categories: string[]

Defined in: src/types/flows.ts:59

The categories this Flow is tagged with.


optional data_api_version?: string

Defined in: src/types/flows.ts:65

The Flow data-exchange endpoint API version.


optional endpoint_uri?: string

Defined in: src/types/flows.ts:67

The configured data-exchange endpoint URI.


optional health_status?: unknown

Defined in: src/types/flows.ts:71

Health status details reported by Graph.


id: string

Defined in: src/types/flows.ts:53

The Flow id used in {FLOW_ID} paths.


optional json_version?: string

Defined in: src/types/flows.ts:63

The Flow JSON schema version.


name: string

Defined in: src/types/flows.ts:55

Display name of the Flow.


optional preview?: object

Defined in: src/types/flows.ts:69

A short-lived preview URL and its expiry, when requested.

expires_at: string

preview_url: string


status: string

Defined in: src/types/flows.ts:57

Current lifecycle status.


optional validation_errors?: FlowValidationError[]

Defined in: src/types/flows.ts:61

Validation errors against the current Flow JSON, when present.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.