Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Overview

This node integrates with the Commanders Act API, specifically supporting the "Normalized Datalayer" resource and its "List Event Types" operation. It allows users to retrieve a list of normalized datalayer event types from their Commanders Act account.

This functionality is useful for scenarios where you want to programmatically access and analyze event types tracked in your normalized datalayer, such as for reporting, monitoring, or further processing within an automation workflow.

For example, you might use this node to:

  • Fetch all event types available in your normalized datalayer to dynamically build dashboards.
  • Integrate event type data into other systems for enhanced analytics.
  • Automate workflows that depend on specific event types being present or updated.

Properties

Name Meaning
Query Parameters A collection of optional query parameters to filter or modify the request. Possible parameters include: end, Fields[template], filter (JSON), various filter[...] fields like begin_date, end_date, search, segment_id, sup_filters arrays, granularity, include, page (JSON), sort (JSON or string), source, start, and token (password field). These allow fine-tuning of the event types listing request.

Output

The node outputs JSON data representing the list of normalized datalayer event types retrieved from the Commanders Act API. The exact structure depends on the API response but typically includes details about each event type such as identifiers, names, descriptions, and possibly metadata related to filtering or categorization.

If the API returns no content, the node outputs a status message indicating "204 No Content".

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Commanders Act API.
  • The node uses the base URL https://api.commander1.com/v2.
  • Proper configuration of the API credentials in n8n is necessary before using this node.

Troubleshooting

  • Missing Credentials: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials.
  • Required Parameters Missing: For some operations, required IDs or parameters must be provided; otherwise, the node throws an error specifying which parameter is missing.
  • API Errors: If the API call fails, the node throws an error with the message returned by the API. Check the API token validity, network connectivity, and parameter correctness.
  • Parsing Errors: If the API returns malformed JSON or unexpected data, the node attempts to parse it but may fail, resulting in an error. Verify the API response format and parameters.

Links and References


Note: This summary focuses on the "Normalized Datalayer" resource and the "List Event Types" operation only, based on the provided source code and input properties.

Discussion