Build a Salesforce AI Agent for Slack

Your RevOps team gets pinged in Slack 20+ times daily: @alex: Who owns the Acme account? @jordan: What deals close this week? @marcus: Check if we have other contacts at TechFlow? @sarah: What's our team close rate this month? You're the Salesforce expert. So you drop everything, log in, search, screenshot, paste to Slack, and repeat. Twenty times a day. Build a Slack agent with Replit Agent that answers these questions instantly. Your team gets answers in seconds. You reclaim 2+ hours daily. Your CRM stays current automatically.

Build a Salesforce AI Agent for Slack
Fri
Nov 21, 2025
Updated at: 
Nov 21, 2025
The Replit Team Logo Image
The Replit Team

Get Instant Salesforce Answers in Slack

Your team needs Salesforce information throughout the day, but logging in to check data disrupts everyone's workflow. Sales reps interrupt RevOps. Managers wait for pipeline updates. Deal information takes minutes to find when decisions need to happen now.

Build a Salesforce agent for Slack with Replit Agent. Your team asks questions in Slack and gets instant answers from Salesforce—no more context switching, no more interruptions, no more waiting.

Your RevOps team gets pinged with questions like:

  • "Who owns the Acme account?"
  • "What deals close this week?"
  • "Do we have other contacts at TechFlow?"
  • "What's our team close rate this month?"

With a Salesforce Slack agent, these questions get answered in 3 seconds. Your Salesforce data stays in Salesforce. Your team works in Slack. Replit Agent connects them seamlessly.

What Problems This Solves

For RevOps Teams:

  • Eliminate 15+ daily interruptions - Stop context-switching between strategic work and basic Salesforce lookups
  • No more manual reporting - Agent generates pipeline snapshots and forecasts on demand
  • Better data quality - Reps update Salesforce in real-time from Slack instead of batch updates on Fridays

For Sales Reps:

  • Instant answers - Get deal info in 3 seconds instead of logging into Salesforce
  • Natural language queries - Ask questions like you'd ask a coworker
  • Works on mobile - Update deals from Slack on your phone between meetings

For Sales Managers:

  • Real-time visibility - See what reps are working on without status meetings
  • Proactive alerts - Get notified about at-risk deals before they slip
  • Better forecasting - Pipeline data stays current because it's easy to update

Result: Get instant answers from your Salesforce data directly in Slack. Your team eliminates 15+ daily interruptions, RevOps reclaims 2+ hours daily for strategic work, and your CRM stays current automatically.

[Watch Full Demo (22:08 - 27:06) →]

Sample Use Cases

These examples show how a Salesforce Slack agent works in real scenarios—from quick queries to strategic prioritization. Each use case demonstrates specific capabilities you can build with Replit Agent and the Salesforce Connector.

Use Case 1: Quick Pipeline Queries

[Watch: 22:17 - 22:50]

The Scenario: A sales manager needs closed deal information for a meeting in 5 minutes.

The Query:
@salesagent what deals closed this month?

The Response (3 seconds):

Here are your closed deals for November:

- Green Power Energy - $35K

- Window Cleaning Co - $23K  

- Tech Solutions - $45K

[View in Salesforce links]

Outcome: Instant pipeline data without logging into Salesforce. Sales managers get meeting-ready information in seconds, not minutes.

Use Case 2: Natural Language Understanding

[Watch: 22:51 - 23:56]

The Scenario: A sales rep needs to filter opportunities quickly without perfect Salesforce query syntax.

The Query:
deals over 35K?

The Response:

Found 3 deals over $35K:

- Acme Corp - $99K (Negotiation)

- RetailPro - $52K (Negotiation)

- MedTech - $38K (Proposal)

[Salesforce links]

Outcome: Replit Agent understands natural language—no perfect spelling, complete sentences, or field names required. Sales reps get data without learning Salesforce query syntax.

Use Case 3: Real-Time Salesforce Updates

[Watch: 24:04 - 24:49]

The Scenario: A sales rep closes a bigger deal than expected during a customer call and needs to update Salesforce immediately from their phone.

The Query:
update acme deal size is now 99K

The Response:

✓ Updated Acme Corp opportunity

- Amount: $99,000 (was $85,000)

- Last Modified: Today at 2:34 PM

[View in Salesforce]

Outcome: Salesforce updates happen in real-time from any device using plain English. No more Friday evening CRM cleanup. Your data stays current automatically.

Use Case 4: Strategic Deal Prioritization

[Watch: 25:25 - 27:06]

The Scenario: A sales rep has 47 open opportunities and needs to know where to focus today.

The Query:
what deals should I prioritize today?

The Response:

Based on your pipeline:

🔴 HIGH PRIORITY:

- RetailPro Solutions ($52K) - Closes in 11 days

  Stage: Negotiation

  Next: Send final proposal

🟡 MEDIUM PRIORITY:

- MedTech Partners ($38K) - Closes in 19 days

  Stage: Qualification

  Next: Schedule demo

💡 QUICK WINS:

- Tech Start ($15K) - Closes in 6 days

  Stage: Verbal Commit

  Next: Send contract

Outcome: Replit Agent analyzes opportunity amounts, close dates, stages, and last activity to provide intelligent prioritization. Sales reps start their day knowing exactly what matters most.

Use Case 5: Pre-Call Research

[Watch: 27:07 - 27:41]

The Scenario: A sales rep needs context for an important call starting in 5 minutes while commuting.

The Query (from mobile):
briefing on acme call in 5 min

The Response:

Acme Corp Quick Brief:

- Amount: $99K | Stage: Negotiation

- Close Date: Nov 30 (24 days)

- Decision makers: Jennifer (CTO), Mike (CFO)

Recent activity:

- Oct 25: Demo (positive feedback)

- Nov 1: Security review started

- Nov 4: Budget increased to $99K

Today's goal: Address security questions, get verbal commit

[View in Salesforce]

Outcome: Sales reps get complete deal context instantly on any device. Walk into calls prepared without needing laptop access to Salesforce.

Use Case 6: Automated Morning Briefings

@channel Daily Sales Briefing - Nov 6

📈 PIPELINE SNAPSHOT:

- Total: $1.2M across 32 opportunities

- Closing this week: 3 deals ($119K)

⚠️ NEEDS ATTENTION:

- @alex - RetailPro no activity 5 days

- @jordan - Acme security review pending

🎉 WINS YESTERDAY:

- @sarah closed SmallCo ($12K)

Set up automated daily posts at 8:55 AM so the team sees priorities before standup.

Use Case 7: Conversation Memory

[Watch: 22:51 - 23:20]

User: what deals closed this month?
Agent: [shows 3 deals]

User: how does that compare to last month?
Agent: Nov: $103K (3 deals), Oct: $87K (2 deals) ↑ 18% increase

The agent remembers context within conversations.

How to Build with Replit + Slack

[Watch Full Build: 29:54 - 33:41]

What You Need:

  • Replit account (includes Salesforce Connector and Slack integration)
  • Salesforce Professional/Enterprise
  • Slack workspace (free or paid)
  • 15 minutes to build

[Start Free Trial →]

Step 1: Connect Salesforce

[Watch: 8:17 - 9:52]

Replit's Salesforce Connector provides one-click authentication. No API keys, OAuth configuration, or security tokens required.

  1. In Replit, click ToolsIntegrations
  2. Find Salesforce connector
  3. Click Connect
  4. Sign in with your Salesforce account
  5. Grant permissions

Done. The connection works across all your Replit projects.

Step 2: Connect Slack

  1. In Replit Integrations, find Slack
  2. Click Connect
  3. Choose your workspace
  4. Authorize permissions

Both connectors are now available for any Replit project you build.

Step 3: Create Your Agent

[Watch: 29:54 - 30:52]

  1. In Replit, click CreateAgent
  2. Name it: salesforce-slack-agent
  3. Configure agent personality:

You are a Salesforce assistant for our sales team.

About our business:

- We sell B2B software to mid-market companies

- Average deal: $50K

- Sales cycle: 60-90 days  

- Stages: Discovery, Demo, Proposal, Negotiation, Closed Won/Lost

What you can do:

- Answer questions about opportunities, leads, accounts

- Update opportunity fields (amount, stage, close date)

- Provide pipeline analysis and deal prioritization

- Alert on at-risk deals (no activity 7+ days)

Your personality:

- Conversational and helpful

- Concise responses

- Always include Salesforce record links

- Proactive about suggesting next steps

This configuration teaches Replit Agent your business context and team communication style.

Step 4: Build Custom Tools

[Watch: 32:02 - 33:41]

Give Replit Agent specific capabilities:

Query Tool: Search Salesforce with natural language

  • "What deals close this week?"
  • "Show me leads in California"

Update Tool: Modify records via chat

  • "Update deal amount to $99K"
  • "Move stage to Negotiation"

Analysis Tool: Provide insights

  • "What should I prioritize?"
  • "Show at-risk deals"

These tools connect to your Salesforce instance through the Salesforce Connector. During the webinar, Manny showed the tools dashboard where these are configured.

Step 5: Deploy to Slack

[Watch: 30:00 - 30:52]

  1. Click Deploy in your Agent project
  2. Choose Slack Bot
  3. Select options:
    • Which channels? (e.g., #sales)
    • Enable DMs? (recommended for private queries)
    • Name your bot: @salesagent
    • Choose emoji avatar: 🤖
  4. Click Deploy

Your agent is now live in Slack.

Step 6: Test with Your Team

[Watch Live Tests: 22:08 - 27:06]

Open Slack → #sales channel → Try:

  • @salesagent what deals closed this month?
  • @salesagent deals over 50K?
  • @salesagent what should I prioritize today?

Start with 2-3 team members, get feedback, refine the agent's configuration, then roll out to your full team.

Advanced Features

Custom Commands: Define shortcuts for common queries like "morning briefing" (shows meetings + priority deals) or "forecast" (pipeline analysis by stage).

Team-Specific Knowledge: Teach the agent about your business - sales cycle length, typical deal size, key stages, target customers.

Scheduled Automations: Configure Replit Agent to post pipeline updates to Slack channels at scheduled times, like daily briefings at 8:55 AM.

Security & Permissions: [Watch: 31:53 - 33:05]

You control which Salesforce objects the agent can access, read-only vs. read-write permissions, which Slack channels can use it, and bulk update confirmations. The agent respects Salesforce sharing rules automatically - reps only see deals they have permission to view. Audit logs track all queries and updates. SOC 2 certified infrastructure.

Get Started Today

Action Plan:

  • Today: Watch the webinar, start Replit trial, connect Salesforce + Slack
  • This Week: Build agent following video, test with 2-3 people
  • Next Week: Deploy to #sales channel, set up automations
  • Month 1: Track usage, measure interruption reduction, show ROI

[Watch Full Webinar (65 min) →]
[Start Building Your Agent →]

Frequently Asked Questions

Q: What's the benefit of using Replit's Salesforce Connector vs. building manually?
[Asked at: 27:25 - 28:33]

Traditional Salesforce API setup requires API keys, OAuth configuration, and reading documentation. With Replit's official Salesforce partnership, it's one click. Authentication and security are handled automatically. You're building your agent in 5 minutes, not setting up credentials for 2 hours.

Q: Can you build for your team so they log in with their own Salesforce credentials?
[Asked at: 31:05 - 32:08]

Currently, the Salesforce Connector works with one Salesforce account (yours). Your team accesses the agent through Slack using those credentials. The agent respects Salesforce sharing rules, so users only see data they have permission to view. Individual account connections are on the roadmap.

Q: Can it accidentally delete data?

You control permissions. Set read-only mode or enable writes with confirmation prompts for bulk operations. The agent asks for confirmation before major changes.

Q: What if it doesn't understand a question?

It asks clarifying questions. Example: "I found 3 Acme opportunities. Which one would you like to update?"

Q: Can it work in DMs instead of channels?

Yes. Deploy to specific channels, all public channels, or enable DMs for private queries.

Q: Does it work with Salesforce sandboxes?

Yes. Connect to production or sandbox environments for testing.

Q: Can different teams have different agents?

Absolutely. Build separate agents for Sales, Customer Success, Support—each with different permissions and business context.

Q: What can the connector do with Salesforce?
[Asked at: 18:55 - 19:43]

The Salesforce Connector can do anything the Salesforce REST API supports: CRUD operations (create, read, update, delete), update any field, bulk operations, queries, add new fields, write to custom fields. If you can do it via the Salesforce API, you can do it with the connector.

Q: Can admins control connector permissions?
[Asked at: 19:48 - 20:07]

Yes. Team admins can control the scope of the Salesforce Connector, including limiting which users can write to Salesforce vs. read-only access.

Q: Does the connector work across all Replit projects?
[Asked at: 34:35 - 35:24]

Yes. Once you connect to Salesforce, that connection is available across all your Replit projects. You don't need to re-authenticate for each new application you build. The connector stays active until you log out.

Q: What Salesforce editions work with the connector?

Salesforce Professional, Enterprise, or Unlimited editions. The Salesforce Connector is currently available for Replit Teams and Enterprise accounts.

Video Timestamps

Agent Demo:

  • 22:08 - 27:06: Complete demo in Slack
  • 22:17 - 22:50: Querying deals
  • 22:51 - 23:56: Complex queries + conversation memory
  • 24:04 - 24:49: Updating records
  • 25:25 - 27:06: Strategic guidance
  • 27:07 - 27:41: Pre-call research demo

Technical Setup:

  • 8:17 - 9:52: Connecting Salesforce
  • 29:54 - 30:52: Agent Builder walkthrough
  • 30:00 - 30:52: Deploying to Slack
  • 32:02 - 33:41: Custom tools dashboard
  • 31:53 - 33:05: Security settings

Q&A:

  • 27:25 - 28:33: Why use connectors vs. manual setup
  • 31:05 - 32:08: Team credentials and access
  • 18:55 - 19:43: Connector capabilities
  • 19:48 - 20:07: Admin controls
  • 34:35 - 35:24: Cross-project availability

Get started for free

Create & deploy websites, automations, internal tools, data pipelines and more in any programming language without setup, downloads or extra tools. All in a single cloud workspace with AI built in.