Actions70
- Campaign Actions
- Campaign Contact Actions
- Category Actions
- Company Actions
- Company Contact Actions
- Contact Actions
- Contact Segment Actions
- Field Actions
- Notification Actions
- Segment Actions
- Segment Email Actions
- Tag Actions
Segment → Update
AI-generatedSummary
Update an existing Mautic segment identified by its Segment ID, modifying its name and optional additional fields including alias, description, publication and global settings, and filters.
Inputs
- Authentication (required) — Choose the authentication method: Credentials or OAuth2.
- Segment ID (required) — The unique identifier of the segment to update.
- Name (required) — The new name for the segment.
- Additional Fields — Optional fields to update such as alias, description, publication status, global visibility, and segment filters which can include multiple conditions specifying field, object, type, operator, and logical glue for combining filters.
- Create If Not Found — Whether to create a new segment if no segment with the given ID exists.
Output shape
a single updated segment record as returned from Mautic API
If 'Create If Not Found' is true and the segment ID does not exist, this operation may create a new segment instead. Filters support complex logical conditions combined via 'and'/'or' glue. Optional fields not provided are not changed.
Examples
Example 1: Update segment 'Newsletter Subscribers' with new name and filters
Set Segment ID to target segment, provide new Name, optionally add filters to segment criteria.