Actions83
- 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
Overview
This node integrates with the Commanders Act API, specifically enabling interaction with the "Event Enrichment" resource to list event enrichments. Event enrichments typically refer to additional data or metadata appended to events to provide more context or insights. This node is useful for users who want to retrieve enriched event data from their Commanders Act platform, which can be leveraged for analytics, reporting, or further processing in workflows.
A practical example use case is fetching a filtered list of event enrichments based on specific query parameters such as date ranges, filters, or sorting options to analyze user behavior or event patterns.
Properties
| Name | Meaning |
|---|---|
| Query Parameters | A collection of optional parameters to customize the listing of event enrichments. These include: - End (string): End date/time filter. - Fields[template] (string): Template fields selection. - Filter (JSON): Complex filtering criteria. - Filter[begin_date], Filter[end_date], Filter[from], Filter[to] (string): Date range filters. - Filter[rangeType] (string): Type of range filter. - Filter[search] (string): Search term. - Filter[segment_id] (string): Segment identifier. - Filter[sup_filters][device][] (string): Device filters. - Filter[sup_filters][location][] (string): Location filters. - Filter[types] (string): Types filter. - Granularity (string): Data granularity. - Include (string): Additional included data. - Page (JSON): Pagination details. - Sort (JSON): Sorting instructions. - Source (string): Source filter. - Start (string): Start date/time filter. - Token (string, password): Authentication token or related token parameter. |
Output
The node outputs an array of JSON objects representing the event enrichments retrieved from the Commanders Act API. Each object corresponds to an event enrichment record with its associated data fields as returned by the API.
If the API response is empty or no content is returned, the output will indicate a "204 No Content" status.
The node does not output binary data.
Dependencies
- Requires an active connection to the Commanders Act API.
- Requires valid API credentials including a site ID and an API token.
- The node expects these credentials to be configured in n8n's credential manager under a generic API key authentication.
Troubleshooting
- Missing Credentials: If the node throws an error about missing credentials, ensure that the Commanders Act API credentials are properly set up in n8n.
- Required Parameter Missing: For this operation, if required parameters like the event enrichment ID are missing when needed, the node will throw an error specifying which parameter is required.
- API Errors: Errors returned from the Commanders Act API will be wrapped and presented with the message "Error calling Commanders Act API" along with the original error message and stack trace if available.
- Invalid Query Parameters: Providing malformed JSON or invalid values in the query parameters may cause the API call to fail. Validate JSON inputs and parameter formats before execution.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and parameters)
- n8n Documentation on Creating Custom Nodes