Node Demos · Helper — enrich customer

A reusable sub-workflow: takes a customer record, adds the account owner and health score. Called by “Enrich via sub-workflow”.

What’s inside

2 nodes — every type links to its full reference page.

StepNodeType
Customer in Inject input.inject
Add owner + score Edit Fields (Set) processing.set

Import it

  1. Studio → Import — paste the JSON below (or the URL /docs/templates/node-demos-helper-enrich-customer.json).
  2. Or ask the AI Copilot with the JSON pasted after the phrase:
    import this workflow json into a new workflow named "Node Demos · Helper — enrich customer"
  3. Any credentials the nodes need are ${credential.…} references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 2 node types)
{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Node Demos · Helper — enrich customer",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Customer in",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {
          "customer": "Acme",
          "tier": "gold"
        }
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "enrich",
      "type": "processing.set",
      "label": "Add owner + score",
      "category": "processing",
      "config": {
        "mode": "manual",
        "assignments": [
          {
            "name": "accountOwner",
            "type": "string",
            "value": "dana@yourco.test"
          },
          {
            "name": "healthScore",
            "type": "number",
            "value": "87"
          }
        ],
        "include": "all",
        "dotNotation": true,
        "ignoreConversionErrors": false
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "seed",
      "sourcePort": "output",
      "targetNodeId": "enrich",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "seed"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "A reusable sub-workflow: takes a customer record, adds the account owner and health score. Called by “Enrich via sub-workflow”."
  }
}

Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: node-demos-helper-enrich-customer.json.