Put your Data to work with Salesforce+AI
![](https://gptfy.ai/wp-content/uploads/2024/07/Can-you-bring-external-data-to-your-Salesforce-for-AI-1024x576.webp)
Not a Fan of reading? Check out this video
![](https://gptfy.ai/wp-content/uploads/2024/07/Data-Context-Mapping-Salesforce-AI.gif)
This article explains one aspect of Salesforce + AI Process architecture; if you haven’t read that, do so, and then learn about Data, AI, and Context in detail here.
Table of Contents
What?
This guide explains how to use AI in Salesforce by combining internal and external data sources, such as objects and your knowledge base.
Who?
Salesforce admins, builders, coders, business leaders, and support team managers who want to bring more context and data to AI Models in Salesforce.
Why?
- To make AI work better in Salesforce while making sure:
- Data is correct and useful for AI models
- Everything runs smoothly and doesn’t cost too much
- AI can use your company’s knowledge base and third-party data sources.
What can you do with it?
- Give a complete picture: Mix and sort data from different Salesforce parts, such as accounts, deals, cases, tasks, and activities. This gives AI a full picture of your customers, helping it provide better answers.
- Add external data: Use OData connections to bring information from other systems (like ServiceNow, NetSuite, or SAP). This gives your AI more knowledge without copying data into Salesforce.
- Use your knowledge base: Let AI search and use info from your company’s knowledge base, no matter where it’s stored (Salesforce Knowledge, WordPress, PDFs, or your system). This helps AI give more accurate and helpful answers.
- Set up AI to work on its own: Make AI look at new data as soon as it comes in. It can suggest actions and provide insights before someone starts working on it.
Understanding Data Context Mapping
Data context mapping means carefully picking which data to send to an AI from your Salesforce. This includes:
- Choosing important objects (standard, custom, or from managed packages)
Picking related objects and how they connect (up to three levels: main, child, and grandchild) - Deciding which exact pieces of info to include
Using WHERE rules to narrow down the data - Putting records in order and limiting how many to use.
The goal is to give AI the right information while keeping data safe and making everything work well. It’s important to be specific about what data you send to keep it secure and save time processing it.
Setting Up Data Context Mapping with GPTfy
![](https://gptfy.ai/wp-content/uploads/2024/05/GPTfy-Prompt-Builder-Data-Context-Mapping-1-1024x576.png)
GPTfy helps you set up data context mapping in Salesforce:
- Make a new Data Context Mapping from the GPTfy main screen
- Pick the main object (like Account or Case)
- Add related objects and say how they connect
- Choose which fields to send to the AI
- Set up safety measures to protect private info
- Turn on the mapping so AI prompts can use it
For example, you can make an “Account 360” map that includes the account, related accounts, tasks, cases (with comments), deals, and linked tasks.
Keeping Sensitive Data Secure
![](https://gptfy.ai/wp-content/uploads/2024/05/GPTfy-Security-Layer-Applying-Security-to-field-values-1-1024x576.webp)
GPTfy has a security layer that helps you to secure your sensitive data. It consists of three layers:
- Layer 1: Hide specific field values
- Layer 2: Hide info that matches certain patterns (like email addresses)
- Layer 3: Hide info from a list of banned words or phrases
These help you hide private data such as names, emails, phone numbers, and other sensitive information before sending it to AI. You can also replace real company names with “Company One” or “Company Two” to keep them private.
Using Data from Third-Party Data Sources
![](https://gptfy.ai/wp-content/uploads/2024/05/External-Object-Map-External-data-into-Salesforce-Data-Context-1024x576.webp)
Bringing in data from other systems can make your AI work better:
- Use Salesforce’s OData connector to get data from other systems
- Set up external objects in Salesforce to use data from other platforms (like ServiceNow, NetSuite, SAP)
- Use GPTfy’s API Data Source to bring in data from other web services or APIs
This gives your AI a bigger picture of your business without copying all the data into Salesforce. It helps get info like GL entries or RMA data from outside Salesforce.
You can also use GPTfy's API Data Source to send external web and API with your Salesforce data for AI processing.
Using Your Knowledge Base
GPTfy lets you connect your company’s knowledge base to AI:
- Set up a connection to your knowledge base, whether it’s in Salesforce Knowledge, WordPress, or even just PDFs
- Let AI search this knowledge when answering questions or solving problems
- Use info from your knowledge base to make AI answers more accurate and helpful
Check out this video to see how you can use KB in Salesforce for AI
![](https://gptfy.ai/wp-content/uploads/2023/11/Intelligent-Case-Routing-for-Service-Cloud-by-GPTfy.gif)
Data Context Mapping vs. Data Cloud
While both help with using data, they’re different:
- Data context mapping is simpler and good for basic needs. It helps you pick and send the right data to AI.
- Data Cloud is more powerful. It can bring in lots of data from different places and change it in complex ways.
Choose based on how much data work you need to do. For many cases, data context mapping is enough and easier to use.
Bring Gen AI into your Salesforce
Why spend thousands of dollars when you can get a Free trial of AI in your Salesforce securely and in compliance with regulations?
Conclusion
Data context mapping is a powerful way to improve Salesforce AI. It lets you choose exactly what data to use, protect private information, and even integrate knowledge from outside Salesforce.
With tools like GPTfy, you can set this up without needing to be a tech expert.
- By using data context mapping, you can:
- Give AI a full picture of your customers
- Use your company’s knowledge to answer questions
- Keep sensitive information private
- Make AI work on its own for many tasks
TL;DR / Summary
- Yes, you can bring external data to your Salesforce AI
- Use OData connectors, external objects, or API Data Sources
- Tools like GPTfy simplify setup and management
- More data gives AI better context for smarter responses
- Remember to protect sensitive information
- External data sources include knowledge bases and real-time API data
- Adding external data significantly improves Salesforce AI performance
What next?
- Book a Demo: If you’re ready to securely bring AI into your Salesforce, book a demo to see how GPTfy can enhance your customer support experience.
- Stay Updated: Follow us on Linkedin, Youtube, and X for the latest updates, tips, and best practices for AI-powered chatbots in Salesforce.
![Picture of Saurabh Gupta](https://gptfy.ai/wp-content/uploads/2024/03/Saurabh-Gupta-Founder-GPTfy-and-Cloud-Compliance-300x300.webp)
Saurabh Gupta
Saurabh is an Enterprise Architect and seasoned entrepreneur spearheading a Salesforce security and AI startup, with inventive contributions recognized by a patent.
Blogs you may find interesting
![](https://gptfy.ai/wp-content/uploads/2024/06/4-Areas-of-your-SalesforceAI-Process-Architecture-300x158.webp)
4 Areas of Your Salesforce+AI Process Architecture
Learn the key concepts and understand the process for integrating Salesforce and AI from an architecture point of view.
![Illustrates the seamless integration between GPTfy and the Salesforce Trust Layer, highlighting the robust security measures in place for AI deployments within Salesforce. A sophisticated solution that showcases the layers of security, data privacy protocols, and the collaborative framework that GPTfy and Salesforce technologies employ to ensure the highest standards of data protection. This guide emphasizes the commitment to safeguarding sensitive information, mitigating risks, and building trust in AI-powered applications, making it clear that GPTfy and Salesforce prioritize secure, reliable, and ethical AI solutions.](https://gptfy.ai/wp-content/uploads/2024/02/GPTfy-Salesforce-Trust-Layer-Secure-AI-Deployment-AppExchange-300x147.png)
GPTfy + Salesforce Trust Layer for Secure AI Deployments
55% of reps in any organization use generative AI without permission
![gptfy product architecture, salesforce ai, gptfy on salesforce appexchange](https://gptfy.ai/wp-content/uploads/2023/10/GPTfy-Product-Architecture-SecuritySalesforce-AI-AppExchange-300x226.png)
GPTfy Product Architecture & Security – Salesforce + AI
Securely utilizing AI for your Salesforce Org
![](https://gptfy.ai/wp-content/uploads/2024/07/Lukes-university-adventures-transforming-admissions-with-AI-and-Salesforce-with-GPTfy-300x169.webp)
Luke’s University Adventure: Transforming Admissions with AI and Salesforce
Learn how to use AI in the student lifecycle from inquiry to enrollment and beyond.
![Review a conceptual roadmap illustrating the evolution of AI in the business sector, guided by GPTfy's principles of ethical deployment, innovation, and strategic integration. This highlights the journey organizations embark on to harness AI's potential responsibly, ensuring a competitive edge while addressing security, privacy, and compliance concerns.](https://gptfy.ai/wp-content/uploads/2023/07/Salesforce-Future-Of-AI-LLM-Roadmap-for-your-business-GPTfy-AppExchange-300x226.png)
Navigating The Future of AI- A Business Roadmap
In the era of digital transformation and automation, AI applications are at the forefront of innovation.
![In an environment emphasizing data security, this image symbolizes GPTfy's commitment to privacy, ethics, and compliance within Salesforce AI. It represents GPTfy's solutions for bias mitigation, data residency, and accurate AI outputs, ensuring organizations navigate the complex landscape of data regulations globally while maintaining the integrity and reliability of their AI applications.](https://gptfy.ai/wp-content/uploads/2023/10/Privacy-Ethics-Data-Residency-and-Compliance-for-Salesforce-AI-GPTfy-AppExchange-300x226.png)
Privacy, Ethics, Data Residency, and Compliance for Salesforce + AI
How can you ensure that your Salesforce + AI solution is meeting all of the privacy regulations.
![](https://gptfy.ai/wp-content/uploads/2024/07/RAG-AI-and-Salesforce-explained-300x169.webp)
RAG, AI, and Salesforce: Explained
How you can use RAG in your Salesforce with AI to enhance your initiatives.
![](https://gptfy.ai/wp-content/uploads/2024/06/Science-of-AI-Prompts-in-Salesforce-The-Prompt-Lifecycle-with-GPTfy-Part-2-300x169.webp)
Science of AI Prompts in Salesforce: The Prompt Lifecycle with GPTfy – Part 2
Learn about security layer, test, refine, and publish prompts in Salesforce with GPTfy.