Salesforce

Markdown

View as Markdown

Salesforce is one of the pioneers in Cloud CRMS. Over time they have built a powerhouse of tools and applications to manage your business. By integrating the data collected via the chatbot into their CRM you can manage your leads much easier. Here are the instructions for the same.

Note

The team at Collect.chat is working on a single-click integration. At the moment we recommend using Zapier to make the integration. The following method will allow you to integrate directly. It uses Collect.chat's ability to submit data to a form. However, the procedure described may require diligent effort.

Caution

The following method has been explained using screenshots of the other tool. If you notice a mismatch from the present dashboard, please send a mail to [email protected] and we will rectify it immediately.

Login to Salesforce

Create Web-to-Lead Form

Salesforce allows you to create Web-to-Lead forms that can capture data and push to their platform. You have to create such a form first. Then you can send the data collected by the chatbot to this form.

To start, click on Setup under the settings gear icon.

You will see the Quick find search field.

Search for web-to-lead and you will find it under Marketing. Enable Web-to-Lead and click on Create Web-to-Lead Form.

Select the fields which you plan to populate using the chatbot. The Return URL is mandatory as per Salesforce settings. You can fill it with any link you choose since it does not matter to the current integration. Make sure you have unchecked the Enable spam filtering. This is not required since you will be collecting data via the chatbot and not the form directly.

Once you are done, click on Generate.

Copy the HTML code of the form for future reference.

Update Integration Settings

Now you will be adding the information from the form to the chatbot. Go to Integrate > Webhook and click on Create new Webhook.

Make sure that the value for Content Type is

application/x-www-form-urlencoded

Next, it is all about matching the correct values (highlighted in yellow).

The Webhook URL should contain the value of the action attribute.

Each question is matched against the value of the name attribute of the input element.

Finally, you have to add the hidden keys from the form. Search for "hidden" inside the form to find these elements. You can add a new hidden form field using the + button. The key will be the value of the name attribute. The value will be the corresponding content of the value attribute.

Once all the values have been filled in, the integration settings will appear as shown below. Double-check that you have added the right values to the right labels.

Test the Integration

You can test if this integration is working or not by giving a dummy response to your bot. Go to the Build > Design section inside the dashboard, click on the Eye-shaped icon, and record a complete response.

Make sure that the response is recorded in the Results > Responses section.

Go back to your Salesforce dashboard. Under Leads see if the user information was captured or not.



Still need help?

Contact us

Was this article helpful ?

Still need help?

Contact us

General

General

How to create your first chatbot with Collect.chatGoogle Tag ManagerMailChimpShow or Hide the bot based on URLSet up custom domain for chatbot pageEmail NotificationsResponse StatusWhere can I get my Invoice?Facebook PixelSend the data to your server using webhookGoogle CalendarIs there a discount?How to add chatbot to BigCommerceTranslate your ChatbotLogical JumpGoogle SheetsSalesforceMultiple Emails and RoutingFreshdeskIntegromatMy payment has failed, what to do?What is a response?I am getting spam responsesZapierWhat happens when I upgrade or downgrade?LeadsBridgeGoogle AnalyticsWhy am I not getting email notifications?How to add billing address to my invoice?Webhook in my chatbot is not workingThe changes I made to my chatbot are not visibleWhat is your refund policy?Why is my chatbot not showing up on my website?Do you have a trial account?How to add chatbot to WordPressHow to cancel my account?How to add chatbot to Medium BlogsHow to add chatbot to ShopifyHow do you charge us?How to add chatbot to CloudflarePermanently remove my chatbotHow to make the payment?How to add chatbot to NotionCan I use Collect Chat for free?What happens when I cross the response limit?How to add chatbot to Mobile AppHow to add chatbot to WeeblyHow to add chatbot to TumblrHow to add chatbot to SquarespaceHow to add chatbot to WixShare chatbot as a Landing PageHow to add chatbot widget to WebsiteConversational Marketing Chatbots and Collect.chatHow Chatbots work inside a WebsiteHow to embed chatbot in a webpageDesign a conversational landing pageCreate a copy of the botAdd a custom avatarCan I block responses from an IP address?How to add a welcome message to chatbot widget?Add a video from LinkedIn to the chatbotStop saving data on Collect.chat's serverAdd slides from SlideShare inside the chatbotAdd a video to the chatbotCan I customize the speed of the conversation?Validate phone number inside chatbotHow to capture email addresses?Open the chatbot if user is about to leaveShow or Hide the bot based on ReferrerAddress users by name using variablesEdit the chatbot conversationShow or Hide the bot based on LanguageHow to design my chatbot?Add an image to the chatbotShow or Hide the bot based on API parametersShow or Hide the chatbot based on deviceShow or Hide the bot based on CountryShow or Hide the bot based on UTM tagsShow or Hide the bot based on Operating SystemManage the date and time of when bot has to appearHow to target my users?Show or Hide the bot based on browserOpen the chatbot as the user is scrolling downTeam CollaborationShow or Hide the bot for repeating visitorsHow to hide the chatbot for a user who has already given answersOpen the chatbot widget based on a timerRedirect to a URL based on user choiceWhat is a Script Type?Add data from URL parameters inside a conversationWhatsApp typeOpinion Scale TypeAppointment typeFile Upload TypeThank You TypeText Question TypePhone Number TypeSet up custom domain for chatbot pageRange TypeLinks TypeNumber TypeDate TypeMessage TypeRating TypeEmail TypeAdd live chat supportMulti Select TypeList TypeCapture UTM parameters from URLsSend data from chatbot to pre-fill a webpageTrigger chatbot from a Link or ButtonMulti Choice TypeHide welcome message in mobileHide welcome message for repeating visitorsHow can I analyze my data?Load a new chatbot for repeating visitorsHow to edit my personal information?Add custom messages to the conversationTrack your chatbot using custom analyticsAdd custom data in chatbot responseIdentify a user in Email or SMS campaignsDynamic web pages based on user choiceHow to enable developer options when the chatbot type is Embed?Invoke a new chatbot on the same webpageOpen the chatbot instantly on page loadDo you have an API or tools for developers?Can I export my data?Why do I see symbols in my exported CSV?Do you have support for RTL languages?How to accept only business emails?How to get IP address of chatbot userWhat does your Unlimited Plan offer?How to accept payment via the chatbot?In WordPress, how can I embed a chatbot inside a page or a post?In WordPress, how can I add a different chatbot for a different page?How to trigger a bot from a WordPress Menu?In WordPress, how can I control the behaviour of the bot?How to change my email address?Publish the chatbotHow to be an affiliate?How to change metadata for chatbot pageCan we make a messenger chatbot?Are you GDPR compliant?Can I use multiple chatbots on my websites?Where can I see my Bot ID?How to change my password?Hide welcome message everywhereSetup different chatbot on different pages of the websiteTemporarily disable my chatbotRedirect to a page when conversation endsMulti Select and Multi Choice, what's the difference?Copy a MessageHow to add chatbot to WordPressIn WordPress, how can I embed a chatbot inside a page or a post?WhatsApp typeHow to trigger a bot from a WordPress Menu?In WordPress, how can I control the behaviour of the bot?Send the data to your server using webhookIn WordPress, how can I add a different chatbot for a different page?Welcome to the AI-first Help.Center!Welcome to the AI-first Help.Center!