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.

The recipe

1

Run 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 the Build overview for how the pieces connect.

When it fails

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.