▶ Stepthrough All tutorials Blog Glossary Prompts Videos Visual guides Cheat sheets Comparisons Start Learning Free

Build an AI Customer Follow-Up Agent for Plumbers: video walkthrough

Updated

Build an AI agent for Blue Maple Plumbing that writes personalized follow-up messages after service calls and tracks them in Google Sheets — chat trigger, AI Agent, system prompt, model, memory, and the Sheets tool. The whole lesson in 8:22, narrated step by step.

Simulated practice environment. Recorded in Stepthrough’s simulated practice environment, not the live tool. Practice it yourself free at learn.ynteractive.com.

8:22 · 12 chapters · 69 steps · narrated with the lesson’s own voice-over

Chapters

Click a chapter to jump the video there.

  1. 0:00 Intro: what you'll build
  2. 0:11 Get n8n
  3. 0:46 API key
  4. 1:57 Chat trigger
  5. 2:30 AI Agent
  6. 2:47 System prompt
  7. 3:31 Chat model
  8. 4:19 Memory
  9. 4:36 Sheets tool
  10. 5:09 Create the spreadsheet
  11. 5:59 Configure Sheets
  12. 7:40 Test the agent

Now do it yourself, free

Watching is the warm-up. 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 AI Customer Follow-Up Agent for Plumbers” step by step

Full transcript

Intro: what you'll build

0:00 Now we automate. You'll build an AI agent in n8n for Blue Maple Plumbing. It writes a follow-up after every service call and saves each one to Google Sheets. Let's build it.

Get n8n

0:10 In the last lesson you built a Custom GPT that writes plumbing quotes in your company voice. That is great for one person. But what if you want the AI to write follow-ups after every service call, save them to a spreadsheet, and let your whole office track them? That is what we are building now. First, you need an n8n account. Click get started free.

0:30 Type an email address. This is just practice, so anything works — it won't actually send anything.

0:36 Now click continue. 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.

API key

0:46 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. Click add to credit balance.

1:04 Ten dollars goes a very long way. You are charged per request, not per month, and writing follow-up messages costs fractions of a cent per request. Click continue — in your own account it asks for a card at this point.

1:16 Balance sorted. Now go to API keys in the left menu.

1:19 Click create new secret key.

1:21 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.

1:29 Default project, all permissions — that is fine for this. Create the key.

1:33 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.

1:45 Click done. 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.

Chat trigger

1:57 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.

2:04 Every workflow needs a trigger — the thing that kicks it off. We want a chat trigger so you can talk to the agent and ask it for follow-up messages. Click add first step.

2:13 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.

2:22 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.

AI Agent

2:30 Now we decide what happens when a message comes in. Click the plus on the right edge of the trigger.

2:35 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 day's service calls, and it can write the follow-ups and save them to a spreadsheet — all in one step.

System prompt

2:46 Right now this agent has no personality and no orders. It does not know it works for Blue Maple Plumbing. Scroll down to options and click add option.

2:54 Pick system message. This is the standing instruction — the thing the agent reads before every single request. It is where we tell it who Blue Maple Plumbing is, how the messages should sound, and how to format each follow-up.

3:06 Here is the actual prompt. It describes Blue Maple Plumbing and its services, says who the customers are, sets the tone, and spells out the format to return: customer, service, follow-up message, next step, and status. It also tells the agent to use the Google Sheets tool when you ask it to save the messages. Click paste system prompt.

3:26 That gives the agent everything it needs to know about Blue Maple Plumbing. Close the node.

Chat model

3:30 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. Click the plus under chat model.

3:40 OpenAI chat model. This is where that API key finally gets used.

3:44 And here is where that key you copied finally goes. Click the credential dropdown.

3:48 You want create new credential, right at the bottom.

3:51 Paste the key straight in. This is the one moment it matters that you copied it — remember, OpenAI never shows it to you again.

3:58 Hit save. 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.

4:07 Now the model dropdown.

4:09 GPT five mini. Fast, cheap, and plenty for writing follow-up messages. Do not reach for the expensive model until you have a reason.

4:16 That is the brain wired in. Close it up.

Memory

4:19 Next, memory. Without this, every message starts from nothing — you could not say save those messages to the sheet, because it would not remember what messages you were talking about. Click the plus under memory.

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

Sheets tool

4:36 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 access to Google Sheets so it can save every follow-up directly into a spreadsheet your office can track. Click the plus under tool.

4:51 Google Sheets tool. Now the agent can write rows into a real spreadsheet. You would point it at a sheet with columns for customer, service, follow-up message, next step, and status — matching exactly what the system prompt tells it to generate. When you say save those messages, the agent writes each one as a row.

Create the spreadsheet

5:09 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.

5:16 Switch to Google Sheets. You need to create the spreadsheet that this node will write to.

5:20 First, name it so you can find it later. Click the title up top, where it says Untitled spreadsheet, and type Customer Follow-Ups.

5:27 Now set up the column headers. These need to match what the system prompt tells the agent to generate. In A1, type Customer.

5:34 B1 — Service.

5:36 Cell C1 — Follow-Up Message.

5:38 D1 — Next Step.

5:40 And E1 — Status. Five columns, matching exactly what the system prompt tells the agent to generate. When the agent saves follow-ups, each one becomes a row in this sheet.

5:49 The spreadsheet is ready. Switch back to n8n and connect the Google Sheets node to it.

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

Configure Sheets

5:59 Now we need to connect this to a real Google account. Click the credential dropdown.

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

6:11 Click sign in with Google. This opens the Google account chooser so you can pick which account to connect.

6:16 Pick the Google account you want n8n to use. This is the account that owns the spreadsheet.

6:21 Google is asking what n8n is allowed to do. Check the first box — this lets n8n read and write your spreadsheets.

6:28 Second box — n8n needs Drive access so it can find your spreadsheets by name.

6:33 Last one — this lets Google connect to n8n as an external service. Check it.

6:38 All three checked. Click continue and Google hands the credential back to n8n.

6:42 Now we tell the node what to do. By default it reads rows, but we want to add rows. Click the operation dropdown.

6:49 Append row. Every time the agent writes a follow-up, it adds a new row to the bottom of the sheet.

6:53 Now pick the spreadsheet. Click the document dropdown.

6:56 Customer Follow-Ups — that is the sheet we set up with columns for customer, service, follow-up message, next step, and status.

7:04 Now pick which tab inside that spreadsheet. Click the sheet dropdown.

7:08 Sheet one — it is the only tab, so this is simple.

7:11 Now the columns. Each column has a purple button — click it and the AI agent figures out what data goes there. Click the purple button next to Customer.

7:18 Service. Same thing — click the purple button.

7:21 Follow-Up Message.

7:22 Next Step.

7:24 And status. Each one is now set to defined automatically by the model — the agent reads your column headers and figures out what goes where.

7:31 The sheets tool is fully wired up — credential, operation, spreadsheet, sheet, and column mapping. Close it and let us test this thing.

Test the agent

7:39 Everything is connected. Time to see if it works. Click open chat at the bottom of the canvas.

7:44 Give it today's service calls. Type this prompt and see what comes back.

7:47 Send it off. The agent reads your system prompt, thinks about Blue Maple Plumbing, and writes three follow-ups with the exact format you asked for.

7:55 It came back with three personal follow-ups — the water heater, the drain, and the sump pump — each with a care tip and a next step. Now tell it to save them to the sheet. This is where the Google Sheets tool kicks in.

8:05 Send it. The agent uses the Google Sheets tool to write each follow-up as a row — customer, service, message, next step, status — exactly like the system prompt told it to.

8:16 Simple as that. We show you and you do it. Sign up below to learn AI automation for free.

Read the step-by-step guide with screenshots · Build an AI Customer Follow-Up Agent for Plumbers: lesson overview · All free videos