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 to manage and retrieve data related to "Web Containers Variables," specifically focusing on internal variables within web containers. The "Get Web Internal Variables" operation allows users to fetch details about specific internal variables by their ID or list them with optional query parameters for filtering, sorting, and pagination.
Typical use cases include:
- Retrieving configuration or metadata of internal variables used in web container setups.
- Automating monitoring or auditing of internal variable settings.
- Integrating internal variable data into workflows for further processing or reporting.
For example, a user might want to get detailed information about a particular internal variable by its ID or list all internal variables filtered by certain criteria such as date ranges or types.
Properties
| Name | Meaning |
|---|---|
| Internal Variable ID | The unique identifier of the internal variable to retrieve or delete. Required for operations that target a specific internal variable. |
| Query Parameters | A collection of optional parameters to refine the request. These include: - end: End date/time filter.- Fields[template]: Template fields selection.- filter: JSON object for complex filters.- Various filter subfields like begin_date, end_date, from, rangeType, search, segment_id, sup_filters (device, location), to, types.- granularity: Data granularity.- include: Additional included data.- page: Pagination info as JSON.- sort: Sorting options (JSON or string depending on context).- source: Source identifier.- start: Start date/time filter.- token: An optional token, treated as sensitive input. |
Output
The output is a JSON array where each element corresponds to the response from the Commanders Act API for the requested internal variable(s). The structure depends on the API's response but generally includes detailed information about the internal variables such as their properties, metadata, and possibly status or usage data.
If the API returns no content, the node outputs an object indicating "Status Code": "204 No Content".
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for the Commanders Act API.
- The node uses the base URL
https://api.commander1.com/v2. - Proper API credentials must be configured in n8n to authenticate requests.
- The node expects JSON-formatted request bodies for POST, PATCH, and PUT operations when applicable.
Troubleshooting
- Missing Credentials: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials.
- Required Parameter Missing: For operations requiring an Internal Variable ID, if it is not provided, the node throws an error specifying the missing parameter.
- API Errors: Any errors returned by the Commanders Act API are wrapped and rethrown as node errors with descriptive messages.
- Invalid JSON in Request Body: If the request body JSON is malformed, the node will fail parsing it before sending the request.
- Empty or Unexpected Response: If the API returns empty or non-JSON responses, the node attempts to parse or returns the raw text; unexpected formats may cause issues.
To resolve these issues:
- Ensure all required parameters are provided.
- Verify API credentials and permissions.
- Validate JSON inputs.
- Check network connectivity and API availability.
Links and References
- Commanders Act API Documentation (general reference for API endpoints and parameters)
- n8n Documentation on Creating Custom Nodes
- n8n Community Forum for troubleshooting and examples
This summary focuses on the "Web Containers Variable" resource and the "Get Web Internal Variables" operation as requested.