Skip to main content
A playbook is the agentic half of a Voiceflow agent: instructions that drive toward a goal rather than a fixed path through a canvas. This recipe creates one over HTTP, reads it back, edits its instructions, and deletes it, which is the full lifecycle of any resource in the Build section.
Last verified 2026-08-15 by executing the recipe end to end.

The recipe

main.sh

How it works

  • Create playbook takes name and instructions. Instructions are an array of strings, one per line of guidance, not a single block of prose.
  • Get playbook reads it back. Doing this after a write is what distinguishes a call that returned 200 from a change that actually landed.
  • Update playbook patches in place, so send only the fields you are changing.
  • Delete playbook removes it. This recipe deletes in a trap so a failure midway does not leave a playbook behind in your project.
  • Playbooks call tools and hand off to other playbooks. See Building an agent’s parts for how the pieces connect.

When it fails