Use the Agent Node in Automation Pro to review customer information, analyze sales opportunities, identify potential risks, and recommend next steps. Sales reps can quickly understand where a deal stands and plan their next follow-up without manually reviewing past interactions.
Before you start
Enable AI Features under Management > Business Settings. Super admins and the business owner can enable this setting. Agent Node executions use AI points.
Prepare the following forms:
Form | Purpose |
Customers | Stores customer profiles, levels, sources, and statuses |
Sales Opportunities | Stores opportunity details, stages, estimated amounts, and expected closing dates |
Follow-Up Records | Stores customer interactions, follow-up details, and follow-up history |
Sales Orders | Stores customer order information and transaction history |
How the automation works
Follow-up record added or updated → Agent analyzes customer information and opportunity history → Query Record retrieves the linked opportunity → Update Data saves the opportunity analysis.
The AI-generated analysis is available directly in the sales opportunity record. Sales reps can review the recommended next steps and decide whether to adjust the opportunity stage.
See it in action
When a sales rep logs a new follow-up for the Mobile App Rollout Project at BrightPath Logistics, AI automatically reviews the related records and prepares an opportunity analysis:
Summarizes the opportunity: Consolidates customer information, order history, and previous interactions to provide an overview of the deal.
Assesses progress: Reviews the current opportunity stage and recommends whether it should be adjusted.
Identifies potential risks: Highlights customer needs, obstacles, and gaps in communication.
Recommends next steps: Provides actionable follow-up recommendations with responsible team members and suggested deadlines.
The analysis is saved directly in the corresponding sales opportunity record, as shown below:
How to set it up
Step 1: Create the automation and set its trigger
Open Follow-Up Records, go to Extension > Automation Pro, and create an Automation Pro named Opportunity Review Agent.
Set the trigger type to Form Trigger and select Follow-Up Records as the form.
Configure the trigger node as follows:
When a record is added.
Or when any field in a record is updated.
Step 2: Add the Agent Node
Click + on the connection line and add an Agent Node. Configure the node as follows:
Execution Instructions: Use the following fields as AI inputs: Customer Name, Opportunity Name, Follow-Up Method, Follow-Up Details, Follow-Up Time, and Follow-Up Owner. Refer to the sample prompt at the end of this guide.
Allowed Tools: Click Add Tool, select Query Data, and configure Tool 1: Query Data - Customers.
Tool Description: Retrieve information about the linked customer.
Query Form: Select Customers.
Filter Condition: Set Customer Name equal to any value inferred by AI based on the prompt.
Query Fields: Select AI-Inferred Based on Prompt.
Number of Queried Records: Set to 200.
Allowed Tools: Click Add Tool, select Query Data, and configure Tool 2: Query Data - Sales Orders.
Tool Description: Retrieve sales orders for the linked customer.
Query Form: Select Sales Orders.
Filter Condition: Set Customer Name equal to any value inferred by AI based on the prompt.
Query Fields: Select AI-Inferred Based on Prompt.
Number of Queried Records: Set to 200.
Allowed Tools: Click Add Tool, select Query Data, and configure Tool 3: Query Data - Follow-Up Records.
Tool Description: Retrieve historical follow-up records for the linked opportunity.
Query Form: Select Follow-Up Records.
Filter Condition: Set Opportunity Name equal to any value inferred by AI based on the prompt.
Query Fields: Select AI-Inferred Based on Prompt.
Number of Queried Records: Set to 200.
Allowed Tools: Click Add Tool, select Query Data, and configure Tool 4: Query Data - Sales Opportunities.
Tool Description: Retrieve details of the linked sales opportunity.
Query Form: Select Sales Opportunities.
Filter Condition: Set Opportunity Name equal to any value inferred by AI based on the prompt.
Query Fields: Select AI-Inferred Based on Prompt.
Number of Queried Records: Set to 200.
Output Fields: Add an output field named Opportunity Review, set its type to Text, and set its description to AI-generated results.
Step 3: Add the Query Record node
Click + on the connection line and add a Query Record Node to retrieve the linked sales opportunity.
Configure the node as follows:
Query Target: Select Main Form Data of a Node.
Node: Select Trigger Data.
Related Main Form: Select Sales Opportunities.
Step 4: Configure the Update Record node
Click + on the connection line and add an Update Record Node.
Configure the node as follows:
Update Target: Select Record at the node, then select Query Record as the node.
Set Field Values: Set Opportunity Description equal to Agent - Opportunity Review.
Sample Prompt
In the sample prompt below, Customer Name, Opportunity Name, Follow-Up Method, Follow-Up Details, Follow-Up Time, and Follow-Up Owner are field references. After copying the prompt, replace them with the corresponding fields from the upstream nodes in your Automation Pro.
Opportunity analysis and follow-up plan
Opportunity analysis and follow-up plan
## Role
You are an experienced sales opportunity analyst who helps sales teams review opportunities and plan actionable follow-ups.
## Goal
Analyze the current sales opportunity using customer information, sales orders, and follow-up history. Assess its progress, identify potential risks, and recommend next steps.
## Input
Customer Name: {Customer Name}
Opportunity Name: {Opportunity Name}
Follow-Up Method: {Follow-Up Method}
Follow-Up Details: {Follow-Up Details}
Follow-Up Time: {Follow-Up Time}
Follow-Up Owner: {Follow-Up Owner}
## Tools
- Query Customers: Retrieves customer profiles, including customer level, source, status, industry, address, customer details, and transaction amounts.
- Query Sales Orders: Retrieves order numbers, titles, amounts, dates, expiration dates, owners, and order details for the linked customer.
- Query Follow-Up Records: Retrieves linked customer and opportunity information, follow-up methods, details, times, owners, and historical follow-up records.
- Query Sales Opportunities: Retrieves opportunity names, types, estimated amounts, expected closing dates, stages, owners, departments, and descriptions.
## Workflow
1. Identify the customer and sales opportunity from the current follow-up record.
2. Retrieve the customer profile and sales opportunity details.
3. Review the available sales orders to assess the customer's purchasing history and engagement.
4. Retrieve the available follow-up records and review the interaction timeline, frequency, and recent progress.
5. Assess the current opportunity stage, customer needs, obstacles, and potential risks.
6. Generate an opportunity analysis and follow-up plan using the output format below.
## Constraints
- Use only the supplied input and retrieved records. Do not invent or modify facts.
- If information is missing or insufficient, state "Unable to determine based on the available information" and explain what additional information is needed.
- If the customer or opportunity cannot be identified reliably, report the issue rather than selecting an arbitrary record.
- Base the analysis on the retrieved records. Do not assume the available history is complete.
- Recommend a stage change only when supported by the available information.
- Each follow-up recommendation must specify an action, a responsible person, and a suggested deadline.
- Distinguish recommended actions from confirmed facts and commitments.
- Use concise, professional language and keep all output sections.
## Output
Opportunity Overview:
Summarize the findings in 3–5 sentences, covering:
- Customer profile, industry, and cooperation history.
- Current opportunity stage, estimated amount, and expected closing date.
- Key findings and progress from the latest follow-up.
- Follow-up frequency and any gaps in communication.
Opportunity Stage Assessment:
- Current Stage:
- Recommended Stage: Recommend a new stage or state "Maintain Current Stage."
- Reason: Explain the recommendation in 1–2 sentences.
Recommended Next Steps:
Provide 2–3 actionable recommendations in order of priority.
For each recommendation, include:
- Action:
- Person Responsible:
- Suggested Deadline:
- Reason:
Risks and Considerations:
Summarize the customer's key needs, obstacles, and potential risks. If no significant risks are identified in the available records, state "No significant risks identified at this time."







