POST
AutomationActions.Count
Return only the count of action
Permissions
User must be logged in and allowed to manage automation/settings for this account.
Action
Return only the count of action nodes using the same filters as List.
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.Count.md Sample curl: curl -X POST https://{domain}/app/AutomationActions.Count \ -H 'Authorization: Bearer YOUR TOKEN' \ -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.Count",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"flow_id": "123"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationActions.Count",
"url_domain": "https:\/\/{domain}\/app\/AutomationActions.Count"
}Endpoint
POST /app/AutomationActions.Count
POST https://{user}.bull36.com/app/AutomationActions.Count
POST https://{domain}/app/AutomationActions.CountSample Output
{
"success": "1",
"count": "2"
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('flow_id', '123');
const res = await fetch('/app/AutomationActions.Count', {
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"
}