Actions33
- Activity Actions
- AI Actions
- Client Actions
- Dashboard Actions
- Deliverable Actions
- Episode Actions
- Meeting Note Actions
- Pipeline Stage Actions
- Show Actions
- Tag Actions
Tag → Create
AI-generatedSummary
Creates a new tag in PreRoll.io by sending a POST to /api/v1/tags with a name and color, and returns the created tag.
Inputs
- Name (required) — Name of the tag to create.
- Color — Tag color as a hex value. Defaults to #6366f1.
Output shape
One output item per input item, containing the created tag record as returned by the PreRoll API (the response's data field if present, otherwise the whole response).
The exact fields of the tag (such as ID) depend on the PreRoll API response and aren't defined in the node source. If 'Continue On Fail' is enabled, a failed item returns
{ error: message }instead of stopping the workflow. The request runs once per input item, so several input items create several tags.
Examples
Example 1: Create a tag named 'Sponsored' with the default color.
Resource: Tag, Operation: Create, Name: Sponsored, Color: left at #6366f1.
Example 2: Create one tag per incoming item, using the name from the previous node.
Resource: Tag, Operation: Create, Name: {{ $json.tagName }}, Color: #ef4444.