Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Create Web Trigger

AI-generated

Overview

This node interacts with the Commanders Act API to create a Web Trigger within the Web Container resource. It is useful for automating the creation of web triggers that can be used to track or respond to specific web events or conditions in a web container environment. For example, it can be used to programmatically set up triggers that activate tags or other web container functionalities based on user interactions or other criteria.

Use Case Examples

  1. Automatically create a web trigger to track user clicks on a website.
  2. Set up a web trigger to activate marketing tags when a specific page is loaded.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, and other parameters relevant to the web trigger creation.
Request Body JSON object representing the body of the request to create the web trigger.

Output

JSON

  • id - The unique identifier of the created web trigger.
  • name - The name of the created web trigger.
  • status - The status of the created web trigger.
  • createdAt - Timestamp when the web trigger was created.
  • updatedAt - Timestamp when the web trigger was last updated.

Dependencies

  • Commanders Act API with API token and site ID credentials

Troubleshooting

  • Missing or invalid API credentials will cause authentication errors. Ensure the API token and site ID are correctly configured.
  • Required parameters such as the request body must be provided; otherwise, the API call will fail.
  • If the API returns an error, check the error message for details and verify the resource and operation names are correct.
  • Network issues or incorrect base URL can cause request failures; verify connectivity and endpoint URL.

Links

Discussion