Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Tag → Update

AI-generated

Summary

Update an existing tag in Mautic by specifying its ID and modifying its name and/or description. Optionally create the tag if it does not exist.

Inputs

  • Authentication — Choose between Credentials or OAuth2 authentication methods.
  • Tag ID (required) — The unique identifier of the tag to update.
  • Create If Not Found — Boolean flag to create a new tag if the specified ID does not exist.
  • Update Fields — Collection of fields to update for the tag, including 'Tag' (name) and 'Description'.

Output shape

a single updated tag object

Returns the updated tag data from Mautic. If 'Create If Not Found' is true and the tag ID does not exist, a new tag will be created with the provided fields.

Examples

Example 1: Update an existing tag's name and description

Set Authentication to Credentials, specify the Tag ID, and provide new values for 'Tag' and 'Description' fields.

Example 2: Create a new tag if the given ID does not exist

Set 'Create If Not Found' to true along with required Tag ID and update fields.

Discussion