Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Update Web Trigger

AI-generated

Overview

This node operation updates an existing Web Trigger in the Commanders Act platform. It is useful for users who need to modify the configuration or properties of a web trigger within their web container setup. For example, a user might update a trigger to change its activation conditions or associated actions to better track user interactions on their website.

Use Case Examples

  1. Updating a web trigger to change its event conditions for firing.
  2. Modifying the properties of a web trigger to adjust its behavior in a web container.

Properties

Name Meaning
Trigger ID The unique identifier of the web trigger to update.
Query Parameters Optional query parameters to refine or filter the update request.
Request Body JSON object containing the data to update the web trigger with.

Output

JSON

  • json - The JSON response from the Commanders Act API representing the updated web trigger or status of the update operation.

Dependencies

  • Commanders Act API credentials (siteId and tokenAPI)

Troubleshooting

  • Ensure the Trigger ID is provided; otherwise, the node will throw an error indicating the missing Trigger ID.
  • Verify that the API credentials (siteId and tokenAPI) are correctly set and valid to avoid authentication errors.
  • Check the structure and validity of the JSON in the Request Body to prevent request failures.
  • If the API returns an error, the node will throw a NodeApiError with the message from the API; review the error message and stack trace for debugging.

Discussion