Integrate intelligent automation tools like generating conversation flows automatically via AI.
Download as Markdownhttps://app.wacm.in/api
Like other WACM APIs, the AI API requires a Bearer Token via the HTTP Header.
Send the token securely in the Authorization request header.
Authorization: Bearer YOUR_API_TOKEN
/api/flowmaker/generate
Generates flow nodes based on a natural language prompt without creating a new flow entry in the database. Optionally specify a `flow_id` to provide context.
| Parameter | Description |
|---|---|
| prompt Req | Natural language string describing the desired flow logic. |
| flow_id | Optional existing flow ID. |
/api/flowmaker/generate-and-create
Generates flow nodes and immediately persists a new flow with a given name. Checks subscription plan limits before executing.
| Parameter | Description |
|---|---|
| prompt Req | Natural language string describing the desired flow logic. |
| name Req | The name for the newly created flow (max 255 chars). |
{
"success": true,
"data": [
{ "id": "node_1", "type": "message", "data": {} }
]
}
{
"success": true,
"data": {
"flow_id": 123,
"redirect_url": "https://app.wacm.in/flowmaker/edit/123"
}
}
© 2026 WACM. All rights reserved. API Version 1.0.