Actions108
- Activity Log Actions
- Consent Analysis Actions
- Cookie Scanner Actions
- Data Cleansing Actions
- Destination Actions
- Event Delivery Actions
- Event Enrichment Actions
- Live Report Builder Actions
- Mix Collect Redirect Rule Actions
- Monitoring Actions
- Normalized Datalayer Actions
- Segment Actions
- Source Actions
- Sources Data Quality Actions
- User Actions
- Web Container Actions
- Create Web Constraint
- Create Web Container
- Create Web Perimeter
- Create Web Tag
- Create Web Trigger
- Delete Web Constraint
- Delete Web Container
- Delete Web Perimeter
- Delete Web Tag
- Delete Web Trigger
- Get Web Constraint
- Get Web Perimeter
- Get Web Tag
- Get Web Trigger
- List Web Constraints
- List Web Containers
- List Web Perimeters
- List Web Tags
- List Web Triggers
- Revert Web Tag
- Update Web Constraint
- Update Web Container
- Update Web Perimeter
- Update Web Tag
- Update Web Trigger
- Web Containers Variable Actions
- Create Web Datalayer Variables
- Create Web Datalayer Variables Category
- Create Web Internal Variables
- Delete Web Datalayer Variables
- Delete Web Datalayer Variables Category
- Delete Web Internal Variables
- Get Web Datalayer Variables
- Get Web Internal Variables
- List Web Datalayer Variables
- List Web Internal Variables
- Workspace Actions
Overview
This node integrates with the Commanders Act API, specifically providing access to various resources and operations within the platform. For the Activity Log resource with the List Activity Logs operation, it fetches detailed platform activity records intended exclusively for administrators. This is useful for auditing, monitoring user actions, or tracking system events within the Commanders Act environment.
Typical use cases include:
- Retrieving logs of administrative activities for compliance or security reviews.
- Monitoring changes or events in the platform over a specified time range.
- Filtering activity logs by various parameters such as date ranges, event types, or sources.
Properties
| Name | Meaning |
|---|---|
| Query Parameters | A collection of optional query parameters to filter and control the list of activity logs returned. These include: |
| - end: End date/time for filtering logs. | |
| - Fields[template]: Template fields to include. | |
| - filter: JSON string to specify complex filters. | |
| - filter[begin_date], filter[end_date]: Date range filters. | |
| - filter[from], filter[to]: Additional range filters. | |
| - filter[rangeType]: Type of range filter applied. | |
| - filter[search]: Search term to filter logs. | |
| - filter[segment_id]: Filter by segment ID. | |
| - filter[sup_filters][device][]: Filter by device(s). | |
| - filter[sup_filters][location][]: Filter by location(s). | |
| - filter[types]: Filter by event types. | |
| - granularity: Level of detail or aggregation for the logs. | |
| - include: Additional data to include in the response. | |
| - page: JSON object specifying pagination details (e.g., page number, size). | |
| - sort: JSON or string defining sorting order of results. | |
| - source: Filter logs by source. | |
| - start: Start date/time for filtering logs. | |
| - token: An optional token parameter, treated as sensitive input (password type). |
Output
The node outputs an array of JSON objects representing the activity logs retrieved from the Commanders Act API. Each item corresponds to a single activity log entry containing detailed information about platform activities.
- The exact structure of each log entry depends on the API response but typically includes timestamps, event types, user or system identifiers, and other metadata related to the logged activity.
- If the API returns no content, the output will indicate a "204 No Content" status.
- The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Commanders Act API.
- The base URL used for requests is
https://api.commander1.com/v2. - Proper configuration of credentials in n8n is necessary to authorize API calls.
Troubleshooting
- Missing Credentials Error: If the API credentials are not set or invalid, the node throws an error indicating missing credentials. Ensure that a valid API authentication token is configured.
- Required Parameter Missing: Some operations require specific IDs or parameters (e.g., Cookie ID, Alert ID). Omitting these will cause errors. Verify all required inputs are provided.
- API Request Errors: Network issues, invalid query parameters, or API limits may cause request failures. The node surfaces these errors with descriptive messages including stack traces.
- Parsing Errors: If the API returns malformed JSON or unexpected responses, parsing might fail. Check the API response format and adjust query parameters accordingly.
- Empty Response: A "204 No Content" status means no data matched the query. Adjust filters or date ranges to retrieve data.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and parameters)
- n8n Documentation (for configuring credentials and using HTTP request nodes)
This summary focuses on the Activity Log resource and its List Activity Logs operation as requested.