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 enabling users to list redirect rules within the "Mix Collect Redirect Rule" resource. It allows retrieval of redirect rules configured in the Commanders Act platform, which can be useful for managing URL redirections in marketing or data collection contexts.
Typical use cases include:
- Fetching all redirect rules to audit or analyze URL redirection behavior.
- Integrating redirect rule data into workflows for reporting or automated updates.
- Filtering and sorting redirect rules based on various query parameters.
For example, a marketing team might use this node to retrieve all active redirect rules to ensure they align with current campaign URLs.
Properties
| Name | Meaning |
|---|---|
| Query Parameters | A collection of optional parameters to filter, sort, paginate, or specify fields when listing redirect rules. Options include: end, Fields[template], filter (and various filter subfields like begin_date, end_date, search, etc.), granularity, include, page, sort, source, start, and token. These allow fine-tuning of the API request to retrieve specific subsets or views of redirect rules. |
The full list of query parameter options includes:
- End: End date/time filter.
- Fields[template]: Specify template fields to return.
- Filter: JSON object or string to filter results; supports subfilters such as
begin_date,end_date,from,rangeType,search,segment_id, device/location filters,to, andtypes. - Granularity: Level of detail or aggregation.
- Include: Additional related data to include.
- Page: Pagination details in JSON format.
- Sort: Sorting criteria, either JSON or string depending on context.
- Source: Source identifier filter.
- Start: Start date/time filter.
- Token: An optional token, possibly for authentication or pagination.
Output
The node outputs an array of JSON objects representing the redirect rules retrieved from the Commanders Act API. Each item corresponds to a redirect rule with its associated properties as returned by the API.
If the API returns no content, the output will indicate a "204 No Content" status.
No binary data is produced by 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/v2for API requests. - Proper configuration of the API credentials in n8n is necessary before using this node.
Troubleshooting
- Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Commanders Act API key is correctly set up in n8n credentials.
- Required Parameter Missing: For operations requiring IDs (e.g., Redirect Rule ID), if not provided, the node will throw an error indicating the missing parameter.
- API Request Errors: Network issues or invalid query parameters may cause API errors. Review the error message for details and verify the parameters.
- Parsing Errors: If the API response is not valid JSON, the node attempts to handle it gracefully but may output raw text or an error.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and parameters)
- n8n documentation on HTTP Request Node for understanding how API calls are made within nodes