🆕Using AI Agents in Trackers
Last updated
Last updated
To get started using AI Agents, set up a workflow in a tracker.
To enable users to use Agents, AI Studio administrators must activate this feature through the Admin Portal by navigating to Admin Portal > Modules > AI Studio> Settings.
For this guide, we will create a chained-agent workflow designed to evaluate candidate resumes for initial approval. This example will demonstrate the Data Analysis and Content Evaluation Agents.
As with standard tracker workflows, click the Workflows button in the top right corner of the tracker and click the + Create Workflow button within the pop-up menu. Choose your preferred workflow type; for this example, we will be starting with the Blank Workflow.
Fill in the workflow information by first assigning a Title, Trigger, and, if desired, an optional Condition.
In the Action section, select Send to an AI Agent. In the additional field Send To, select the Agent you would like to utilize. For our example, we will select the Data Analysis Agent since we are looking to identify trends and analyze submissions.
Next, click the Select & Customize button. This step is mandatory as we will need to assign a temporary variable to hold the information pulled by the Agent.
From the Select & Customize Prompt pop-up menu, select the Agent Prompt for the agent to follow.
Agent Prompts are predefined instruction templates or guidelines that tell the AI Agent what specific task to perform and how to handle the data provided to it. When a prompt is selected, the instructions template will automatically populate with pre-configured details in the Prompt Instructions text box. Customize the agent for your specific needs by editing the instructions.
If your workflow needs to evaluate on an entry by entry basis, make sure to include substitution tags in your instructions. These substitution tags represent tracker columns or other data inputs, allowing the AI Agent to dynamically process and act on the provided information.
For our example, we will use the Substitution Tags dropdown menu to create a tag for the "candidate resume" column within our instructions. Substitution tags can be created for any system or user created column within the tracker, even those hidden.
Lastly, designate a temporary variable for the agent to assign the response. This temporary variable is a placeholder used in tracker workflows to store the output or results produced by an AI agent after executing a task. It acts as a bridge between different steps in a workflow, ensuring data flows seamlessly and can be reused for subsequent actions.
Response variables must be unique within the tracker.
For our example, after extracting resume data, the temporary variable stores the details (e.g., job titles, skills) for use in the next step of our workflow.
This value can be accessed using substitution tags and will be available as an option in the Substitution Tags menu within the tracker.
Tracker workflows often involve multiple chained actions, and the response variable ensures that each action has access to the necessary data. AI agents can chain up to 10 actions.
Following along with our example, once our Data Analysis Agent has extracted the resume information, we will send it to the Content Evaluation Agent within the same workflow.
Agents can be chained directly to one another without the need for additional actions in between.
Similar to the previous Agent, we select the Send to an AI Agent action, but this time select the Content Evaluation Agent.
Clicking the Select & Customize button, we choose the Auto-Approve Prompt and edit the Prompt Instructions to better tailor to our use case.
For the Content to be Reviewed section within our Instructions, we select our response variable created by the first agent from the Substitution Tags dropdown menu for easy insert. Since it is a variable and not a column, the substitution tag will include "var:".
Also as before, we will then assign a unique response variable.
To complete our example, we will chain the Content Evaluation Agent to an Update Column action. This action will populate another column in the row with the results of the evaluation.
We configure this action to add the value saved within the response variable "candidateApproval" to the corresponding entries within our user created "Approved for review?" column.
After saving, our workflow is complete. The agents will automatically execute upon the trigger, evaluating the submitted resumes and outputting the requested results in the designated column.