AutomationActions.List
Return a paged list of action Filter by flow_id to load one automation canvas.
Permissions
User must be logged in and allowed to manage automation/settings for this account.
Action
Return a paged list of action nodes. Filter by flow_id to load one automation canvas.
Push Service
No push is sent for read-only list/count.
Automation
No business automation runs while editing automation configuration. It runs later only when an active trigger event happens.
Special Instructions
List responses are capped at 25 rows. Full instructions: /docs/generated/app-route-diffs/AutomationActions.List.md Sample curl: curl -X POST https://{domain}/app/AutomationActions.List \ -H 'Authorization: Bearer YOUR TOKEN' \ -d 'start=0' \ -d 'limit=25' \ -d 'flow_id=123'
Required Parameters
No body parameters are required for this function.
Optional Parameters
| Name | Type | Sample | What it gives |
|---|---|---|---|
startpost | int | 0 | First row offset for paging. |
limitpost | int | 25 | Maximum rows to return. Values above 25 are capped. |
searchpost | string | lead | Search by name, trigger, type, or supported text columns. |
flow_idpost | int | 123 | Filter action nodes by parent automation event id. |
typepost | string | sendEmail | Filter action nodes by type. |
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/AutomationActions.List",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"start": "0",
"limit": "25",
"flow_id": "123"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationActions.List",
"url_domain": "https:\/\/{domain}\/app\/AutomationActions.List"
}Endpoint
POST /app/AutomationActions.List
POST https://{user}.bull36.com/app/AutomationActions.List
POST https://{domain}/app/AutomationActions.ListSample Output
{
"success": "1",
"count": "2",
"recordsTotal": "2",
"recordsFiltered": "2",
"data": [
{
"id": "200",
"flow_id": "123",
"type": "sendEmail"
}
]
}Count Only
Use the matching count route with the same filters when the UI only needs total rows for paging.
{
"url": "\/app\/AutomationActions.Count",
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationActions.Count",
"url_domain": "https:\/\/{domain}\/app\/AutomationActions.Count",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"flow_id": "123"
},
"sample_output": {
"success": 1,
"count": 123
},
"notes": {
"count": "Use the matching count route when available, or count returned rows.",
"max_limit": 25
}
}Count JavaScript
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('flow_id', '123');
const res = await fetch('https://{domain}/app/AutomationActions.Count', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` },
body
});
const data = await res.json();
console.log(data.count);JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('start', '0');
body.set('limit', '25');
body.set('flow_id', '123');
const res = await fetch('/app/AutomationActions.List', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` },
body
});
const data = await res.json();
console.log(data);Error Example
{
"success": "0",
"error": "bearer_token_required",
"message": "Authorization bearer token is required. Send header: Authorization: Bearer YOUR TOKEN"
}