---
title: 'Build Second Brain using Claude and N8N'
source: 'https://www.youtube.com/watch?v=X5rI6dtEThA'
video_id: 'X5rI6dtEThA'
date: 2026-11-26
duration_sec: 3452
channel: 'codebasics'
---

# Build Second Brain using Claude and N8N

> Source: [Build Second Brain using Claude and N8N](https://www.youtube.com/watch?v=X5rI6dtEThA)

## Summary

This video demonstrates how to build a 'second brain' for a company using N8N as an orchestrator and Claude as the AI brain, enabling employees to query scattered data sources like Slack, Google Drive, and databases for quick, context-aware answers. It walks through a real-world scenario at a fictional company, Atlic Hardware, showing how the system handles role-based access control, pulls information from documents and people, and even integrates with Claude for direct queries. The tutorial covers the technical architecture, key workflows, and setup steps, with a complete guide provided for replication.

### Key Points

- **Concept of a Second Brain** [00:15] — Companies have knowledge scattered across databases, Google Drive, PDFs, Slack, and people's heads. The goal is to build a 'second brain' using N8N as an orchestrator and Claude as the brain to pull all context together for quick decisions.
- **The Problem: No Company Memory** [01:46] — Atlic Hardware's CEO faces a board question about a July agreement with Chroma, but no one can answer quickly because knowledge is scattered. Tony identifies the core issue: 'We have all the books. We just don't have a library.'
- **Solution: N8N and Claude** [03:10] — N8N is a workflow automation tool that connects all data sources (Slack, Google Drive, etc.). Claude serves as the LLM brain. The orchestration is done by N8N, allowing the system to pull answers from various sources.
- **Grunt Work Required** [05:28] — Setting up the entire system requires significant setup work ('grunt work'). The full project takes 5-6 hours end-to-end, but a complete setup guide is provided in the video description to save time.
- **Technical Architecture** [06:36] — The brain runs locally on a laptop using Docker to containerize N8N. Ngrok exposes the laptop to the internet so Slack can reach it. API keys are stored in an N8N encrypted store (Safe). Supabase is used as the database.
- **Learn Workflow** [09:09] — A workflow runs every hour to pull changed files from Google Drive and Slack messages. Sensitive information (e.g., phone numbers) is masked using stickers before storing. Gemini creates embeddings for semantic search.
- **Answer Workflow with Role-Based Access** [12:31] — When a question is asked, the answer workflow checks if the user has access (e.g., interns can't see margins). If authorized, Claude pulls the answer from memory. If not, it directs the user to the right person.
- **Improve Workflow: Asking People** [15:20] — If Claude doesn't know an answer, the improve workflow pings the right person (e.g., Nisha) to get the answer, which is then stored in memory for future queries.
- **Act Workflow: Logging Decisions** [17:13] — Through MCP, Claude can log decisions (e.g., 'not renew Chroma on same terms') via the act workflow, which requires CEO approval via Slack before saving to memory.
- **Monday Brief Workflow** [18:39] — A timer-triggered workflow sends a concise weekly brief to leadership, summarizing what happened last week and what's coming up, including sales targets, gaps, and open issues.
- **N8N Credentials and Workflows** [23:20] — Credentials in N8N store API keys for services like Google Drive and Anthropic. Workflows can be imported as JSON files. Each workflow consists of nodes with input, settings, and output.
- **Building Workflows with AI** [29:22] — Workflows can be built by hand or generated by AI (e.g., via Claude) and imported. It's important to understand the internals to fix issues, similar to reviewing AI-generated code.
- **Web Research Tool** [46:23] — The brain can also access the internet via a TVL search tool to fetch fresh information (e.g., current laptop prices) and provide answers with sources.
- **Vibe Workflowing** [50:00] — Using MCP, you can ask Claude to build workflows directly in N8N by describing requirements. The AI creates a draft workflow that you can review and fix, enabling rapid automation creation.

### Conclusion

The video provides a comprehensive guide to building an enterprise-level 'second brain' using N8N and Claude, covering everything from architecture to implementation. By following the steps and using the provided resources, viewers can create a powerful tool that centralizes company knowledge and enhances decision-making.

## Transcript

databases, Google Drive, PDF documents, Slack messages, [music] and often in people's heads. When it is time to make a quick decision, you can't pull all the information together. we are going to build a second [music]
brain that can do this for you. N8N will be used as an orchestrator and we will use Claude [music] as a brain so that you can pull all the context together. This is something you can use for your company's needs or your personal needs.
We are going to build this using an interesting story of Atlic hardware. interesting story of Atlic hardware. Let's go. it a question in Slack and seconds later you have the answer with proof.
Two weeks ago, nobody at Atlic could answer that same question. Let's rewind. Atlic hardware's share price is down 18% this year and today Bruce, the CEO, is facing the board. Across the table sits Nick Puri, the
Across the table sits Nick Puri, the senior board member everyone fears. Every competitor calls itself AI first. He says, so what is Atlic? Bruce has his answer ready. We are AI first. Our teams use ChatGPT, Claude,
and Copilot every day. And Nick says the line that ruins his week that makes your people AI first Bruce, not your company. Then he tested, what did we agree with Chroma in July and was it worth it?
Silence. One manager scrolls Slack, another opens three Excel files. Someone whispers, I will get back to you. And Bruce's face turns green.
You have one quarter, Nick says. Bruce marches out and calls his two best marches out and calls his two best people, Tony and Peter, my cabin now. Peter knows exactly where the Chroma answer is somewhere in Slack thread from
July. Tony, the data and AI lead sees the real problem. Adlik doesn't have a memory. Its knowledge is scattered across Slack, Drive, and sales database and people's heads. As Tony puts it, we have all the books. We just don't have a
library. So Bruce gives them a mission, a brain for this company. It has to be safe. Nobody should have to babysit it and they have two weeks.
and they have two weeks. Two weeks, one brain mission, AI first. [music] As you already saw in the story, companies will have variety of data sources, Google Drive, sales,
Slack, and so on. And when somebody asks this question, what did we agree with Chroma in July? Here Chroma is one of the customers of Adlik hardware. The answer might be lying in some Slack
chat or it might be hidden in some Google Drive document. If you start investigating, it might take you two days to pull the answer because enterprises have such a huge mass of
information. You know, if you're looking for a precise answer, it takes time. So here we will be using N8N and we will connect all the data sources to this tool. Just in case if you haven't heard
about this, it is a popular workflow automation tool. Here you can build agents. So we are going to go through this platform in a bit, but just think of it as an orchestrator, okay? The brain is going to be Claude. It is
an LLM, but the orchestration will be done by N8N, okay? So here is a demo. So here's a Slack chatbot of Adlik hardware where this is a sales channel and Bruce,
who is the CEO, is asking this question. Watch. At Adlik brain. So this is how question and then the brain is invoked and it is
responding. See, here is the reply. See, there you go. It gave you the answer. It pulled all the context and it gave the answer. We will also and it gave the answer. We will also build this Monday briefing workflow
where leadership will get this kind of short and precise brief every Monday, let's say in the morning. So you have a summary of what happened last week and what is coming up
in this particular week. That way you get prepared for the coming week. get prepared for the coming week. We will also connect Claude with N10 and So if you're using Claude, let's say any employee in Atlic hardware, when they
are using Claude, they can type a question such as use Atlic brain and answer this question. So you type this particular question and here see ask Atlic brain. So it is invoking the brain and it will
give the answer. We are going to build bunch of workflows. This is one of the workflows in N10. An interesting thing is you can use Claude to build the workflows, okay? So I will show you how you can say in my
N10 build a workflow, you give your requirement and then it will be connected to N10. So you will go to N10, it will build the workflow. See, it has built this workflow magically
for you. Now folks, remember greatness comes from humble beginnings and grunt work. Setting this whole thing will require grunt work. You know, you have to do a lot of setup, but people who can go
through the grunt work are the people who become successful. Now the entire setup doing the entire project end-to-end is going to take five to six end-to-end is going to take five to six hours, but to save your time on learning
what we have done is we have attached a complete setup guide which you can find in a video description and during the video itself, we will talk about the video itself, we will talk about the core concepts and the crux of the entire
brain building process. Okay? Remaining setups, for example, how to create setups, for example, how to create account on NCNN and Gemini, all of that. of AI. You can do it easily and we have provided the guide as well. Now let me
walk you through the technical architecture. So here you have a laptop which is a box on the left hand side. On the right hand side, you have internet. Now in Atliq hardware, when people come to the office,
they will be running Slack, Google Drive, all this software on internet, right? They run it on internet. You are going to build the brain on your laptop. Okay? So first thing we will do
is we will run NCNN locally on your laptop on Docker. Docker is a software that allows you to run NCNN in a containerized, safe, contained environment. Okay?
contained environment. Okay? So we will pull NCNN from Docker Hub. Think of Docker Hub as like Apple Play Store, you know, from which you can download any app to your phone. Similarly,
you can download NCNN software, NCNN image on Docker. In in Docker terminology, it's called image and then you will run it on your laptop. So you see this green box. So this is your laptop. Right
hand side is your internet. You are running NCNN along with Claude in your laptop. Basically, this orange thing that you're seeing is essentially that's your brain. Okay? That combined with Claude. Okay?
And then you will have a safe which is an NCNN encrypted store for keys and password. Here you'll store API keys for Gemini, Claude and so on. Okay?
And now in Slack, let's say Bruce, Atliq CEO, is asking some question. You can't reach to laptop, right? So you need something called ngrok. Ngrok is super simple, folks. See, you'll see all these jargons, but let me tell you,
what ngrok is doing is exposing your laptop to internet so that Bruce on his machine can access your laptop, you know, by going to browser and typing some this kind of URL. Okay? That is all it
doing. So now when Bruce is asking question, at like brain can connect to it. Okay? So it's just a connection. So now we are connecting Claude to using this
safe. We are storing the API keys here. Okay? So now your brain has access to It has access to Google Drive and everything else. Okay? So now when somebody is asking a question, it can pull the documents from
Google Drive. It is also connected to Supabase. Supabase is a cloud platform where you can run your database. So we Supabase and connect that
to our brain. Okay? So the workflow will work something like Workflow will get triggered every one hour. at 3:00 and now I am running is 3:59. I am
kicking off a new workflow at 4:00. So at 4:00 it will run a learn workflow in LangChain. Okay? So don't worry. What this workflow will do is it will go to Google Drive and other
and it will pull all the files which are changed in last one hour. We are running 4:00 workflow. 3:00 workflow was already run. So now we between 3 to 4. So it will send those files here.
Okay? The other way. Okay? So the first way of knowledge, you know, knowledge is represented in documents. So we got the information from the but knowledge is present in the
Slack messages too, correct? So let's say between three to four, Samir has posted this question, Chroma call move to Friday, ping me this. So needs to get that knowledge and store it in the
But here you can see there is a phone number which is a sensitive information. There can be bank account information, okay? You don't want to store the sensitive information into our database. So this not storing sensitive
information is one of the key concern for any AI workflow, okay? So here you will uh basically mask it. You will just say uh you know, square bracket phone.
And you will basically uh store that text and sticker. Sticker is basically the mask, you know, you're putting sticker on top of the information. So it is masked. And you store that via remember
workflow. So learn workflow will trigger remember workflow. It will store that a database. But before before storing that into database, that into database, it will call Gemini to create embedding.
Now what is embedding? So embedding is a numeric representation of text. Why do we need that? Well, when we search for information, we want to search using meaning,
not search by exact keyword. So if in the database we have this information stored that we are offering 5% discount to Chroma. If somebody ask a question in Slack, how much promotion we are offering to
Chroma? Now see promotion and discount are two different words. So if you are two different words. So if you search using promotion as a keyword, you won't be able to find it from your database. But if you search using the
okay? So let's say if there is a way where you can say promotion and discount are the similar words, then that will be beautiful, right? And then that will be beautiful, right? And you can search using a meaning by
making use of embedding. Okay, we have other videos on Just remember simple using embedding you can search by meaning. And embedding can be created using Gemini model. Okay? So here you are creating embedding and then
storing embeddings plus the actual information into the memory. Okay? Now Bruce is asking this question at lick brain. See at at lick brain. What did we agree with Chroma in July
and was it worth it? At this point we will trigger another workflow called answer workflow. Okay? Folks, I know this sounds little complex,
but let me tell you this is an enterprise level project. It is not a toy project. Okay? An enterprise level project requires complex work. And by doing complex work, you are building real skills. So if you
add this in your resume, it's going to look super cool and you can use this project to build the actual enterprise level brain for your company or for your business or for your personal needs. Okay? That is why there
are too many steps. Okay? But I know you all have patience and you all want to learn through actual complex enterprise project and not by the toy project. If I like five steps. But I want to teach you the real skill
that matters in the industry. Okay? So here Bruce is asking at at lick brain the question. And then answer workflow is triggered. So in any ten we are creating different workflows, right? We talked about learn workflow, remember,
answer and we have few more. So this workflow will first check should I answer this person's question or not? Because an intern joining in the company might ask
head? It should not answer that question, right? It should look whether this person has access to that information or You know, there is role-based access control. So here you are
looking at people's list in Super Base and you're finding if that person has the access to this information. Now Bruce COO, he's from leadership. He has
uh access to that information. So now that access part is verified. Okay? Authentication is verified. The next step is you send a question to Claude. See, if the access was denied, you don't
say you don't have access to this information. But now that access is you will ask a question to Claude and Claude will help you pull the answer from memory. Okay? So we'll go through
these steps in detail. Here I'm going a bit quickly. Okay? So you got your answer. Okay? You have this beautiful answer in Bruce's Slack. You Okay, so this is the one type of use case that we are
covering. The second use case is let's say Samir somehow hidden, but but focus your attention here. Samir is asking at Atlic Brain, what's our warranty for refurbished laptop? Now Claude doesn't
know the answer. Actually, in our database there is no answer because the answer is in somebody's brain. Okay? So here Claude is not bluffing. It's saying no, I don't know the answer. And then what happens is
we will kick off improve workflow. And improve workflow knows that the answer is in Nisha's brain. So Nisha is another person in the company. She knows the answer
and our brain will actually ping Nisha. See, Atlic Brain is asking question to See, Atlic Brain is asking question to Nisha. Nisha, Samir asked warranty for refurbished laptops. And then Nisha will provide the answer.
see isn't this amazing? This is like you're brain, which knows entire context of the company. It also knows that Nisha will know the
question. And Nisha when she answers the question, it will store that into memory so that if some other employee, let's say Mohan asked,
now it will have the answer. So folks, you realize, right? Here we are pulling information from Google Drive and also from a person's head, right? Isn't this beautiful? Okay, so that was the use case of how you can pull information
from someone's head. The next one is let's say you are using Claude. Let's say somebody from operation department. Let's say this person's name is Mira. Mira is an operation director and she
had a meeting with Chroma. In the meeting, they decided that we will not terms are changing. So Nisha is opening Claude. Okay, she's Claude. You see Claude here and she's
saying log a decision, we'll not renew Chroma on same terms, okay? So now through MCP door, we are accessing the brain and we will invoke a new workflow called act, okay?
And we will log the decision. But before logging the decision, you want to take approval of your CEO who is Bruce. So the message gets sent out on Slack to Bruce saying that, Bruce, should we approve this that we are not renewing
Chroma on same terms? Bruce will say yes, uh agree. So he will say yes. And after the approval, it will save that thing into memory. Okay, so this is how decision
gets saved. So here folks, once again, this is showing you the actual enterprise use case where somebody in operation department is having meeting at client place. They are saying log this decision. Approval is asked for and
after approval, decision is logged into the database. So now when somebody asks a question next time about this, it will have the latest context. See, logged it after Bruce approved it. And the other one which I already showed
you is the Monday brief workflow which gets triggered on a timer. So this is a brief workflow. Okay? It will send a brief. So we are going to look at it as well. So it will send this kind of a brief. Okay?
And we'll also store this kind of statistics. So nightly test. Okay? What was run and so on. So folks, this is a complete architecture. Look at this. You know how beautiful this is. We are going to build all of this today.
each and every step because otherwise We'll go through the crux. So watch the entire video towards the end. At the end, we have shown you some cool use cases which can speed up your work. Let
me now bring Aditya, who is an automation specialist at Code Basics. He has built this entire workflow. So we are going to go over it together. We have Aditya here who is a business automation specialist. Aditya, let's
&gt;&gt; Yes. And for demo, I'll show you from the perspective of two people. And right now I am in Atlassian Slack communication channel and I am logged in as Arjun Das,
who is a sales intern. And let me tell you, he's very enthusiastic to ask questions. Sometimes he asks questions which he shouldn't ask, but let's try from the Arjun's point of view. So I am posting the first question here. So
this is nothing but our brain that we are going to build today. That is the name that I have given, Atlassian brain. So you just use @ and tag it and ask the questions. So let me ask this from this
perspective. Meanwhile, I will also switch to a Meanwhile, I will also switch to a different profile and from this profile, this is Arjun Das and this is Bruce Haryali. So Bruce is into leadership. So
he's not an intern. He should get a different answer. So you can already see that Arjun has got some answer, but let me just post from Bruce side first and I will show you an interesting thing
there is a difference in answer. So let me read Arjun answer first. So Arjun asked what was the chroma margin in finance review, but he is a sales intern. So the bot says information sits with the finance team.
So can't share it here. Rakesh Iyer can help you with it. So Rakesh here is from the finance team who is heading it. So it is telling that if you need this information, please go and ask Rakesh, which is which makes
complete sense to me. And meanwhile, we have also got a response for Bruce Haryali. So Bruce now got the complete answer this this. The difference here is simply because
Arjun is an intern. He should not get that answer and Bruce meanwhile is into &gt;&gt; This is amazing because this is now considering all the context, right? Like Slack conversation, Google Docs,
emails, all the context of the company and giving the answer based on the role and data access privilege that a particular person has, okay? So I'm pretty excited to see how we can build this. So can you show me? Let's get into
&gt;&gt; Yes, absolutely. So this whole thing took a lot of time to be built and to be very honest, if we do it step by step, what I have done here is &gt;&gt; It will be a probably 10 hours tutorial,
folks. So we are not going to go over all the steps, but we will explain the conceptual and important part of it. &gt;&gt; Yes, and along with that, we will provide them all the resources they need. So if they want to replicate, just
following this guide will make sure that they are able to replicate everything. So, this is a complete guide. Uh, this you will have all the step-by-step things, what to need you do, copy, paste, all the links, everything. Along
with that, you will get this zip file which will contain all these things like how do you set up any 10, what is the database, documents of the company. So, you can completely replicate in your
own thing if you want to. But the main crux of all this is nothing but any 10 who is running the whole game here. So, let me jump directly into that and this let me jump directly into that and this is how any 10 looks if you go. This is
the homepage of this once you log in inside it and you see this kind of things. So, today we are going to work mainly with two tabs here. One is this workflow one and another one is the credentials one.
I'll first start with the credentials one because this is what gives you or gives any 10 the entry to other things. So, let me just open this quickly. You see there are multiple things like Google Drive, Anthropic, this. So, what
is this? This is nothing but I am giving any 10 that hey, this is my key using which you can open my locker to Google Drive or things like that. So, for
Google Drive, Anthropic, I have just given all the keys. So, you just simply click here. From here you can create any key you want to give any 10 access to. Moving on to the workflows, this is the part where we have all the
workflows and don't worry, these are too much. But again, in this kit we have all the workflows here that you will need and you can simply import them.
And before moving on forward, I will quickly tell you what a workflow is. If you place a order in a quick commerce or something, how happens is you place the order, then information pass on to the app, then to the store, then store to
the manager, then to the delivery guy, then finally it comes back to you. So flowing. So this is nothing but workflow. Will go more deeper into that, but before that, how do you get all these workflows for you?
So simply click on this create workflow and it will open something like this, a blank canvas. You click here and this import button and the file, whatever you want to import. So as an
example, if I want to import this, that's it. We are done. So this is how you can import all the workflows that I have been providing you inside that file, right? Now we move ahead and we actually see
what happens inside a workflow. So let me just click on create workflow. This is how it opens and you can add steps here one by one, one by one. So for example, the first step can be
something like what starts something? What is the trigger? So you can choose the trigger from here. When should this workflow start? Like that example that this delivery start if somebody's placing the order? So this is how you
start the workflows and let me open this workflow again and show you what is this boxes inside this workflow. Let me open one of the boxes and show you. So if you just double click, it opens something like this and this you
opens something like this and this you see, you have output here. You have some and on the left you see empty. So what will happen is data will come in from here. Then configuration will happen here in
output. So right now it is not running at the moment, so it is not showing. But you remember the example that we took from the Slack just now? Let's see in action what happened there.
what happened there. So in the top you see buttons, editor, execution, evaluation. These are the two that you need to be most concerned Editor is basically a builder part where you build things. Everything that you
build here is here. Execution is where something has already happened and you want to see what happened in my workflow. So if I just click on this execution part, I can see
that this is what has happened. So let me open the first box. So the first box something came from trigger on app mention. Remember I told you about trigger.
So when app mention here people mentioned at lick brain, right? Information flowed came here and this is what it gave as a output that this was all the information. What was the chroma margin
and this text, channel, team, client ID, all this information. So let me go to maybe one more tab ahead. So maybe let's go So if you see on the input side, this is how node works. Input, settings, output.
So input you got all the questions that this person asked some questions. Then these are the settings. So in this particular case, some settings are happening that okay, find me what is this user role. Based on this user, find
me what is this user role, what is the channel, what is the thread and give me this output. So the simple crux of all the boxes that we are opening here is it will show you input here.
It things will happen here and the output will come here. This is a basic thing of all the boxes that you are making here. So &gt;&gt; It is like your Java or Python function where
then there is processing and then there is output. So node is like that. And when I look at the workflow, it sounds like a flowchart. If you have worked in and stuff, you know the flowchart. So this looks like that.
And the beauty of this thing is you don't need programming knowledge. Even a person who has not done coding can build this workflow using drag and drop. That's the benefit of using N8N to create these kind of automations.
&gt;&gt; Yes, exactly. And that is what like the first automation that I made was using N8N itself because I don't know coding much about it. So you just simply go into it and you will figure it out because it's so user-friendly. You just
drag and drop things, enter things, and it will happen. So let me jump on and actually show you by building a little bit about it from the scratch. If we are building it from the scratch, how we would have done it.
So just to let you know if you are thinking all these workflows we have built by hand, no. Yes, we have reviewed it. Yes, we have given a lot of thought and test for it, but you don't need to build it by hand, but you
definitely need to know what is happening inside so you can fix it. So we will do it by hand for one of the workflows, which is the main workflow workflows, which is the main workflow here, our brain. This is what is running
all this that that you see, everything that is happening inside this brain agent. &gt;&gt; So just like coding, you can use AI to build the workflows and export them as a JSON and just import it directly.
But as Aditya mentioned, you shouldn't treat it like a black box. You should know what's happening. You should have fundamentals. should have fundamentals. That is the reason it is useful if you
build these things by hand for the time period when you're learning these things. And the guide that we have attached is follow the guide. It will show you how to build these workflows and you get
that knowledge and you get some understanding so that it's not a black &gt;&gt; And for exactly &gt;&gt; that, let's jump on a little bit deeper. here. And I'm duplicating the tab also. So you
see how we have built it step by step. So I will go with the one that this is one which is already live. This is our brain agent that is already
built. It looks like a octopus for some of you and for even for me. But [laughter] yes, it's very simple once you are building it on your own. So it doesn't feel like that. So let me go here and this is the first
step in a blank canvas. And this as I mentioned is designed the trigger. So in our case, what is happening inside So in our case, what is happening inside this is the trigger is coming from
another workflow which is asking that, hey brain, please wake up. Let's start. So for option this, this option if you see when executed by another workflow.
So you remember I showed you one of the workflows in the start which was this one. Right? This was waking up the workflow when tagged. So this is the workflow, that whole
workflow. Here if you see there are some arrows like this. Ask the brain. So in middle of the workflow, you can call another workflow. So here we are calling the brain and that is what we are going to build.
So let me jump here. And this is the option that we I let me choose it again. So this is the correct option that we have to choose because it is being called by another workflow. So let me click it here. So it will show
workflow. So I will copy paste all these things So I will copy paste all these things here.
here like this, this, this. And on the what basis I am filling these steps again is the information that is coming onto this particular brain. And if I again go here as I told you
this was the one which was calling the brain, right? Let me check what is the sending here. So I am just replicating the same here filling. Simple define using fields below. Don't
worry about this JSON accept all data. &gt;&gt; But I think that information should be &gt;&gt; Correct. &gt;&gt; If you go to the other workflow, the main Slack workflow. So here when it comes to ask the brain,
can you look at the previous step because it should be the output of &gt;&gt; Correct. &gt;&gt; Yeah, can you open that green? Yeah. &gt;&gt; So it will show here since it's in editor mode, so it will not show what is
the information passed. We can go into the execution mode coming here. &gt;&gt; Okay. [clears throat] So folks, as you can see so it has input
then some logic and output. So in the output there is true branch and false branch. You see in the logic if you see in the middle condition if it is true then do true branch. You see true branch
true branch? Yeah. And then if it is false then right now in this particular execution false logic has been &gt;&gt; Right? It is passed. That's why you are seeing only false. And there you have a
JSON, right? Which has question is teach, fact, user, etc. Now if you go to the brain, you will have the same set of input, right? In the brain. &gt;&gt; Yes, correct. So we can add more inputs if we want, but the main crux here is
whatever the last information that was passed onto us only out of that into the next node. &gt;&gt; Yes. &gt;&gt; That is the main thing here. So this was the first node is doing.
And again if I go back to our agent if you see this main brain is the one and here let me click on this plus so this adds a and if you see anytime is giving you an option of AI.
AI agent and you just simply click on AI and Let me close this pop up it will show something like this. You have this complete brain. So things are coming
part by part. Now it has all these tools and everything right? So let me just open this quickly for you and see what it is doing. So currently you see that there is no input data because
it. So let's imagine a situation anytime gives you the possibility of testing it with demo data. So let me just click here on this particular node. You see the button called plus you can
click it and see only this node will ran and you can see demo that if the information was there how it will be passed. So now if I open now you can see we have things in input. We have question, role, asker name this
this this empty yes because we just ran a demo but this is how information is passed. Now since it's an AI agent it will need prompt a question that you want to ask and what
are the question you want to ask about. So this is you see source for prompt Here I am going to see this. Again I am using define below. This is basically another thing that if something some information
is coming automatically you want to choose that using some chat that is for that but here we want specific question. So I am clicking here and here it opened a new window for me user message. What is the something that
you can help me with? So this is the demo that I have this question. So I want that this question that people my brain. So I am doing exactly the same and
anytime gives you the possibility, right? You just simply drag and drop it here things. That's it. It converts it into JSON and it will be asked, the brain will get a new question. So
from here once our question is here, the dynamic question is passed on here. Let me close this and you see these three hands here. So I'm first connecting the chat model, which may be GPT or Claude. In our case,
I am connecting Claude by Anthropic. So once you click on this plus, you just keep typing this and you will see something like this chat model. So this will make sure that you are connected and from here you can choose
which is the model that you want to use for your use case. So currently I am using Sonnet five and I'm closing this window. Now let me go back to this AI agent again and there is one option called
again and there is one option called enable fallback model. So enable it. Once you enable it, you see this pop up. It says connect an additional LLM model. Let me close this back and another option pops up, fallback
model. Right? So let me click here Right? So let me click here and for fallback I can use another Anthropic or not Anthropic, but I'm using Grok here.
&gt;&gt; So I will explain what Grok is. Grok is a free platform which allows you to use open weight model. So in the model dropdown here you are seeing Lama, You can choose any of these models, okay? So it's a free platform where you
can access any open weight models. &gt;&gt; So in our case, I am using this GPT OSS 20B because I tested it and it worked well in comparison with other models.
So I'm closing this down and similarly I'll explain more tool here. So, this is memory. So, if I just click here, it says simple memory. So, what is happening here is
in Slack, there are multiple conversations happening, and if I tell my AI agent, my brain that, okay, this is the question that you need to answer, it should have some context of what is happening. What is what was the
conversation that is happening there? Based on that, it can answer better. So, for that, AnyTen gives us this option that stores in AnyTen memory. So, now no credentials required. Simply clicking on that,
it will open me a pop-up like this. So, it has two, three options here. The first one is session ID. Session ID again is nothing but it should understand this question is
should understand this question is coming from which particular thread which is coming from the session ID. So, I am choosing this drop-down. Again, I am using this define below because I want to define what is my session ID.
And this is coming from, if you see, it says when called. Again, it connects back to everything here. This is the previous node. Right? So, I am opening my simple memory again,
again, dragging and dropping this key here. So, now it knows which is the thread you are talking to me about. So, it understands. And the second is context window length. So, the thread which is
opened inside Slack, let's suppose this. So, now it has two questions, right? So, you can select here how many latest questions it should get the context
about before answering anything. So, let me go inside this and context window. I have kept it five, but you can keep it as long as you want, like 10, 15. It will take few more seconds to get the answer, but this will get the job done.
So, let me close it down. So, similarly, you can add more tools here, maybe querying our database or web search, things like that. And this will finally this is the what our final AI agent will
look like. If you see same chat models we have added, the backup model, the memory. These are the three steps which you will be easily able to do once you follow the guide that is given, right?
that is given, right? And finally, after all this information, LLM. So I know this must have felt little bit overwhelming, little bit boring, but we
don't have to do it manually all the time and even I don't do it manually. So we have ways I'm going to show you that which is coming up next. But you definitely need to know what is happening. So once if just in case if
something breaks, you should know what is happening inside these nodes. Okay, so folks, now let's move on to some of the features that I want to show you done here. So out of all this workflows, I want to
show this workflow number. So this one, the Monday brief for leadership. So as the name suggests, it's a brief for leadership. So my idea behind this was sometimes leadership doesn't have all the time in the world to
understand what happened and they want a quick summary of this. So I just created this quick workflow for that. You don't need to understand this completely. You will get this. You can import this and you will get it. But let me show you in
action what it is doing. So currently you see this has two triggers, the one that we are setting always before the workflow. One says runs at 9:00 a.m. Another is click and run now.
Another is click and run now. So I am running this one right now to and this is the button which you can run. So see how in action it runs. This flows from this, from this. This is information flows. This is how workflows
happen in AnyTen. See, these green line, green ticks, So finally it posted something to the leadership channel. Let me open and show you what happened.
See, got this brief headline, sales target, gap, decisions, and what is the question for the team? So open issues and everything. So it
kinds of summarize everything very fast like what is happening inside the company, what are the things and specifically leadership only can use it. So it's helpful and it is one of the workflows that we are going to do here.
now one more exciting thing I want to show you. Now imagine a scenario a CEO level person, he may not open Slack all the time or may not even have the time to read
So what? How this person is going to get all the information if they want to get So there AnyTen gives us the possibility to
connect us directly with Claude. I'm opening Claude for you. So this is claude.ai, right? So here you can directly ask questions
and the same way our brain inside AnyTen was answering questions. Whenever somebody is asking in Slack, the CEO gets this liberty to in Slack, the CEO gets this liberty to directly ask here and get the answers.
How this is happening? It's just one simple thing, MCP. I will show you the setup very fast. We can do it very fast. Before that, let me just show you the demo how it is happening. So let's imagine
Use Etlic Brain the tool and what did we agree with Chroma in July? So I am just running it as it is. asking. Great. So you see we got the answer
here. Here is what And it is giving me that this was the the window, exchange, everything. And it also showing me the sources like where was this document named. So this is how they can directly get
inside Claude and gets the answer. And there is one more way to see it. Currently what is happening is that Claude is using Claude AI is using any 10 to get the answers.
But what any 10 works in a way is any 10 can also call another tools and get answers. How? Let me show you with another &gt;&gt; But before before we go there, Aditya, can you show me
can you show me how did Claude do this? Is is it like a happen? &gt;&gt; I know this is very curiosity based and you are very excited to know this. But when I will really
tell you how this was possible, you will be like, oh, just one click. This is how &gt;&gt; Okay. Good. So you're going to show me, right? How it worked. Okay, perfect. &gt;&gt; So I just showed you how Claude is using any 10 here to get
answers back. But do you know that any 10 can directly get the answers from outside also, not just these documents, but from outside, like literal outside.
So let me just go back to the Slack. &gt;&gt; When you say outside, what do you mean? Internet? &gt;&gt; So yes, we have not shown any example where we are actually using internet. So that is what we are
going to cover here right now. So let me just open this and maybe ask this question. So if you carefully read this question, Chroma said our gaming laptops look expensive next to online prices.
Now this is a information that our company documents or our Slack doesn't &gt;&gt; So now if you &gt;&gt; are thinking that we are going to use
this answer, no. We are sending this to any 10 and any 10 is going to get this answer for us. Let me send this first. I have sent this. &gt;&gt; search internet and it will find out the
what is it? What are the mid-range gaming laptops? So it will find out the &gt;&gt; laptop prices online, latest prices, right? Because if you're reading just pre-trained knowledge which might be outdated.
But here Slack is sending message to any 10. Any 10 has that 10. Any 10 has that T V L that tool connected for web search prices, correct? &gt;&gt; Exactly. The brain that we just built is
now getting into action. So here that the brain that we were talking about, here you see it has one tool called web research. So this is coming into action and this is going to fetch the answer for us. So
we have got the answer. Let me show the answer first. So it along with the resources, it is giving you the answers giving you the answers from where I am getting these answers.
This is the price. These are some of the samples along with the links. now let me go back to this and show you what happened here. So if you come to the homepage and click
what this button will do it, it will show everything that is currently Any workflow that is running for you or has run in the past. So if I click here,
has run in the past. So if I click here, see it just ran. Let me open this and it will show me what happened just now. So this is the brain and see this our brain used this tool. Let me open this. So using this T V L
Let me open this. So using this T V L search, T V L is nothing but just a tool that allows or give the power to go to the internet and search Google or any fresh information that you want to search. So that is the response from
we are getting and we are getting it back here in Slack. So this is a two-way MCP kind of thing that is given by 10 for us that works. How I am saying it is two-way is that 10 can
am saying it is two-way is that 10 can use another MCP which was in case and it can also allow Claude to use is an MCP to get the answers back to the Claude. Okay, so now if you are wondering how this happened, like how
this was able to answer and connect with Claude so smoothly, show you. Along with that, this is going to cover one more and throughout whatever we have done so far,
I'm going to show you my favorite part now. So this question and answer that you have seen in leadership and everything, all these workflows that you saw and the boring part of the brain that you built.
Imagine you can do it directly just by saying. Just like how we get this answer, we are going to do it quickly. and just open this one.
and I have this customize option here. So here you see all the connectors that allows you to connect with multiple apps available there. So if you just search here
you can directly click on this connect button. What it will do is it will fetch your active 10 session whichever is logged in. So if you are not logged in, it will ask you for
username, password and then it is asking you that I want to connect with your 10 How much permission you want to give? So for now, I am giving all the permissions and I am clicking on this one. So again, this is happening through MCP.
There are manual ways to do it, but anyten has made it so easier that with single click you can do it and now I'm clicking on allow access. So soon it will find and connect and you will see something called connected here
in the connectors tab. So now you see this says connected right? So now what is the magic that I was going to talk to you about my favorite part? So imagine the workflows that we were
building. You can directly create whatever you can think. So let me just copy something and paste here. So just in my anyten build a new workflow, name it W4C Friday
grab report. You can name it anything and I'm telling all the things that I'm able to think every Friday 4:00 p.m. read last 7 days postgres table unanswered questions, give me a summary this then but don't publish it, don't
make it live. I want to review it so don't publish it and I am just sending it. So now what will happen? Let's see. It is loading some tools. Okay, so we have got the final output. Let's see. It says
the workflow is built and saved as an unpublished draft in your personal project and you can open it in anyten and it says it has four steps this this this. You can read it but let me just
directly go to anyten and just refresh it. I'm going to workflows. So it also named it by Claude. It is Okay. &gt;&gt; Author is Claude.
&gt;&gt; And it also shows that this is available in MCP because we used to made it. So let me open it. Okay, so it has added notes and everything.
&gt;&gt; Okay, if you see the it made it so clean that it has a dropdown and everything not like our notes that it has workflow and it has proper nodes and everything that this is
section section section. So it made the complete workflow. There is a possibility that it may not work as expected, but what you can do, you can just open it out and simply change things if you want
out and simply change things if you want to. But I want to just give it a try and let me just run it directly and see what happens. So it says permission denied for table unanswered questions. So here is the
part where you need to see some credentials issues or something like that. So it has read only. So let me change this to this one and execute again. Perfect. It ran.
that you might need to change. For example, wrong channel or something. You can just come here, verify and see and change it or you can directly go to Cloud again and tell that hey, this is not working. You need to find me some
&gt;&gt; So &gt;&gt; Just like vibe coding, this seems like vibe workflowing, you know. You are creating workflows through AI, you need to have knowledge of internals so that if there are little
issues like like the one you fixed, you can fix it, you can verify the workflow. When a person is doing vibe coding, if you are a programmer, AI will write code, but as a programmer, you will review it.
AI is creating all these nodes and workflows, but the person who is knowledgeable in NA 10 will review and validate it. &gt;&gt; And you can go through all this that how information is flowing and let me go to
leadership and see if something actually got posted. Yes. So it says weekly question gap report from this to this. No questions were logged in in the last seven days. So as per my workflow and my
requirement, this is the right answer because there were no empty questions and whatever the prompt I asked was something that if there is some question somebody has asked, which were not answered by our bot, please let us know.
this. Otherwise it would have answered that missed. Right? So this was just one of the very small thing that you can create. Just imagine like if you can think about it,
you can create as long workflows as you want and as much as you want and very quickly. You just need to review it, be aware about the things, fix it and you are good to go. So this is all about our AI agent.
So this is all about our AI agent. &gt;&gt; Day 14. Tony and Peter walk into Bruce's cabin with a laptop. Tony keeps it simple. Ask it the board's question. So Bruce types it in. What did we agree
with Chroma in July and was it worth it? Seconds later the decision who approved it, what it did to sales and three sources to prove it.
Peter can't help himself. When it doesn't know something, it asks the right person and remembers. Interns can't see the margins and when someone resigns, it interviews them before their last day.
Bruce leans back and the green drains from his face. Two weeks ago I walked into that boardroom with excuses. Next quarter I walk in with this. Tony just smiles and that's only part
Tony just smiles and that's only part one. downloading the PDF guide from the video description and building this second
brain end to end. I know there are a lot of steps, but as we have talked about it of steps, but as we have talked about it earlier, greatness comes from humbleness and grunt work. So by following all the steps and by building this project, you
will have an amazing project in your portfolio that you can use during your interview and it is going to give you a significant boost, okay, and significant weight in your profile. If you have any questions, post in the comment box
questions, post in the comment box below. Thank you for watching.
