Task Models
Agent4 offers two main vector of customization:
Content Models: Content Models allow you to inject your custom content into what the agent uses to respond to questions from callers. This is a straightforward way to create custom landing experience for your callers.
Task Models: Described here, they allow you to create conversational tasks with a pre-defined success (and possibly failure) outcome. Task Models provide some pre-build tasks and integrations, with the ability to create complex custom integrations with your own code.
Task Model Management
You can change configure you task models from the management portal.
When you make changes, it's important to keep a couple of things in mind:
- A model must be activated for it to work.
- Changes must be published for the models to be live.
Type of Task Models in Agent4
When you first configured your agent, you were able to set a number to transfer to or the ability to get a calendar link sent to you. These are basic task models, but will not be covered here.
Responder
The Responder task is meant to listen for keywords in a question from a caller and returned a simple canned response along with an optional SMS link. You can also forward the caller to a new number. For example:
Caller: Can I get directions to your business Agent: Yes, I've texted you a link.
In this case, you would configure the trigger to be "directions business", and then add the relevant text and trigger.
ConversationToEmail
ConversationToEmail is meant to try more interesting prompts for a more complicated task. Our prompt library is a good place to see some examples of the kinds of prompts that can be used. As before, you create the trigger phrase. You also add the prompt with explicit instructions for the agent to call the qualified function. Take a look at some examples to get an idea on how to implement your agent.
The output of the agent will be emailed to you in a JSON format.
If you need help, please feel free to reach out to support@agent4.ai.
TaskChain
TaskChain allows you to integrate external systems with Agent4 in chained tasks that allow you to trigger various actions.
Read more about TaskChain