Processes let you define steps for your AI Agent to follow so it can resolve specific end user inquiries. While some inquiries require your AI Agent to use exact wording and terminology (e.g., for compliance-based topics) to be resolved, others are more complex, requiring gathering information across multiple business systems, and dynamic decision-making logic based on that information.
For example, to refund an end user’s order, your AI Agent might have to first validate the items the end user wants to get a refund for, and ensure they’re covered in your business’ refund policy (e.g,. total amount and time since delivery), before executing an Action to process the refund.
You can use Processes to equip your AI Agent with the steps and order of operations to take to help your end users with their problems, without having to worry about scripting your AI Agent’s responses to end users’ questions - it’ll use that information to write responses dynamically.
Processes are useful when your AI Agent needs to follow a specific sequence of steps or make decisions based on information gathered during the conversation.
Understand how Processes work and how your AI Agent uses them.
When you create a Process, you give your AI Agent guardrails around how to solve an end user inquiry. But rather than writing a script to execute, think of a Process as a description of what to do in a given scenario. Your AI Agent can then take that description to understand the steps to take and in what order, while also reasoning independently through how best to support the end user.
Here are some examples of some behavior you might notice when your AI Agent follows a Process:
“Has order AB87312 shipped yet?”
If your AI Agent needs an order ID to look up an order, it can extract the value from a previous question the end user asked.
“Actually, can you help me with something else?”
Based on new input from the end user, your AI Agent can decide to change course and help the end user with a different issue.
When your AI Agent is done executing all of the steps in a Process, it will use all of the information it gathered to write a response to the end user’s question. There’s no need for you to write its messages for it!
Both Actions and Processes allow your AI Agent to assist end users by using business systems like APIs and getting required information from end users. Based on its own reasoning, your AI Agent still has the choice to use one or the other, but you can set it up for success by considering what kind of problem you want to solve.
An Action is an individual API request you can configure. For issues that can be solved with a single API request where the end user just needs the API response, an Action is a great way to quickly get that information to them.
Processes
Processes offer more flexibility than Actions. You can use Actions as building blocks inside a Process, so if you need to run multiple API requests in a specific order, you can create an Action for each of those API requests, and put both of those Actions in a Process.
You also have more flexibility with Variables when you use Processes. If you need to save information gathered using an API request in a variable so you can use it in your future data reporting, save the variables in an Action.
For any Actions you want to use only in Processes, make sure you set them to Inactive. You can use any saved Action in a Process, but inactive Actions won’t run on their own, and won’t confuse your AI Agent when it’s deciding how to help an end user.
You can use Variables as placeholders you can get from end users, like name or accountNumber. You can use the same variables between Actions and Processes - for example, in a single Process, you can use one Action to retrieve an end user’s shipping address and save it in a variable, then use another Action to ship an item to that address using that same variable.
But be careful when you’re using variables in multiple places! You can’t know what order Actions and Processes are going to happen in, and for scripted content like your AI Agent’s greeting, even if you save information in a variable, you can’t reuse those variables in an Action or a Process.
So if you need to use the same variable in multiple Actions or Processes, it’s best to configure each one to capture that variable. If your AI Agent already has a value assigned to a variable, it’ll know it doesn’t have to repeat the question to an end user.
Variables are color coded based on where the information they contain came from:
The different types of variables can come in handy in the following situations:
Store information for future data analysis
You can use variables to store information about the end user and conversation so you can analyze that data in the future. If you use any end user information in your reporting or analysis of Ada’s performance, make sure to store this information in a variable.
Then, you can use that data in two ways:
variables attribute in the conversation object in the Data API. The data you fetch from the API will contain variable information, which you can use to filter and analyze the conversation data.Use the same value within a Process
You might need to use the output from one Action as the input for the next Action. For example, you might have an order lookup Action that outputs an order ID, and another Action that takes the order ID and looks up the order’s status. To ensure your AI Agent can successfully pass information from one Action to another, use variables.
Build dynamic logic into a Process
If the steps to resolve an end user’s inquiry are dynamic and change based on information gathered either directly from the end user or from an Action, you can use a Conditional block to provide different content depending on a variable’s value. For example:
trial_period variable is less than 30 days, allow the end user to extend their trialairport_origin variable is equal to YYZ, offer the end user a flight upgradeYou can track how end users engage with your Processes by adding Variables to capture specific engagement data, then using Ada’s reporting features to analyze that data.
Track engagement with a specific Process by adding a Variable to capture when end users interact with it.
To set up a tracking Variable:
cancellation_requested and set its value to true when the Process is triggered.Once you’ve set up variables to track Process engagement, you can analyze this data across multiple locations in Ada:
To filter Reports by Variable:
To filter Homepage Dashboard analytics by Variable:
To search and filter Conversations:
For each Variable filter, you can:
For example, to see the number of engaged conversations where end users expressed a desire to cancel, filter by cancellation_requested = true across any of these locations. This will show you how many end users engaged with your cancellation Process.
For more information about using reports and variable filtering, see Performance reports.
Create a Process in a few steps.
To create a Process:
Your AI Agent can now use the Process to handle the specified workflow. For more options, see Create a Process.
Create and manage Processes to guide your AI Agent through complex workflows.
Follow these steps to build a new Process or duplicate an existing one.
To create a Process:
On the Ada dashboard, go to Config > AI AGENT > Processes.
Under Identify this Process, enter a Name and Description for the Process.
The Name and Description provide important context to your AI Agent about when it should trigger the Process. For the description, write it as if you’re explaining to a human agent the situations in which the Process is appropriate to use.
If required, you can restrict Ada articles to certain users, based on information your AI Agent collects about your users and saves in Variables.
You can only use variables your AI Agent can collect through your browser, or that you collect in a block and allow to be available outside of the structured content the block is in. You can’t use variables your AI Agent collects using Actions.
Under Set availability, choose which end users you want the Process to apply to:
To make the Process available to all users, select Everyone.
To restrict the Process to certain users, select Based on the following rules. A section expands where you can enter the logic your AI Agent will use to decide whether to serve the Processes.
Comparison operators are logic statements that tell your AI Agent to match end user information that’s captured in the variable you’re using. The available operators vary based on the variable type you’re using:
If you’re adding your first additional top-level condition, in the dropdown that appears, choose And or Or as the operator for all of your top-level conditions.
If you’re creating a group, in the dropdown that appears, choose And or Or as the operator for all of the conditions in that group.
Under Build the Process, put together the sequence of events that you want to occur in your Process. Your AI Agent will follow the blocks in order from top to bottom each time it decides to trigger this Process.
Click a block name below to learn more:
Not all blocks that are available in Processes are supported across all channels.
After creating a Process, when you click Save you will receive a warning message if your Process contains a block or blocks that are not supported for a given channel and it is currently available in that channel.
In order to resolve these issues you can either:
After you or a colleague create a Process, you can go back to it so you can edit or delete it.
To edit or delete a Process:
Your AI Agent saves a history of all edits you’ve made to your Processes over the last 30 days. You can revert your changes to a Process back to any of these saved versions.
To manage Process versions:
Explore complementary capabilities for building Processes and automation workflows.