How Fin works (for Salesforce)
Learn about the building blocks which enable Fin to answer your cases
You're the one training Fin, and it's much easier to train something when you know how it works. In this lesson, you'll see what actually happens when a case reaches Fin, the building blocks you use to control it, and why syncing your Salesforce data is what makes it all work.
Before you start
This lesson is all about the mental model: understanding the building blocks before you start using them. To get the most out of it, we recommend:
- Watching How Fin fits into Salesforce first. It gives you the big picture of how Fin works with your org - this lesson goes one level deeper.
- Connecting your Salesforce org to Fin. You'll need to do this to actually set Fin live later.
Video transcript
So you're going to be the one training Fin, but it's hard to train something if you don't know how it works. And for a lot of teams, AI agents can feel like a bit of a black box. So before you start, let's look at what's actually going on inside.
In the UI, you'll see that to train Fin, you use content, attributes, guidance, data, escalation and procedures. You're probably wondering what all these things are, and how they help Fin answer your cases. Well, when a customer writes in, a new case is created, and your routing assigns it to Fin, this is when they start to come into play. So let's take a closer look.
When a case reaches Fin, the first thing it does is use attributes to figure out what's going on. That means it reads the conversation, and it looks something like this: "Okay, what's this actually about? Well, seems to be like a billing issue, and the customer seems a bit frustrated. So that's going to be negative sentiment. And it seems pretty urgent, so let's mark it as urgent."
So Fin classifies the case first, and passes that data into Salesforce for you to use. And these attributes are just examples. You can create as many as you want, about whatever you want, meaning Fin looks at every case through the lens of your business.
Now that Fin knows what the case is about, it has enough context to decide whether it should answer it or pass it to your team. That's where escalations come in. You can be really explicit with Fin, like "always escalate billing disputes." Or you can be a bit more general, like "if the customer is really frustrated, make sure you pass it to the team." And when Fin escalates, it reassigns the case according to your routing, so it lands with your team with full context.
Fin is really good at knowing when to answer and when to step back. That's why you can trust it to go first and take on the bulk of your cases, while your team focuses on the ones that need a human.
If Fin decides it can help, it gets to work using your content, guidance and procedures. Content gives Fin knowledge, the actual information it needs to answer cases. Guidance lets you shape how it behaves: how it speaks and how it responds to your customers. Guidance is basically how you train Fin to act like your best agents. And procedures are for questions that need more than an answer, like a refund or an account change, where there are steps to follow. Procedures let Fin work through complex processes from start to finish, just like your team would.
And everything you've just seen works exactly the same when Fin is up front on live chat. It uses attributes and escalations to decide whether the conversation should be handed off to your team. And if not, it answers using your content, guidance and procedures.
Now, there's one fundamental piece underneath all of this, and it's data. Your Salesforce org already has tons of data about your customers, your cases and your accounts. As the person training Fin, it's up to you to sync the data Fin needs to do its job. Without it, Fin won't have a clue who it's talking to.
Once Fin knows who it's talking to, all the building blocks we've covered can be targeted at different customers to create different experiences, giving you a lot more control. And anything Fin learns during a conversation syncs back to Salesforce, so nothing gets lost. That's why syncing your data is such a key step.
Okay, so now you know how Fin works. It's a few simple building blocks, all powered by your data, and all set up by you. Now that you know how they fit together, it's time to start training Fin.
What happens when a case reaches Fin
Every case follows the same path. Your Salesforce routing decides which cases go to Fin. From there, Fin works through three steps:
- It reads the case. Fin uses attributes to work out what the case is about, like the topic, the sentiment and how urgent it is.
- It decides whether to answer or hand off. Your escalation rules and guidance tell Fin which cases should go straight to your team. When Fin escalates, it reassigns the case to the queue or user you choose, and your routing takes it from there.
- If it can help, it answers. Fin uses your content, guidance and procedures to resolve the case, the way your best agents would.
Underneath it all is your Salesforce data. It tells Fin who it's talking to, so every step can be tailored to the right customer.
The building blocks
You'll find each of these under Train in Fin. Here's what each one does, and an example of how you might use it.
| Building block | What it does | Example |
|---|---|---|
| Attributes | Fin reads each case and classifies it based on attributes you create. Values can be written back to fields on the case in Salesforce. | Topic: Billing. Sentiment: Negative. Urgency: High. |
| Escalation | Decides which cases Fin hands to your team instead of answering. Rules use attributes and customer data. Guidance lets you describe situations in plain language. | "Always escalate billing disputes." "If a customer is really frustrated, hand them to a person." |
| Content | Gives Fin the knowledge it needs to answer, such as articles synced from Salesforce Knowledge. | Your refund policy article. |
| Guidance | Shapes how Fin behaves: its tone, how it responds and what it should or shouldn't do. | "Keep answers short, and always confirm the customer's order number." |
| Procedures | Lets Fin work through multi-step processes from start to finish, the way your team would. | Processing a refund, or updating an account. |
| Data | Syncs the Salesforce fields Fin needs, so it knows who it's talking to. What Fin learns can sync back to Salesforce. | Contact, Account and Case fields, like plan or region. |
It works the same way up front
If you add Fin up front with live chat, nothing changes about how it works. Fin reads the conversation, uses your attributes and escalations to decide whether to hand off, and answers using your content, guidance and procedures. When it hands off, it creates a case or passes the conversation to an agent in Salesforce.
Who gets Fin? Inside your org, your Salesforce routing decides which cases reach Fin. On live chat, you can show Fin to everyone, or use your synced Salesforce data to target specific customers.
Why syncing your data matters
Your Salesforce org already knows a lot about your customers. Syncing that data to Fin is what turns it from something bolted on into part of your business. It works in both directions:
- Into Fin: Fin pulls the Contact, Account and Case fields you choose, so it can recognize who it's talking to and tailor its answers, escalations and guidance to them.
- Back to Salesforce: Fin can push what it learns, like attribute values and how the case ended up, back to Salesforce, so your team, Flows and reports stay up to date.
You don't need to sync everything. Start with the fields that matter most for how you answer and route cases, like plan, region or account tier. You'll set this up in its own lesson later in the course.
Next steps
Resources
- How to create Fin Attributes: Set up the attributes Fin uses to classify your cases.
- Manage Fin AI Agent's escalation guidance and rules: Control which cases Fin hands to your team.
- Sync content from your Salesforce help center: Bring your Salesforce Knowledge articles into Fin.
- Provide Fin AI Agent with specific guidance: Shape how Fin talks to and helps your customers.
- Fin Procedures explained: How Fin handles complex, multi-step processes.
- Fin for Salesforce Cases: How is data synced?: How data moves between Salesforce and Fin on cases.
- Fin Messenger: How is data synced with Salesforce?: How data moves between Salesforce and Fin on live chat.