Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Learn the Main Ingredients of Artificial Intelligence

Learning Objectives

After completing this unit, you’ll be able to:

  • Identify technologies that comprise artificial intelligence solutions.
  • Describe the role of workflow and rules in using AI predictions.

You’ve probably heard a lot about Artificial Intelligence lately—every week there’s a story about how AI is helping us do something new and amazing. People like you, from all types of businesses, are understandably very curious about this transformative technology. You’re excited to get started using AI, but may have a lot of questions about what it can and cannot do. Getting answers to those questions is made even more challenging because the technology behind AI is changing at an incredible rate.

To make sense of what artificial intelligence has to offer, it’s important to understand the basic building blocks of AI technology. In this module, you learn about these building blocks, what’s necessary to get started with your first AI project, and see how AI is used to benefit businesses through lead scoring, sales forecasting, marketing, service, and more.

The Main Ingredients

Artificial Intelligence may seem a bit mysterious, maybe a little magical, when you first hear about what it can do. The truth is that the AI that powers business applications really boils down to a few small parts which, when combined in innovative ways, delivers real value for businesses. One way to think about artificial intelligence is as ingredients that come together to create a perfect recipe for your business. Combine the ingredients one way and you get one dish. Combine the ingredients in a different way and you get a different dish. These simple ingredients can lead to an impressive variety of solutions for your business needs.

Let’s take a look at the main ingredients that are part of any solid AI platform: yes-and-no predictions and answers, numeric predictions, classifications, recommendations, and summarization. 

Yes-and-No Predictions and Answers

The first ingredient is yes-and-no predictions. Yes-and-no predictions allow you to answer questions like, “Is this a good lead for my business?” or “Will this prospect open my email?” AI helps you answer these questions by analyzing historical data you’ve stored in your system. 

Yes-and-no predictions generally come in the form of a probability (for example, “Mary Smith has a 67% chance of opening this type of email). But sometimes probabilities are converted into scores. Scores are just a different representation of the likelihood of “yes”; they can be represented as numbers on a numeric scale (for example, 0 to 100) or even as the number of stars on a five-star rating survey. Keep in mind that these scores are just showing the same probability in a different way. Also with the help of generative AI (gen AI), you can ask more than a simple yes-and-no question, such as “write a welcome email for a prospect” or “help me create a summary for my blog post.” Gen AI provides you a response that’s geared toward your request. Not only will gen AI answer your question, but it continues improving its response based on your feedback. The more detailed and specific you are in your request, the more helpful the response. 

Numeric Predictions

Next, are numeric predictions. Numeric predictions often power predictive forecasting solutions (for example, “How much revenue will this new customer bring in?”), but they are also used in other contexts like customer service (for example, “How many days will it take us to resolve this customer’s issue?”). Numeric predictions also use your historical data to arrive at these numbers.

Classifications

Next, we have classifications. Classifications frequently use “deep learning” capabilities to operate on unstructured data like free text or images. The idea behind classification is to extract useful information from unstructured data and answer questions like, “How many soda cans are in this picture?” It can even take a statement like, “I’d like to buy another pair of the same shoes I bought last time,” and use that to kick off a workflow that can look up the last shoe order and place the same pair of shoes in their online shopping cart.

Classification using deep learning is very robust, even when the unstructured data is arriving in different forms. Take the previous example of shoes. You could just say, “I want another pair of those shoes” or “Give me another one of those.” No matter how the request is phrased, the underlying deep learning engine built into an AI platform can generally understand them all, in much the same way that your brain can.

Another type of classification—which may or may not use deep learning—is called clustering. This type of AI ingredient gathers insights from your data that you may not otherwise have noticed. For example, if you are a clothing vendor, AI might learn that both rural older men and urban twentysomethings like to buy a certain type of sweater. Where your intuition might tell you that these are two totally different groups, the data shows they behave similarly with respect to the products they buy, and you may want to market to those two groups in a similar way.

Recommendations

Next, we have recommendations. Recommendations are key when you have a large set of items that you’d like to recommend to users. Many ecommerce websites apply recommendation strategies to products; they can detect that people who bought a specific pair of shoes also often order a certain pair of socks. When a user puts those shoes in their cart, AI automatically recommends the same socks.

Recommendations are not just for products. Marketers use the same technique to recommend content like whitepapers to business users. Employers might use recommendations with their HR recruiting system to recommend job postings to job candidates. And as a user, you can receive recommendations if you ever get stuck on drafting an email or responding to a customer case. Gen AI can generate and provide you responses or templates to help you get started. Or you can ask Einstein for writing assistance, and it can help you get the job done.

Workflow and Rules

Workflow and rules aren’t technically part of AI, but they’re an essential part of how AI is used.  Take the following example. Let’s say that AI predicts a given customer has a 25% likelihood of not renewing their contract. Just knowing this is not enough—you need to do something about it. That’s where workflow and rules come into play. In this example, your workflow might mean kicking off a retention campaign when the AI predicts that a customer is unlikely to renew. 

Summarization

Last, is summarization. Summarization plays a huge role in how gen AI works. Imagine you have hours worth of recordings to listen to or you need to read a 10 page paper on Salesforce values. Gen AI helps summarize chunks of information into quick and easy to digest notes for you. Instead of taking hours to review recordings or notes, Einstein summarizes the most important information and retains its value so you can stay in the loop without spending long hours on a subject. 

With these fundamental AI ingredients, you can produce custom AI applications that meet a variety of business needs. In the next unit, you learn how to get started with your own AI solutions.

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback