Agent setup guide
Freshsales New Lead Rating
New Freshsales contacts rated hot, warm or cold against your rules, with a note on the contact and a call task for hot leads.
What it does
New Freshsales contacts rated hot, warm or cold against your rules, with a note on the contact and a call task for hot leads.
- Starts for each new contact in the Freshsales view you pick.
- AI rates it hot, warm or cold against your rules from the contact's own fields and writes a note for the rep.
- The note is added to the contact.
- Hot leads get a call task for your rep, due the next business day (worked out in code).
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Freshsales, connected with your API key and bundle alias (Profile Settings → API Settings).
What it doesn't do
- It doesn't change Freshsales' lead score or the contact's fields.
- It doesn't look companies up on the web.
- It doesn't email the lead.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Freshsales.
- The app it watches, connected in Settings → Integrations (the agent starts from an app event).
- About 6 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Freshsales
Connect Freshsales with your API key and bundle alias (Settings → Integrations → Freshsales).
3. Pick your Freshsales account and view
Open the trigger, pick your Freshsales connection and the contact view, then pick the same connection in “Add the rating to the contact” and “Create the call task”.
| Setting | What to enter | In step |
|---|---|---|
| Freshsales account | The Freshsales account whose new contacts are rated. Pick your connected Freshsales account. | “New Freshsales contact” |
| Contact view | The view whose new contacts are rated (e.g. All Contacts). | “New Freshsales contact” |
| Freshsales account (same one) | The same Freshsales connection. Pick your connected Freshsales account. | “Add the rating to the contact” |
| Freshsales account (same one) | The same Freshsales connection. Pick your connected Freshsales account. | “Create the call task” |
4. Describe your lead rules
Open “Rate the lead” and replace the placeholder.
| Setting | What to enter | In step |
|---|---|---|
| Your lead rules | Replace the placeholder with what you sell, your ideal customer and what makes a lead hot, warm or cold. It starts as “[WHAT YOU SELL, YOUR IDEAL CUSTOMER (INDUSTRIES, COMPANY SIZE, ROLES, LOCATIONS) AND WHAT MAKES A NEW CONTACT HOT, WARM OR COLD]” until you replace it. | “Rate the lead” |
5. Pick the rep
Open “Create the call task” and pick who gets the call tasks.
| Setting | What to enter | In step |
|---|---|---|
| Rep for call tasks | The Freshsales user who gets the call tasks. | “Create the call task” |
6. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
7. Switch the trigger on
Open the trigger and click “Activate app trigger”: new contacts are checked on the workflow's schedule.
How it works
The agent is a normal workflow with 9 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- New Freshsales contact — Starts on “New contact” in Freshsales (an app event). Starts a run for each new contact in the view you pick (checked on the workflow's schedule).
- Work out the task due date — Step. In code, not AI: the call task is due the next business day at 17:00 (UTC unless you set your time zone on this step).
- Rate the lead — AI step (runs on your AI provider key). AI rates the new contact hot, warm or cold against your rules from the contact's own fields and writes a short note for the rep.
- Add the rating to the contact — Freshsales: Add a note. Adds the rating, reason and note to the contact in Freshsales (its lead score isn't changed).
- Hot lead? — Step. In code: the AI rated the lead hot and recommended a call.
- Create a call task? — Decision: picks the branch to follow. Warm and cold leads keep the note only.
- Noted — Kept in the run history. Branch: Note only. The rating is on the contact.
- Create the call task — Freshsales: Create a task. Branch: Hot. Creates a call task on the contact for your rep, due the next business day (worked out in code).
- Task created — Kept in the run history. The rep has a call task with the note.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.
Sample data fields
id, first_name, last_name, display_name, email, job_title, mobile_number, city, country, lead_score, created_at, contact.medium, contact.keyword.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
Go live
- Open the trigger and click “Activate app trigger”: new contacts are checked on the workflow's schedule.
- Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
Does it change Freshsales' lead score?
No. The rating goes into a note on the contact, next to Freshsales' own score.
Which contacts are rated?
New contacts in the view you pick, e.g. All Contacts or a view of web leads.
Does it email the lead?
No. It writes the note and, for hot leads, a call task for your rep.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .