Salesforce App to integrate #Chatgpt API with #Sales Cloud and #Service Cloud
Excited to share my project on integrating Salesforce.com with ChatGPT API.
On service cloud (gif animation)
As a app on sales cloud (gif animation)
With just a few simple steps, you can now easily add chatbot functionality to your Salesforce instance. By leveraging the power of ChatGPT OpenAI API, you can provide personalized, conversational experiences to your salesforce.com users.
You only need to create a Lightening Component, Apex Class to call OpenAPI ChatGPT API, Javascript controller and then call it as an app from anywhere. I used ChatGPT too to generate some of the code :)
Sourcecode are available at https://www.chatnxt.com/integrate-chatgpt-with-salesforce-com
There are number of ways by which we can use this and I am still exploring the possibilities e.g.
1. Capturing the sentiments of the customer data etc.
2. Correcting the outgoing email by making them more professional or sentiment check
3. Identifying important action from an email with large incoming text
Looking forward to your comments, suggestion, to learn more about this integration and see how you can replicate it for your own use case.
Please note I am looking for remote #Jobs or freelancer projects as a Salesforce.com Adminstrator or Developer, let me know if you have any leads.
Please check out my trailhead profile for more details : -
- 2X Salesforce Certified
- Trailed - https://trailblazer.me/id/anema3
- Linknedin - https://www.linkedin.com/in/arti-nema-2bbb63219/
- Portfolio - https://www.chatnxt.com
#Chatbot #Trailhead Challenges #Job Opportunity #Job Postings #IdeaExchange #Einstein Bots
Thanks!
I tried and I have the component on the Utility Bar, but the chatbot is not working.
I had to change the LWC code because I received the error "ParseError at [row,col]:[2,1] Message: Content is not allowed in prolog.: Source"
This is how the new code looks like:
<!-- Salesforce Lightning Component -->
<!-- MyChatBot -->
<aura:component controller="MyChatBotApex" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
<aura:attribute name="chatList" type="List" default="[]"/>
<aura:attribute name="userChat" type="String"/>
<div class="chat-container">
<ul>
<aura:iteration items="{!v.chatList}" var="chat">
<li>{!chat.userName} {!chat.chatText}</li>
</aura:iteration>
</ul>
<div class="input-container">
<input type="text" placeholder="Type your message here" value="{!v.userChat}" onchange="{!c.updateUserChat}"/>
<button class="slds-button slds-button_brand" onclick="{!c.postUserChat}">Send</button>
<!-- by chatnxt.com -->
</div>
</div>
</aura:component> "
Any idea?