If your team spends half its day copying leads from one tool to another, you’re wasting time. This guide is for anyone who wants to connect chat leads from Servicebell directly into Salesforce—no manual entry, no “maybe later.” I’ll walk you through the setup, flag what actually matters, and call out the places where things tend to break.
Let’s get you set up so your chat leads go straight into Salesforce, where your sales team might actually see them.
Why bother connecting Servicebell and Salesforce?
Here’s the blunt truth: Servicebell is great for chatting with site visitors, but if those conversations don’t make it into Salesforce, you’ve got a data mess. Leads fall through the cracks, sales folks get cranky, and you end up doing double work.
By integrating the two, you: - Capture every qualified chat lead automatically. - Cut down on human error (and human laziness). - Give sales reps what they actually want: fresh, real-time leads.
But don’t expect magic. Getting this right takes a bit of setup, and some features are more “minimum viable” than “fully automatic.” Still, it’s way better than nothing.
What you’ll need before you start
- Servicebell Admin access (you’ll need to configure webhooks or integrations)
- Salesforce Admin access (so you can create connected apps and manage API access)
- A Salesforce plan that supports API access (not all do—double-check your edition)
- Basic comfort with APIs and webhooks (or Zapier, if you want to keep it simple)
Heads up: If your team’s Salesforce is locked down (lots of approvals needed), expect this to take longer. Don’t try to wing it if you’re not an admin.
Step 1: Decide How You’ll Connect Servicebell to Salesforce
There’s no single “one-click” native integration. You have two main paths:
A. Use a middleware tool (e.g., Zapier, Make, Tray.io) - Fastest if you hate dealing with code. - Costs extra. - Good for basic lead capture. Gets trickier if you want custom fields or complex logic.
B. Build a direct integration using Servicebell webhooks + Salesforce API - More flexible. - Free, except for your time. - Needs some technical chops (you or someone on your team needs to know APIs).
Honest take: If this is your first time, use Zapier or Make to prove the value. If you have an ops/dev person, direct integration gives you more control.
Step 2: Set Up Servicebell to Send Lead Data
If you’re using Zapier (or similar)
- Create an account at Zapier (or Make, etc.).
- In Zapier, search for “Servicebell” as a trigger.
- If it’s not there, use the “Webhooks by Zapier” trigger instead.
- In Servicebell, go to Settings > Integrations > Webhooks.
- Add a new webhook:
- Event: Choose when a lead is captured (e.g., “New Conversation,” “Lead Created”).
- URL: Paste the Zapier webhook URL.
- Payload: Send all lead details you want in Salesforce (name, email, chat transcript, etc.).
- Test the webhook by starting a chat as a dummy lead. Confirm Zapier sees the data.
Pro tip: Keep the payload simple at first (name, email, message). Add custom fields later once the basics work.
If you’re building your own integration
- In Servicebell, set up a webhook to a URL you control (your own server, AWS Lambda, etc.).
- Make sure your endpoint can parse the incoming payload.
- Plan for authentication—Salesforce’s API isn’t open, so you’ll need to deal with OAuth (covered below).
- Log every incoming webhook during testing so you can debug easily.
What can go wrong? - Servicebell might not send all the fields you want—double-check their docs or contact support. - Webhook payloads can change over time. Don’t hard-code field names without a fallback.
Step 3: Prepare Salesforce to Receive New Leads
You’ll need to use Salesforce’s API to create lead records.
A. Create a Salesforce “Connected App” for API Access
- In Salesforce, go to Setup > App Manager > New Connected App.
- Fill out required fields (name, contact email).
- Enable OAuth Settings.
- Set a callback URL (it can be a dummy URL if you’re using the API only).
- Select “Access and manage your data (api)” as a scope.
- Save and wait a few minutes for Salesforce to provision the app.
B. Get Your API Credentials
After the app is created: - Copy your Consumer Key and Consumer Secret. - Set a password for the integration user (use a dedicated user for integrations—don’t use your main admin account). - You’ll also need the Security Token for that user.
C. Test API Access
Before wiring up everything, use a tool like Postman to: - Authenticate via Salesforce’s OAuth endpoint. - Try creating a dummy Lead. - Make sure you have permissions to add Leads and to write to the fields you care about.
If you’re using Zapier/Make: These platforms usually handle authentication for you, but you still need to grant access and select which fields to map.
Step 4: Map Servicebell Fields to Salesforce Lead Fields
This part matters more than people think. Garbage in, garbage out.
- Decide what you want to capture: At minimum, name, email, chat message. Optional: company, phone, source, chat transcript.
- Map Servicebell fields to Salesforce Lead fields: E.g., Servicebell’s “visitor_email” → Salesforce’s “Email.”
- Handle missing data: Not every chat visitor will fill out every field. Make sure Salesforce doesn’t reject partial leads.
Pro tip: Add a value to the “Lead Source” field (e.g., “Servicebell Chat”) so you can actually track the impact later.
If using Zapier/Make
- Use the field mapping UI to match up Servicebell data to Salesforce fields.
- Set defaults for missing data.
- If you want to attach the chat transcript, consider storing it in a custom field or as a note.
If building your own integration
- Write code (Node.js, Python, etc.) to transform the webhook payload into a Salesforce API request.
- Use the
/services/data/vXX.X/sobjects/Lead/
endpoint to create leads. - Handle errors gracefully—Salesforce will reject leads with missing required fields.
Step 5: Test the Full Workflow
Don’t skip this step. You’ll save yourself a world of pain.
- Start a test chat via Servicebell, filling in test info.
- Watch the webhook fire—check Zapier, your server logs, or wherever your integration lives.
- Confirm a new Lead appears in Salesforce, with the right data in the right fields.
- Check for edge cases:
- What if the email is missing?
- What if someone starts multiple chats?
- Are duplicate leads handled the way you expect?
Pro tip: Ask a sales rep to check the lead record and see if it’s actually useful—not just technically “there.”
Step 6: Roll Out to the Team (and Keep It Simple)
Once you’ve tested, flip the switch for your real site.
- Train your sales team where to find Servicebell leads in Salesforce.
- Add a dashboard or report to track leads by source.
- Don’t get sucked into customizing everything up front. Get the basics working, then iterate.
What to ignore:
Don’t waste time on deep custom automations or fancy Salesforce workflows until you’ve proven people actually use the leads. You can always add more bells and whistles later.
Troubleshooting and Gotchas
- Duplicate leads: Salesforce won’t dedupe for you unless you set up matching rules. Expect some mess.
- API limits: If your site is high-traffic, watch your Salesforce API quota.
- Field mismatches: If someone on the team tweaks fields in Servicebell or Salesforce, your integration might break. Document what you map.
If you run into trouble, most issues are with authentication, missing required fields, or webhook payloads changing. Log everything and test in a sandbox first if you can.
Wrapping Up
Connecting Servicebell to Salesforce isn’t rocket science, but it pays to keep things straightforward. Start with name, email, and chat transcript, and get that flowing before you try to automate the world. Once you see leads showing up in Salesforce—and your sales team actually following up—you can tweak and improve as you go.
Remember: done is better than perfect, and perfect is usually the enemy of “actually useful.”