Skip to main content
A Flow draft stores a WhatsApp Flow definition in your project. Drafts are not published to Meta. Use a project client: platform.project("<project-id>").flows, or a client created with a project credential.

List and read drafts

Flow methods return the draft itself in response.data. list returns FlowSummary items. retrieve returns a FlowDraft, which adds the definition, or null when the draft does not exist.

Create a draft

Update a draft

Pass the updatedAt value you last read. The update fails if someone changed the draft since then:

Delete a draft

See Flows for building Flows in the Console. To send a published Flow in a message, use flow content with messages.send.