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 supporting operations related to the "Cookie Scanner" resource. The "Get Custom Field" operation retrieves detailed information about a specific custom field configured in the Cookie Scanner module of Commanders Act.
Use cases include:
- Fetching metadata or configuration details of a particular custom field used for cookie scanning and management.
- Automating workflows that require validation or inspection of cookie scanner custom fields.
- Integrating cookie compliance data into broader marketing or privacy automation pipelines.
For example, you might use this node to programmatically retrieve a custom field's settings before updating your website's cookie consent banner or reporting on cookie categories.
Properties
| Name | Meaning |
|---|---|
| Custom Field ID | The unique identifier of the custom field to retrieve. This is required for the operation. |
| Query Parameters | Optional additional parameters to refine or filter the request. Includes options like: |
| - End (string) | |
| - Fields[template] (string) | |
| - Filter (JSON) | |
| - Filter[begin_date], Filter[end_date], Filter[from], Filter[to] (strings) | |
| - Filter[rangeType], Filter[search], Filter[segment_id], Filter[types] (strings) | |
| - Filter[sup_filters][device][], Filter[sup_filters][location][] (strings) | |
| - Granularity (string) | |
| - Include (string) | |
| - Page (JSON) | |
| - Sort (JSON or string) | |
| - Source (string) | |
| - Start (string) | |
| - Token (password string) |
The "Custom Field ID" is mandatory for this operation, while "Query Parameters" allow fine-tuning the API call.
Output
The output is a JSON object representing the retrieved custom field's data from the Commanders Act API. This typically includes all properties and metadata associated with the specified custom field.
If the API returns no content, the node outputs a status code 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 within n8n is necessary.
- The user must provide the "Custom Field ID" to identify which custom field to fetch.
Troubleshooting
- Missing Custom Field ID: The node will throw an error if the "Custom Field ID" is not provided. Ensure this property is set.
- Authentication Errors: If API credentials are missing or invalid, the node throws an error indicating missing credentials or authorization failure.
- API Request Failures: Network issues or incorrect query parameters may cause errors. Review the error message for details.
- Unexpected Response Format: If the API returns a non-JSON response, the node attempts to parse it; if parsing fails, it returns raw text.
To resolve errors:
- Verify the API credentials are correctly configured.
- Confirm the "Custom Field ID" is valid and exists in your Commanders Act account.
- Check network connectivity and API endpoint availability.
- Review any query parameters for correctness and compatibility with the API.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and usage)
- Commanders Act Cookie Scanner Documentation (for understanding cookie scanner concepts and custom fields)