Use AI in Automation Pro to score incoming leads, assign them to sales reps based on predefined rules, and generate personalized follow-up recommendations. Sales teams can prioritize high-potential leads and focus on the right next steps.
This guide covers two automations:
AI Lead Scoring & Assignment: Scores and assigns newly submitted leads.
AI Lead Follow-Up Recommendations: Generates personalized follow-up recommendations when the lead owner changes.
Before you start
Enable AI Features under Management > Business Settings. Super admins and the business owner can enable this setting. AI node executions use AI points.
Prepare the following forms:
Form | Purpose |
Leads | Stores customer information, lead assessments, assigned sales reps, and follow-up recommendations. |
Sales Rep Assignments | Stores sales reps, regions, assigned lead counts, and assignment priorities. |
Sales Rep Assignments
Configure the following fields to define how leads are distributed:
Field | Description |
Assigned Lead Count | Tracks the number of leads assigned to each sales rep. Set the initial value to 0. The count increases by 1 after each assignment. |
Assignment Order | Determines assignment priority when sales reps have the same assigned lead count. Lower values indicate higher priority. |
Leads
Create a workflow form with the following sections:
Customer Profile & Engagement: Collects customer information, business needs, and engagement history.
Lead Owner: Stores the assigned sales rep.
AI Lead Assessment: Displays the lead grade and scoring rationale.
AI Follow-Up Recommendations: Displays personalized follow-up strategies and recommended actions.
Customer information is entered manually in this example, while Automation Pro populates the remaining sections.
How the automations work
Automation 1: New lead submitted → AI scores and grades the lead → Query Data selects a sales rep → Update Data saves the assignment and assessment → Calculation updates the lead count → Update Data saves the new count.
Automation 2: Lead Owner updated → AI generates follow-up recommendations → Update Data saves the recommendations.
Leads are assigned by region, with priority given to sales reps who have the fewest assigned leads. If their counts are equal, Assignment Order determines who receives the lead.
See it in action
When a new lead is submitted, Automation Pro helps your sales team:
Evaluate lead quality: Scores and grades the lead based on its customer profile, business needs, budget, and engagement.
Distribute leads evenly: Assigns the lead to a sales rep based on regional assignment rules and assigned lead counts.
Recommend next steps: Generates personalized follow-up strategies based on the lead grade and customer information.
Sales reps can review the AI-generated assessment and recommendations directly in the lead record.
Note: Leads can also be added via API. This guide uses manual entry as an example.
How to set it up
Set up the workflow
Add a workflow node and enable Auto-Submit with a delay of 1 minute to allow time for AI processing. Configure notifications to be sent after the workflow ends. Adjust or remove the delay based on the actual execution time of Automation Pro.
Automation 1: Score and assign leads
Step 1: Create the automation and set its trigger
Open Leads, go to Extension > Automation Pro, and create an automation named AI Lead Scoring & Assignment. Set the trigger type to Form Trigger and select Leads as the form.
Configure the automation to run when a record is added.
Step 2: Configure the AI node
Add an AI LLM node to evaluate the lead using predefined scoring criteria.
Configure the node as follows:
Prompt: Define your lead scoring criteria and grading rules. Refer to the sample prompt at the end of this guide.
Output Fields: Add the following fields:
Field Name | Description |
Scoring Rationale | Explains the lead's score and grade based on the scoring criteria. |
Lead Grade | Indicates the lead's grade based on its total score. |
Step 3: Assign the lead
Add a Query Record node to find the sales rep in the corresponding region.
Select the sales rep based on the following priorities:
Lowest Assigned Lead Count.
Lowest Assignment Order when the assigned lead counts are equal.
Add an Update Record node to save the selected sales rep and AI-generated assessment to the lead record.
Step 4: Update the assigned lead count
Add a Calculation node to increase the selected sales rep's Assigned Lead Count by 1.
Add an Update Record node to save the updated count in the Sales Rep Assignments form.
Automation 2: Generate follow-up recommendations
Step 1: Create the automation and set its trigger
Open Leads, go to Extension > Automation Pro, and create an automation named AI Lead Follow-Up Recommendations.
Set the trigger type to Form Trigger and select Leads as the form.
Configure the automation to run when the Lead Owner field is updated.
Step 2: Configure the AI node
Add an AI LLM Model node to generate follow-up recommendations based on the lead grade and customer information.
Configure the node as follows:
Prompt: Reference the lead assessment and relevant customer information. Refer to the sample prompt at the end of this guide.
Output Fields: Add the following fields:
Field Name | Description |
Sales Readiness | Assesses the lead's readiness to move forward. |
Customer Needs & Pain Points | Identifies customer requirements and challenges. |
Communication Strategy | Recommends a suitable communication approach. |
Recommended Next Steps | Provides actionable follow-up recommendations. |
Resources & Risks | Identifies required resources and potential risks. |
Step 3: Save the follow-up recommendations
Add an Update Record node to save the AI-generated recommendations to the corresponding fields in the lead record.
Sample prompts
In the sample prompts below, values in braces represent field references or placeholders for your business rules. Replace them with the corresponding upstream fields or your own scoring criteria and grading rules before use.
Lead scoring and grading
## Role
You are an experienced sales operations specialist responsible
for evaluating and qualifying incoming leads.
## Goal
Evaluate the lead's sales potential using predefined scoring
criteria and assign a grade based on its total score.
## Input
Customer Profile: {Customer Profile}
Business Needs: {Business Needs}
Budget: {Budget}
Customer Engagement: {Customer Engagement}
## Scoring Rules
{Lead Scoring Criteria}
## Grading Rules
{Lead Grading Rules}
## Workflow
1. Review the customer profile, business needs, budget,
and engagement information.
2. Evaluate each dimension using the scoring criteria.
3. Calculate the total score.
4. Determine the lead grade based on the grading rules.
5. Explain the scoring rationale using the available information.
## Constraints
- Use only the provided customer information and scoring rules.
- Do not invent missing customer details.
- Do not modify the scoring criteria or grading rules.
- If information is insufficient, follow the predefined rules
for missing data or clearly state the limitation.
- If a grade cannot be determined, report the issue.
- Keep the output concise and evidence-based.
## Output
Scoring Rationale:
Explain the score for each dimension, the total score,
and the reason for the assigned grade.
Lead Grade:
Return the corresponding grade defined in the grading rules.
Follow-up recommendations
## Role
You are an experienced sales advisor specializing in lead
nurturing and customer engagement.
## Goal
Generate personalized follow-up recommendations based on
the lead assessment and customer information.
## Input
Customer Profile: {Customer Profile}
Business Needs: {Business Needs}
Budget: {Budget}
Customer Engagement: {Customer Engagement}
Lead Grade: {Lead Grade}
Scoring Rationale: {Scoring Rationale}
## Workflow
1. Review the lead grade and scoring rationale.
2. Assess the customer's sales readiness.
3. Identify key business needs, pain points, and potential
obstacles.
4. Recommend an appropriate communication and nurturing strategy.
5. Define practical follow-up actions.
6. Identify required resources and potential risks.
## Constraints
- Use only the provided information.
- Do not invent customer needs, budgets, or commitments.
- Do not change the assigned lead grade.
- Tailor recommendations to the customer's needs and readiness.
- Clearly distinguish confirmed facts from recommendations.
- Provide 2–3 specific and actionable next steps.
- Keep all output sections.
## Output
Sales Readiness:
Summarize the customer's interest and readiness to move forward.
Customer Needs & Pain Points:
Identify key requirements, challenges, and concerns.
Communication Strategy:
Recommend suitable communication methods, topics, and messaging.
Recommended Next Steps:
Provide prioritized follow-up actions with suggested timelines.
Resources & Risks:
Identify supporting resources and potential obstacles.
















