Use mentions

Type @ inside a step to make the agent call a tool, collect a value, say a line exactly, hand off, or end the playbook.

Mentions are how a playbook does things instead of just talking. You set each one up right inside the sentence, as a chip.

Open the mentions menu

  • Go to TeachPlaybooks and open a playbook.
  • Click into a step and type @.
  • Keep typing to search. A tool can be found by what it does, not only by its name.
  • Pick an item to add it as a chip in the sentence.

Press Enter or Esc to leave a chip's text and carry on writing. Everything except End is set up in the sentence itself.

The menu offers tools, Collect, Say exactly, Hand off to, Note, Tag, End and If…. The sections below cover each one.

Call a tool

  • Type @ in the step where the call belongs.
  • Search for the tool, for example "look up booking".
  • Pick it under Tools.
  • Write the sentence around the chip: "Check the booking with @Look up booking and tell the guest the dates."

Tools match on their name and their When to use text. The arrow on the chip opens the tool.

The agent fills the tool's inputs from what the customer said and what the playbook has collected. A tool that changes something, like a booking or a cancellation, always asks the customer to confirm before it runs. You don't have to write that into the step.

A tool must be live before the playbook can publish. You can add a draft tool while you write and set it live before you publish. See Create an API tool and Test a tool and set it live.

Handle each result of a tool

Every call ends one of three ways: it worked, it found nothing, or it couldn't run. The result is recorded as <tool>.result. To handle it, add a condition after the step.

  • Choose Add a condition, or type @ and choose If….
  • Switch the condition to an exact rule.
  • Pick the tool's result from Tool results, for example look_up_booking.result == "nothing found".
  • Write the steps for that case inside the block, like asking for the reference again.

Write the nothing found and couldn't run branches first. Happy paths are easy. The failures are what callers remember. For a tool that changes something, make the failure path say so plainly so a teammate can follow up. Values you keep under What you get back in the tool are available to later steps by the names you gave them. Anything you don't branch on carries on to the next step. See Use tools in playbooks.

Collect a value

  • Type @ and choose Collect.
  • Type the value's name in the chip, like email.

The agent asks the customer for that value and remembers it for later steps. Double-click the chip later to rename it everywhere in the playbook. A clinic might collect date_of_birth in step 1 and use it in a lookup in step 2.

Say exactly

  • Type @ and choose Say exactly.
  • Type the line in the chip.

The agent says your line word for word. Use it for wording that has to be precise, such as a legal notice or a cancellation policy.

Hand off to a team

  • Type @ and choose Hand off to.
  • Pick the routine.

At this step the agent passes the conversation to that handoff routine. Only active routines are listed. A playbook with a handoff routine that no longer exists can't publish. See Handoffs overview.

Add a note or a tag

  • Type @ and choose Note to write a note on the case, or Tag to tag the case.
  • Type the note or the tag in the chip.

Notes and tags help your team find and understand conversations later in the inbox.

End, and If

End finishes the playbook at this step. Click the chip to open its panel. See End a playbook. If… turns the step into a condition. See Add conditions.

FAQs

Why can't I find my tool in the menu?

Search by what the tool does, like "look up order", because tools match on their name and their When to use text. If it still doesn't appear, check the tool exists in the workspace.

Does the agent confirm before a tool changes something?

Yes. A tool that changes something, like a booking or a cancellation, always asks the customer to confirm before it runs.

Can I rename a Collect value after I've used it?

Yes. Double-click the chip to rename it everywhere in the playbook.

Why can't I publish with a tool chip in a step?

The tool must be live. Set it live from the tool's page, then publish.