Creates a flow.
Operation description
-
You can create a flow by calling this operation or manually in the flow editor.
-
After creating a flow, refer to Flow editor component description to orchestrate the canvas.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:CreateChatFlow |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Title |
string |
No |
The flow title. |
WhatsApp auto-reply |
| Remark |
string |
No |
The flow remarks. |
Send verification template triggered by API |
| FlowTriggerType |
string |
No |
The flow trigger type. Valid values:
|
TriggeredByWhatsApp |
| BizCode |
string |
No |
The business tenant code. Default value: ALICOM_OPAAS. |
ALICOM_OPAAS |
| BizExtend |
object |
No |
The business extension information. Default value: an empty collection. |
{} |
|
No |
The source flowVersion for creation. |
示例值示例值示例值 |
||
|
No |
The source flowCode for creation. |
示例值 |
||
|
No |
The lifecycle extension input parameters. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Response |
object |
The response data. |
|
| AccessDeniedDetail |
string |
The access denied details. |
None |
| RequestId |
string |
The unique request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Message |
string |
The error message. |
None |
| Data |
object |
The returned data object. |
|
| Code |
string |
The status code. |
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Response": {
"test": "test",
"test2": 1
},
"AccessDeniedDetail": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Message": "None",
"Data": {
"test": "test",
"test2": 1
},
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.