Updated . Built against the tool’s current screens and checked step by step. How we check this lesson
A new hire's first day sets the tone. When the laptop isn't ready or nobody has named a buddy, they spend day one waiting, and the warnings were there all along, scattered across messages from IT, managers and the new hire. In this free, interactive lesson you build an AI agent in n8n that turns a week of onboarding updates into one row per item in a Google Sheet: done, waiting or unclear, who owns the next step, and what to chase. It never logs bank, ID or medical details.
At a glance
| Question | Answer |
|---|---|
| What you build | Build an AI agent in n8n for Fernway Logistics that turns scattered onboarding updates from IT, managers and new hires into one row per item in Google Sheets, with the status, who owns it and the next step, and never logs bank or ID details. Chat trigger, AI Agent, system prompt, model, memory and the Sheets tool. |
| Tools | n8n |
| Time | About 12 minutes, 72 steps in 12 parts |
| Level | Intermediate |
| Cost | Free |
| Ways to learn it | Practice it step by step, read the guide with screenshots |
The 12 parts, in short
- Get n8n: Go to n8n.io, Enter your email, Sign up.
- API key: Add credit first, Ten dollars is plenty, Now the key, Create a secret key, and 4 more steps.
- New workflow: Start a new workflow.
- Chat trigger: Add the first step, Trigger on a chat message, Back to the canvas.
- AI Agent: Add the next node, Open the AI nodes, Add the AI Agent.
- System prompt: Open the options, Add a system message, Write the system prompt, Back to the canvas.
- Chat model: Give the agent a brain, Pick OpenAI, Open the credentials, Create a new credential, and 5 more steps.
- Memory: Add memory, Simple Memory, Back to the canvas.
- Sheets tool: Add a tool, Search for Sheets, Add Google Sheets.
- Create the spreadsheet: Back to the canvas, Open Google Sheets, Name the spreadsheet, Type the first column header, and 6 more steps.
- Configure Sheets: Add a credential, Create a new credential, Sign in with Google, Choose your account, and 16 more steps.
- Test the agent: Open the chat, Paste this week's updates, Send the message, Save to the sheet, and 1 more step.
Start here first: n8n AI Agent Tutorial: Save Social Media Ideas to Google Sheets. This Recruiting & HR version follows the same build with its own example business, Fernway Logistics.
Part of: AI for Recruiting & HR (step 17 of 19)
How to build an n8n AI Agent That Tracks Every New Hire's Onboarding: step-by-step guide with screenshots
About the screenshots. They come from Stepthrough’s simulated practice environment (a practice copy of n8n), not the live tool, so no real account appears. The buttons and labels match the real screens the lesson was built against. Practice it yourself free at learn.ynteractive.com.
- Tools: n8n
- Time: about 12 minutes, 72 steps in 12 parts
- Level: intermediate
Part 1: Get n8n
Step 1: Go to n8n.io
A new hire's first day sets the tone. When the laptop isn't ready or nobody knows who their buddy is, they spend day one waiting. The warnings were there, scattered across messages from IT, managers and the new hire. We are going to build an AI agent that tracks every onboarding item in a spreadsheet for you. First, you need an n8n account.

Step 2: Enter your email
This is just practice, so anything works — it won't actually send anything.

Step 3: Sign up
In the real n8n, it sends you a six digit code, then asks for a name, a password, and an account name. Go do that in your own browser later, then come back and we will build.

Part 2: API key
Step 4: Add credit first
Your agent needs a brain, and that means an API key from OpenAI. Go to platform dot openai dot com — that is the developer side, not ChatGPT, and it bills completely separately. Before you make a key, put some money on the account. A brand new key with a zero balance just returns errors. If you would rather not spend anything yet, n8n gives every new account free credits. In your own n8n, you can pick gateway credits on the model step and skip the key.

Step 5: Ten dollars is plenty
A little credit goes a very long way. You are charged per request, not per month, and logging a week of onboarding updates costs fractions of a cent.

Step 6: Now the key
Balance sorted. Now go to API keys in the left menu.

Step 7: Create a secret key

Step 8: Name the key
Name it after whatever is going to use it. Future you, staring at a list of forty keys, will thank you. I am calling this one n8n agent.

Step 9: Create it
Default project, all permissions — that is fine for this. Create the key.

Step 10: Copy it now
Now pay attention, because this is the only time you will ever see this key. Copy it and paste it into n8n, or into your password manager. If you lose it, you do not get it back — you delete it and make another.

Step 11: Back to n8n
One last warning — this key can spend your money. Never commit it to code, never paste it into a chat, and if it ever shows up on screen while you are recording, revoke it before you publish.

Part 3: New workflow
Step 12: Start a new workflow
Now you are inside n8n. This overview page lists every workflow you have. Top right, click create workflow, and you land on an empty canvas.

Part 4: Chat trigger
Step 13: Add the first step
Every workflow needs a trigger — the thing that kicks it off. We want a chat trigger so you can paste in the week's onboarding updates.

Step 14: Trigger on a chat message
A panel slides in with every way a workflow can start — manually, on a schedule, on a webhook. We want on chat message, so we can have a conversation with the agent.

Step 15: Back to the canvas
n8n opens the node so you can configure it. There is nothing we need to change here, so close it with the X in the top right and get back to the canvas.

Part 5: AI Agent
Step 16: Add the next node
Now we decide what happens when a message comes in.

Step 17: Open the AI nodes
A panel opens and asks what happens next. The agent lives under AI, right at the top.

Step 18: Add the AI Agent
There it is — AI Agent. This is the piece that can plan and then carry out actions using whatever tools you give it. You give it the updates, and it can sort each item and save it to a spreadsheet — all in one step.

Part 6: System prompt
Step 19: Open the options
Right now this agent has no personality and no orders. It does not know it works for Fernway Logistics, or what an onboarding entry looks like.

Step 20: Add a system message
Pick system message. This is the standing instruction the agent reads before every request. It is where we tell it who Fernway is, how to log an onboarding item, and what it must never do.

Step 21: Write the system prompt
Here is the actual prompt. It tells the agent what each entry needs: the new hire, the item, a status of done, waiting or unclear, who owns the next step, and the follow-up. A new hire with no updates gets marked unclear. And the rule that matters most: never record bank details, ID numbers or medical details. Only whether something was received.

You are the onboarding tracker assistant for Fernway Logistics. Fernway Logistics is a mid-size distribution company. Its HR team onboards a few new hires every week, and every new hire needs the same items ready before day one: a signed offer letter, equipment, system access, a first-week buddy and their new-hire paperwork. The audience is the HR coordinator, who reads every entry and chases what is still open. The tone should be plain, brief and factual. Your job is to turn each onboarding update the user gives you into one entry per item. For each item, return: - New hire (name and role) - Item (like Offer letter, Laptop, System access, First-week buddy, New-hire paperwork, Direct deposit) - Status: Done, Waiting, or Unclear - Owner: who needs to act next (IT, the hiring manager, HR, Payroll, or the new hire) - Follow-up: one sentence on what the HR coordinator should do next, or "None needed" If an update is vague, or a new hire has no updates at all, use Unclear and say what to check. When the user asks you to save the entries, use the Google Sheets tool to store each one. Record only what the updates say. Never record bank details, ID numbers, Social Security numbers, dates of birth, or medical or immigration document details: write only whether something was received. Do not give legal advice about hiring paperwork or benefits.
Step 22: Back to the canvas
That gives the agent everything it needs to know about tracking onboarding for Fernway. Close the node.

Part 7: Chat model
Step 23: Give the agent a brain
See that red triangle on the agent? It is complaining because it has no model. An agent can plan, but it cannot think without a language model underneath it.

Step 24: Pick OpenAI
OpenAI chat model. This is where that API key finally gets used.

Step 25: Open the credentials
And here is where that key you copied finally goes.

Step 26: Create a new credential
You want create new credential, right at the bottom. In your own n8n, if you skipped the key, you would pick gateway credits here instead.

Step 27: Paste the key
This is the one moment it matters that you copied it — remember, OpenAI never shows it to you again.

Step 28: Save the credential
n8n tests the connection straight away, and from now on this credential is available to every node in every workflow — you only do this once.

Step 29: Open the model list
Now the model dropdown.

Step 30: Choose the model
GPT five mini. Fast, cheap, and plenty for sorting onboarding updates. Do not reach for the expensive model until you have a reason.

Step 31: Back to the canvas
That is the brain wired in. Close it up.

Part 8: Memory
Step 32: Add memory
Next, memory. Without this, every message starts from nothing — you could not say save those, because it would not remember which items you meant.

Step 33: Simple Memory
Simple memory is fine here — it keeps the recent conversation inside n8n, no database, no extra credentials.

Step 34: Back to the canvas
n8n opens simple memory so you can set it up. The defaults are fine. It keeps the last five messages. Close it with the X.

Part 9: Sheets tool
Step 35: Add a tool
And now the good part — tools. This is what separates an agent from a chatbot. A chatbot just talks. An agent does things. We are going to give it Google Sheets so it can save every item into a tracker your HR team can work from.

Step 36: Search for Sheets
Google Sheets is not in the recommended tools, so search for it.

Step 37: Add Google Sheets
Google Sheets tool. Now the agent can write rows into a real spreadsheet, with columns matching what the system prompt tells it to return. When you say save those, each onboarding item becomes a row.

Part 10: Create the spreadsheet
Step 38: Back to the canvas
Before we set this up, we need to actually create the spreadsheet. Close this node for now — we are going to hop over to Google Sheets and make one.

Step 39: Open Google Sheets
Switch to Google Sheets. You need to create the spreadsheet that this node will write to.

Step 40: Name the spreadsheet
First, name it so you can find it later.

Step 41: Type the first column header
Now set up the column headers. These need to match what the system prompt tells the agent to return. In A1, type New hire.

Step 42: Item
B1 — Item.

Step 43: Status
C1 — Status.

Step 44: Owner
D1 — Owner.

Step 45: Follow-up
And E1 — Follow-up. Five columns, matching exactly what the system prompt tells the agent to return. Each onboarding item becomes a row in this sheet.

Step 46: Back to n8n
The spreadsheet is ready. Switch back to n8n and connect the Google Sheets node to it.

Step 47: Open the Sheets node
Double click the Google Sheets node to open it back up. Now we can connect it to the spreadsheet we just made.

Part 11: Configure Sheets
Step 48: Add a credential
Now we need to connect this to a real Google account.

Step 49: Create a new credential
Create new credential — this one uses Google OAuth instead of an API key, so it is going to open a sign-in window.

Step 50: Sign in with Google
This opens the Google account chooser so you can pick which account to connect.

Step 51: Choose your account
Pick the Google account you want n8n to use. This is the account that owns the spreadsheet.

Step 52: Allow Sheets access
Google is asking what n8n is allowed to do. Check the first box — this lets n8n read and write your spreadsheets.

Step 53: Allow Drive access
Second box — n8n needs Drive access so it can find your spreadsheets by name.

Step 54: Allow external service
Last one — this lets Google connect to n8n as an external service. Check it.

Step 55: Sign in
All three checked.

Step 56: Pick the operation
Now we tell the node what to do. By default it reads rows, but we want to add rows.

Step 57: Append Row
Append row. Every onboarding item the agent logs gets added as a new row at the bottom of the sheet.

Step 58: Choose the spreadsheet
Now pick the spreadsheet.

Step 59: Onboarding Tracker
Onboarding Tracker — the sheet we set up with columns for the new hire, the item, the status, the owner, and the follow-up.

Step 60: Pick the sheet tab
Now pick which tab inside that spreadsheet.

Step 61: Sheet1
Sheet one — it is the only tab, so this is simple.

Step 62: Map the New hire column
Now the columns. Each column has a purple button — click it and the AI agent figures out what data goes there.

Step 63: Map the Item column
Item. Same thing — click the purple button.

Step 64: Map the Status column
Status.

Step 65: Map the Owner column
Owner.

Step 66: Map the Follow-up column
And follow-up. Each one is now set to defined automatically by the model — the agent reads your column headers and figures out what goes where.

Step 67: Back to the canvas
The sheets tool is fully wired up — credential, operation, spreadsheet, sheet, and column mapping. Close it and let us test this thing.

Part 12: Test the agent
Step 68: Open the chat
Everything is connected. Time to see if it works.

Step 69: Paste this week's updates
Give it this week's updates the way they actually arrive: a note from IT, an email from a new hire, and one new hire nobody has said anything about.

Log these onboarding updates for Monday's starts. Priya Nair (Payroll Analyst): IT says her laptop is set up and ready. Her manager hasn't picked a first-week buddy yet. Tom Becker (Warehouse Supervisor): he emailed to ask whether he can bring his new-hire paperwork documents on day one, and he put his bank details for direct deposit in the body of the email. Lena Ortiz (Customer Success Rep): nothing from anyone yet.
Step 70: Send the message
Send it off. The agent reads your system prompt and turns each update into one entry, with a status, the person who owns the next step, and the follow-up.

Step 71: Save to the sheet
Five items. One is done, and three need you before Monday. Notice what it did with Tom's bank details: it didn't repeat them. It asks him to use the payroll form instead. And Lena, with no updates at all, is flagged, not forgotten. Now tell it to save them. This is where the Google Sheets tool kicks in.

Step 72: Send it
Send it. The agent uses the Google Sheets tool to write each item as a row — new hire, item, status, owner, and follow-up.

Part of these free courses: AI for Recruiting & HR
Now do it yourself, free
Reading the steps is a start. Doing them is how it sticks. The interactive lesson puts you in a practice copy of n8n: you do every step yourself, it checks your work, and “Do it for me” finishes any step you get stuck on. Nothing touches your real accounts.
Practice “Build an n8n AI Agent That Tracks Every New Hire's Onboarding” step by stepThe example: three new hires starting Monday
Fernway Logistics is a made-up distribution company, and its three new hires are made up too. IT says Priya Nair's laptop is ready, but her manager hasn't picked a first-week buddy. Tom Becker asks whether he can bring his new-hire paperwork documents on day one, and puts his bank details for direct deposit in the body of his email. Nobody has said anything about Lena Ortiz.
The agent turns that into five entries: the laptop is Done, the buddy is Waiting on the hiring manager, Tom's paperwork question is Waiting on HR, direct deposit is Unclear with a note to use the payroll form (the bank details are not logged), and Lena gets an Unclear row with what to check today. Then it saves all five to the Onboarding Tracker sheet.
Who this lesson is for
HR coordinators, HR generalists, people-ops teams and office managers who onboard new hires every week or month. You don't need to code: you click through n8n's editor, paste a system prompt and map five columns. The practice copy needs no n8n, OpenAI or Google account.
It is part of the AI for Recruiting & HR course.
Keep personal details out of the sheet
New hires send bank details, ID scans and benefits questions by email. The system prompt says never record bank details, ID numbers, Social Security numbers, dates of birth, or medical or immigration document details, only whether something was received. It also says no legal advice about hiring paperwork or benefits: the agent tells you to reply with your company's steps.
Even so, paste only what the tracker needs. Follow your company's rules on personal data and new-hire paperwork.
Why an agent and not just a chat
- A fixed status list (Done, Waiting, Unclear) and an Owner column make the sheet quick to filter and chase.
- A new hire with no updates gets a row, so silence doesn't hide a bad first day.
- Memory lets you say "save those" after it sorts the updates.
- The Google Sheets tool writes the rows itself, so the tracker fills in without copying and pasting.
Try it yourself, free
Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of n8n, checks each step, and never touches your real accounts.
Start “Build an n8n AI Agent That Tracks Every New Hire's Onboarding”Frequently asked questions
- Can an AI agent track new-hire onboarding?
- Yes. In the lesson an n8n AI agent turns pasted onboarding updates into one entry per item (new hire, item, status, owner, follow-up) and saves each one as a row in Google Sheets. HR reads every row and chases the open items.
- What happens if a new hire sends bank details by email?
- The agent does not log them. The system prompt says never record bank details or ID numbers; the row says to ask the new hire to use your payroll system's form instead.
- What do I need to build it for real?
- An n8n account (the cloud trial or self-hosted), an OpenAI API key with a little credit, and a Google account for the sheet. Logging a week of updates costs fractions of a cent.
- Does it give advice on hiring paperwork rules?
- No. The prompt says no legal advice about hiring paperwork or benefits. Reply with your company's own steps.
- Is this lesson free?
- Yes. Stepthrough is completely free and the practice copy needs no accounts.
More in AI Automation for Recruiting & HR
All 10 modules in AI Automation for Recruiting & HR
More n8n tutorials
Lovable + n8n: Build a Web App with an AI BackendBuild a contact form in Lovable and connect it to an n8n workflow — webhook trigger, AI Agent, Google Sheets, Gmail, and a Respond node that ties it all together.
Free · Live ~15 min Advanced
AI Receipt Extractor: Receipts to Google Sheets with n8nDrop a photo of a receipt into an n8n chat. An AI agent reads it, pulls out the date, vendor and amount, picks a category, and adds a row to Google Sheets.
Free · Live ~12 min Intermediate
n8n AI Email Responder: Draft Gmail Replies AutomaticallyBuild an n8n agent that watches your Gmail, reads each new customer email, and writes a reply as a draft in the same thread, ready for you to check and send.
Free · Live ~12 min Intermediate
Daily Job Alerts: Email Each Tech Their Jobs from Google Sheets with n8nEvery morning at 7, n8n reads a plumbing company's jobs sheet, skips anything not assigned yet, and emails each job to the tech it's assigned to — customer, address…
Free · Live ~10 min Intermediate
Gmail AI Triage: Auto-Label Every Email and Draft RepliesBuild an n8n workflow that reads each new email, sorts it as a lead, a client or an invoice with a Text Classifier, adds the matching Gmail label, and drafts a reply to…
Free · Live ~18 min Advanced
A Support Agent That Answers from Your Own DocsTurn an n8n chat agent into a support agent that answers only from your policies in a Google Doc, refuses what it should, and hands off to a person by email.
Free · Live ~13 min Advanced
From the blog
Plain answers about building an n8n AI agent that logs new-hire onboarding items in Google Sheets: the columns, the prompt, privacy and cost.
Oct 21, 2026 6 min read
✎n8n Onboarding Tracker Agent: 9 Mistakes to AvoidMistakes that break an n8n onboarding tracker agent, from pasting bank details to mismatched column headers and the wrong Sheets operation.
Oct 21, 2026 6 min read
Visual guides
This lesson’s key ideas as quick visual guides: swipe through the slides, or read the same guide as text.
Build your first AI agent in n8nChatGPT answers. An agent does something with the answer.
Quote from a lesson One graphic
5 Steps to an n8n AI Agent That Saves to Google SheetsA visual guide: build an n8n AI agent that writes social media ideas and saves each one as a Google Sheets row, in 5 steps from the free lesson.
Step-by-step guide 7 slides
Myth: An AI Model Looks Things Up Before It AnswersMyth vs fact: by default a large language model answers from its training plus your prompt. Web search or file lookup is a separate step.
Myth vs fact One graphic
Free cheat sheets
Print it or save the PDF: the key steps and checks from this lesson on one page, free.
n8n AI Agent to Google Sheets Cheat SheetA free one-page cheat sheet for an n8n AI agent: chat trigger, AI Agent, system message, OpenAI model, Simple Memory and a Google Sheets tool.
Lesson cheat sheet Free PDF
Lovable + n8n Form Flow Cheat SheetA free one-page cheat sheet: a Lovable form posts to an n8n webhook, and an AI Agent logs it in Google Sheets and replies by Gmail.
Lesson cheat sheet Free PDF
AI Glossary Cheat Sheet: 30 Terms in Plain EnglishA free one-page cheat sheet of 30 AI and automation terms in plain English: models, prompts, n8n workflows, apps and data.
Topic cheat sheet Free PDF
All free printable cheat sheets
Terms in this lesson
Plain-English definitions, each with an example from a free lesson.
Related prompts
- Case study interview questions prompt: Plan a client interview that gets a case study's before, during and after story in their own words, with follow-up probes and…
- Email subject lines prompt: Get ten honest subject lines for a finished email, each with preview text and a character count, grouped by approach so you can…
- SEO meta description prompt: Write short search-result descriptions for your web pages: what the page offers, who it is for and one reason to click, inside…
- Social post ideas prompt: A four-part ChatGPT prompt for social post ideas built on your services and real customer questions: platform, hook and call to…
