Voice line — Play Audio

Any binary audio on the payload gets an inline PLAYER in the Console and the run view. Pair with AI Speak (AI folder) for real text-to-speech; this sample carries a tiny embedded clip.

What’s inside

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

StepNodeType
Recorded snippet Inject input.inject
Play in Console Play Audio output.audio
Note Console utility.console

Import it

  1. Studio → Import — paste the JSON below (or the URL /docs/templates/voice-line-play-audio.json).
  2. Or ask the AI Copilot with the JSON pasted after the phrase:
    import this workflow json into a new workflow named "Voice line — Play Audio"
  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, 3 node types)
{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Voice line — Play Audio",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Recorded snippet",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {
          "audio": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4Ljc2LjEwMAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OACfi7VQVOQ2W6TCZUE9pL095UQBM5gLvQsUdzsYcUY8UMTAOwXPXX4N2NCPXP9l3rz9/9BRD//11l/9FVUUUFf////+9Ln/f/n4CRUVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=",
          "audioEncoding": "base64",
          "contentType": "audio/mpeg",
          "note": "sample clip"
        }
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "play",
      "type": "output.audio",
      "label": "Play in Console",
      "category": "output",
      "config": {
        "audioField": "",
        "label": "order-line recording"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Note",
      "category": "utility",
      "config": {
        "message": "clip attached to the run — press ▶ in the Console"
      },
      "position": {
        "x": 1060,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "seed",
      "sourcePort": "output",
      "targetNodeId": "play",
      "targetPort": "input"
    },
    {
      "id": "e1",
      "sourceNodeId": "play",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "seed"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "Any binary audio on the payload gets an inline PLAYER in the Console and the run view. Pair with AI Speak (AI folder) for real text-to-speech; this sample carries a tiny embedded clip."
  }
}

Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: voice-line-play-audio.json.