Skip to content
Recued
Menu
← Back to recipes

Add Segment source label

by recued-core v1

Approval-gated Segment source-label workflow. It reads the target source and existing labels, optionally creates one label, then adds that label to the source through recued-core.segment.source.label.add. It does not replace labels, remove labels, mutate source settings, edit destinations, delete labels, change write keys, or call arbitrary Segment routes.

How it works 9 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (9 steps)
source_id trim
Trim whitespace from setting source id
label_key trim
Trim whitespace from setting label key
label_value trim
Trim whitespace from setting label value
source ?
labels ?
should_create_label compare
Check if setting create label equals true
created_label ?
skip: step.should_create_label not_equal true
attached ?
card to_summary
Format results as a summary card
Settings 6 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

segment setting =
label key setting =
source id setting =
description setting =
label value setting =
create label setting = false

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Segment connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

Data it touches

Warehousedata.source

About

Tags

segment segmentsourcelabelgovernanceapprovalpack:segment

Details

9 steps 6 configurable settings recipe_id: add-segment-source-label