Actions16
Update Campaign
AI-generatedSummary
Update a link campaign by its Campaign ID, modifying its properties such as archived status, name, color, description, and UTM parameters.
Inputs
- Campaign ID (required) — The unique identifier of the campaign to update.
- Update Fields — Fields to update in the campaign, including archived (boolean), name (string), color (one of None, Slate, Red, Orange, Amber, Green, Teal, Blue, Indigo, Purple, Pink), description (string), and UTM values (source, medium, campaign, term, content).
- Version (required) — The version (__v) of the campaign as read; used for optimistic concurrency to prevent conflicting updates. Use output from a Get Campaign step.
- Version Options — Options for handling cases when the Version is unknown: 'Fail' to error or 'Use Latest (Overwrite)' to fetch the latest campaign version and proceed.
Output shape
a single record representing the updated campaign object returned by the API
The operation uses optimistic concurrency control via the Version input. It fails with a conflict error if the campaign has changed since the specified version, unless Version Options specify to use the latest version automatically.