-
-
The AI agent detected a risky opportunity and proposed a follow-up based on previous communication
-
You can edit propsed follow-up email and send it right from Slack
-
Set custom risk rules and scan frequency right from Slack
-
Real-time visibility into your Salesforce opportunities - every deal monitored, every risk flagged by TrailScout
Inspiration
As a B2B startup founder, I’ve spent years selling to mid-market and enterprise teams.
I know firsthand how easy it is for deals to slip through the cracks — not because of bad fit, but because someone simply didn’t follow up in time.
I built TrailScout to solve a problem I’ve lived: helping sales reps take the right action at the right moment, without digging through dashboards or spreadsheets.
What it does
TrailScout is an AI-powered Salesforce agent that identifies at-risk deals and proactively suggests personalized follow-up actions - all delivered directly in Slack.
It continuously monitors your pipeline, analyzes deal signals like stage stalling, overdue close dates, and missing next steps, and equips sales reps with context-aware messages so nothing falls through the cracks.
How we built it
I combined Python, Flask, and Slack’s API to build a real-time AI sales assistant that connects directly to Salesforce. Using GPT-3.5-Turbo, our agent analyzes deals, flags risks, and drafts emails - all inside Slack, with secure OAuth2 integration and zero manual data entry.
Development was supported by ngrok for local tunneling and real-time webhook testing.
Challenges we ran into
- Working around Salesforce’s developer org limits (especially email caps).
- Designing prompts that produce high-quality, actionable messages from minimal Salesforce data.
- Ensuring the AI responses were helpful, not generic, and adapted to multiple deal stages.
- Mapping the Salesforce schema into a streamlined agent interface that reps can trust and use immediately.
Accomplishments that we're proud of
- Designed and shipped an end-to-end Salesforce agent that combines CRM intelligence with generative AI - solo, in under a week.
- Developed a risk scoring logic that mirrors how real sales leaders assess deal health.
- Created a Slack-native experience that delivers Salesforce insights and actions in seconds.
- Balanced backend integration, AI logic, and UX into a single, usable agent workflow.
What we learned
- CRM automation is most impactful when it shows up where work happens — not buried in tabs.
- It’s possible to build agents that feel smart and useful without being overwhelming.
- Real-world sales data offers rich signals that AI can amplify to drive timely action.
- You don’t need a full UI — just smart triggers and the right delivery layer.
What's next for TrailScout
Next, I plan to:
- Build a more advanced dashboard for admins to configure risk thresholds, and follow-up logic
- Expand actionability in chat
- Train more advanced risk models on historical win/loss data
- Publicly list it in AppExchange and Slack Marketplace for broader distribution
Built With
- dotenv
- flask
- gpt
- ngrok
- oauth2
- openai
- openaid
- python
- salesforce
- schedule
- slack
- slack-api
Log in or sign up for Devpost to join the conversation.