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

NameTypeSampleWhat it gives
start
post
int0First row offset for paging.
limit
post
int25Maximum rows to return. Values above 25 are capped.
search
post
stringleadSearch by name, trigger, type, or supported text columns.
flow_id
post
int123Filter action nodes by parent automation event id.
type
post
stringsendEmailFilter 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.Count

Sample 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"
}