Train your knowledge
Building Procedures the agent can run safely
In brief: Define approved actions in Train, configure variables and triggers, set permission boundaries, and test each Procedure in Preview before it goes live.
Procedures turn an agent’s guidance into actions it can offer during a conversation, from redirecting a customer to a page to calling an API. They can support work across CRM, billing, ERP, support tools, and custom APIs. The key is to define both when a Procedure is relevant and what it is allowed to do.
Plan the Procedure
Start by choosing one task the agent should handle, such as checking an order, resetting a password, or escalating an issue to a human. Procedures can suggest a follow-up question, redirect to a URL, start a component, switch topics, open live chat, make an API call, or run custom JavaScript.
Decide what information the task needs and what should happen when it runs. If the agent does not already have a required variable, it asks the customer for it; variables can also depend on previous answers.
Create and configure it
Create the Procedure in Train > Procedures:
- Click Create procedure and choose a type.
- Name the Procedure and configure its variables.
- Set its triggers. A Procedure can be linked to a Source, triggered by negative feedback or an unanswered question, or set to appear always.
- If it should be limited to certain customers, combine it with an Audience.
Triggers determine when a Procedure appears, but they do not make it run automatically. The agent decides when it is relevant, and the customer decides whether to run it.
Set permission boundaries
Before using a Procedure, specify what the agent can do on its own, what requires human approval, and what is off limits. Agents run only the procedures you have defined, and each action has a permission boundary.
Procedures are always reversible, and every action is logged with a full audit trail. For actions that need a person, use a human approval boundary or a Live chat Procedure when a live chat integration is enabled.
Test and review
Use Preview to test a Procedure before it goes live. Confirm that its variables, triggers, and intended action work as expected, then review its performance in Analyze > Conversations by filtering for conversations where it ran and checking completion rates and customer reactions.
A carefully scoped Procedure gives the agent a defined way to help while keeping customers and your team in control. Review its results after launch and adjust its setup when needed.