Inputs
Output
Type:Dict
Returns the updated trigger as provided by the Tag Manager API.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Replaces a trigger in a Google Tag Manager workspace with a full Trigger resource payload
| App | Google Tag Manager |
| Operation ID | gtm_update_trigger |
| Type | Action |
| Connection | gtm (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Google Tag Manager account. |
container | DynamicAccount | Yes | - | Select the container. |
workspace | DynamicAccount | Yes | - | Select the workspace. |
trigger | DynamicAccount | Yes | - | Select the trigger to update, or provide its trigger ID. |
trigger_payload | object or string | Yes | - | Full replacement Trigger resource (object or JSON string) matching the Google Tag Manager API v2 Trigger spec; the update replaces the trigger entirely, so include every field the trigger should keep. Workflow: gtm_get_trigger -> edit the payload -> gtm_update_trigger. Read-only fields are stripped automatically. |
Dict
Returns the updated trigger as provided by the Tag Manager API.