الدرس 4 · الوحدة 2: Your First Working AI Automation
Real actions without paid APIs: built-in nodes, webhooks and free tiers
Why this matters
A booking that arrives at night can go unanswered until morning, and the client may book elsewhere. This lesson shows how to build a reply that runs the moment a message arrives, using tools that cost nothing to run: nodes that come with the workflow tool, a webhook that starts the flow when a form calls it, and the free allowances that services set. You will also learn how to read those allowances so a free plan does not stop working in a busy month.
Key ideas
Built-in nodes do real work. Some need no account at all, such as the Webhook, IF, Wait and HTTP Request nodes. Others use a free account you probably already have, such as Google Sheets, Gmail or Google Calendar.
A webhook starts the flow on a knock. A webhook is a web address that waits. When a form calls it and sends its data, the workflow runs at once, so you never have to check for new bookings on a timer.
A free tier is a monthly allowance, and you can measure it. Divide the runs you have used by the limit to get your share. For example:
| Item | Value |
|---|---|
| Free limit | 100 runs a month |
| Runs used | 80 |
| Share used | 80 / 100 = 0.8, or 80 percent |
| Runs left | 100 - 80 = 20 |
The test address and the production address differ. The test address works while you are building in the editor. The production address answers only when the workflow is switched on, so always switch it on and send one real booking before you trust it.
Try it before you watch
A free plan allows 50 runs a month and you have used 45. What share of the allowance is used, and how many runs are left?
Show answerHide answer
45 divided by 50 is 0.9, which is 90 percent of the allowance. That leaves 5 runs. It shows that the share is always used divided by the limit, and the remainder is the limit minus what you used.
Words to know
Webhook: a web address that waits for a message and starts a workflow when another program calls it. Node: one step in a workflow, such as adding a spreadsheet row or sending an email. Free tier: the monthly allowance a service gives at no cost, up to a set limit. Production address: the live webhook address that your form uses for real bookings, active only when the workflow is switched on. Over-limit rule: what a service does once you pass your free allowance, which is described on its pricing page. Respond to Webhook: a node that sends an answer back to whoever called the webhook.
What to watch for
- Notice which nodes need an account and which need no account at all, and how the webhook starts the flow.
- Watch the bars and the share calculation, and see how a busy month moves the used bar past the limit.
- Pay attention to the difference between the test address and the production address, and why the workflow must be active.
تعلّمه مع معلمك على السبورة المباشرة
أهم نقاط الفيديو
A booking message at night
- A client writes on Sunday night
- Nobody answers until Monday
- A bot can reply at once
layout: full
parts:
app: {window: "Webhook -> Gmail reply"}
ask: {chat: "Can I book Tuesday at 10?", in: app, reply: "Yes, Tuesday at 10 is booked."}
steps:
- at: "lost a booking"
note: "a message at night"
- at: "Nadia runs a small cleaning business"
note: "a cleaning business"
- at: "asked on Sunday night"
send: ask
- at: "booked someone else"
note: "a lost client"
- at: "could reply at once"
highlight: app
- at: "no paid API key"
note: "no paid key" Three things you will be able to do
- Use built-in nodes that cost nothing
- Receive and answer a webhook
- Read a free tier before you hit it
tree:
Free actions: [Built-in nodes, Webhooks, Free tiers]
direction: down
steps:
- at: "do three things"
grow: Free actions
- at: "use built-in nodes"
highlight: Built-in nodes
- at: "receive a webhook"
highlight: Webhooks
- at: "read a free tier"
highlight: Free tiers
- at: "uses one of them"
note: "three ideas, one lesson" Built-in nodes do real work
- Some need no account at all
- Others use a free account you have
- Google Sheets, Gmail and Calendar
tree:
Built-in nodes:
No account needed: [Webhook, IF, Wait, HTTP Request]
Free account: [Google Sheets, Gmail, Google Calendar]
direction: down
steps:
- at: "Built-in nodes are the ready-made"
grow: Built-in nodes
- at: "Some need no account"
grow: No account needed
- at: "Others use a free account"
grow: Free account
- at: "none of them needs a paid API key"
note: "no paid API key" A webhook waits for a knock
- A webhook is a web address
- The form calls that address
- The workflow starts at once
layout: side
direction: LR
components:
form: {kind: browser, label: Booking form}
hook: {kind: api, label: Webhook node}
links: [form->hook]
steps:
- at: "booking form tell your workflow"
show: [form]
- at: "It uses a webhook"
show: [hook]
- at: "a web address that sits and waits"
highlight: hook
- at: "sends its data"
flow: ["form>hook: POST"]
- at: "every few minutes"
note: "no checking needed"
- at: "wakes up only when something happens"
highlight: hook One call, several actions
- Adds a row to Google Sheets
- Calendar holds the slot
- The client gets a reply
layout: side
direction: LR
components:
form: {kind: browser, label: Booking form}
hook: {kind: api, label: Webhook node}
sheet: {kind: file, icon: table, label: Google Sheets}
cal: {kind: service, icon: calendar-days, label: Google Calendar}
mail: {kind: email, label: Gmail}
links: [form->hook, hook->sheet, hook->cal, hook->mail]
steps:
- at: "When the booking arrives"
show: [form, hook]
- at: "adds a row to Google Sheets"
show: [sheet]
flow: ["hook>sheet: new row"]
- at: "holds the slot"
show: [cal]
flow: ["hook>cal: hold slot"]
- at: "confirmation through Gmail"
show: [mail]
flow: ["hook>mail: send"]
- at: "node sends the answer back"
flow: ["hook>form: Booked"]
- at: "no paid API in the chain"
note: "free accounts only" Free does not mean unlimited
- A free tier is a monthly allowance
- Divide used runs by the limit
- 80 percent of the allowance
layout: side
objects:
lim: {text: "Free limit: 100 runs", pos: top}
ftext: {text: "Free tier = monthly allowance", pos: [0, 2.6]}
use: {text: "Used this month: 80 runs", pos: [0, 1.4]}
share: {tex: '\frac{80}{100} = 0.8', pos: center}
pct: {tex: '0.8 \times 100 = 80\%', pos: bottom}
left: {tex: '100 - 80 = 20 runs left', pos: [0, -1.6]}
steps:
- at: "Here is the arithmetic"
show: [lim]
- at: "monthly allowance"
show: [ftext]
- at: "allows 100 runs"
highlight: lim
- at: "used 80 runs"
show: [use]
- at: "Divide 80 by 100"
show: [share]
- at: "80 percent of the allowance"
show: [pct]
- at: "leaves only twenty runs"
show: [left] What happens over the limit
- Two bars compare use and limit
- A busy month passes the limit
- Read the reset date
kind: bar
title: Runs in one month
data: {Runs used: 80, Free limit: 100}
steps:
- at: "Let's slow down here"
note: "runs used against the limit"
- at: "Two bars compare"
show: all
- at: "stays below the limit"
highlight: Runs used
- at: "A busy month can push it higher"
note: "a busy month"
- at: "rises to 115 runs"
data: {Runs used: 115, Free limit: 100}
note: "over the limit by 15"
- at: "its over-limit rule"
note: "check the over-limit rule"
- at: "pricing page"
note: "read the pricing page"
- at: "reset date"
note: "check when the count resets" Channels that cost nothing to run
- Telegram bot costs nothing
- Email has a daily limit
- Google Sheets is a free database
tree:
Free channels: [Telegram bot, Your own email, Google Sheets]
direction: down
steps:
- at: "Here is a shortcut"
grow: Free channels
- at: "A Telegram bot costs nothing"
highlight: Telegram bot
- at: "Your own email account"
highlight: Your own email
- at: "Google Sheets works"
highlight: Google Sheets
- at: "Pick the channel your clients"
note: "no new cost" Test address and production address
- Test address while you build
- Production address for real use
- Workflow must be active
tree:
Webhook node: [Test URL, Production URL]
direction: down
steps:
- at: "shows two addresses"
grow: Webhook node
- at: "The test address works"
highlight: Test URL
- at: "while you build"
note: "building and checking"
- at: "The production address is"
highlight: Production URL
- at: "a test can pass"
note: "test passes, live fails"
- at: "switch the workflow on"
note: "active means live" The test that hides a dead form
- The test call passes
- The real form sends nothing
- Switch on, then send one real booking
cells:
A1: Booking
B1: Client
C1: Saved
D1: Total saved
A2: Test
B2: Test client
C2: 1
format: {C: int, D: int}
steps:
- at: "Here is the mistake"
note: "a test looks fine"
- at: "the call works"
type: {D2: "=SUM(C2:C9)"}
- at: "share the production address"
note: "shared with clients"
- at: "does not answer"
note: "no row is added"
- at: "never reaches your sheet"
highlight: D2
- at: "check that the total goes up"
highlight: D2 Three takeaways
- Built-in nodes need no paid key
- A webhook starts the workflow
- Free tiers have a limit
title: Lesson recap
underline: blue
rows:
- id: r1
text: "Built-in nodes: real work, no key"
- id: r2
text: "Webhook: the form calls, the flow starts"
- id: r3
text: "Free tier: check the limit and reset"
steps:
- at: "First, built-in nodes"
show: r1
- at: "Second, a webhook"
show: r2
- at: "Third, every free tier"
show: r3
- at: "answer the Sunday message"
mark: {target: "r3", kind: highlight, color: blue} Your exercise
- Build a webhook with three free nodes
- Test it, then switch it to active
- Send one real booking
cells:
A1: Booking
B1: Client
C1: Saved
A2: Real
B2: First client
C2: 1
format: {C: int}
steps:
- at: "Now it is your turn"
note: "your turn"
- at: "with three free nodes"
note: "three free nodes"
- at: "Test it with the test address"
note: "test first"
- at: "switch the workflow to active"
note: "active before sharing"
- at: "send one real booking"
note: "a real booking" Check your share
- Share is runs used over the limit
- Eighty over one hundred
- That times one hundred is 80 percent
layout: side
objects:
ask: {text: "Share = runs used / free limit", pos: top}
work: {tex: '\frac{80}{100} = 0.8', pos: center}
pct: {tex: '0.8 \times 100 = 80\%', pos: bottom}
steps:
- at: "check your share"
show: [ask]
- at: "Take the runs used"
highlight: ask
- at: "divide them by the free limit"
show: [work]
- at: "eighty over one hundred"
highlight: work
- at: "that times one hundred is 80 percent"
show: [pct] النص المكتوب
A booking message at night. Have you ever lost a booking because a message arrived while you slept? Nadia runs a small cleaning business. A client asked on Sunday night whether she could book Tuesday at ten. The message sat unanswered until Monday, and the client booked someone else. A short automation could reply at once. In this lesson you will build replies like that with no paid API key, using built-in nodes, webhooks and the free limits every service sets.
Three things you will be able to do. By the end of this lesson you can do three things. First, use built-in nodes, the ready-made steps that come with the workflow tool, which act on the world without a key. Second, receive a webhook, which is simply a web address that waits for a message and starts your workflow the moment it is called. Third, read a free tier, the monthly allowance a service gives you for nothing, so you can see how close you are to its limit before you reach it. Keep those three in mind, because every example from here uses one of them.
Built-in nodes do real work. Here is the good news. Built-in nodes are the ready-made steps in the workflow tool, and many of them cost nothing. Some need no account at all. The Webhook node, the IF node for choices, the Wait node for pauses and the HTTP Request node for calling any public address all work straight away. Others use a free account you probably already have, such as Google Sheets for a booking list, Gmail for a confirmation email, or Google Calendar for a time slot. Nadia's cleaning business needs all of these, and none of them needs a paid API key.
A webhook waits for a knock. So how does a booking form tell your workflow that someone has booked? It uses a webhook. A webhook is a web address that sits and waits. When the form calls that address and sends its data, the workflow starts at once, with the booking details in hand. You do not have to check for new bookings every few minutes. The workflow wakes up only when something happens, which is why it is quick and cheap to run.
One call, several actions. When the booking arrives, the workflow can do several things in order. It adds a row to Google Sheets, which becomes the booking list. It holds the slot in Google Calendar. It sends a confirmation through Gmail. Finally, a Respond to Webhook node sends the answer back to the form, so the client gets a reply. Every one of these steps uses a built-in node with a free account, and there is no paid API in the chain.
Free does not mean unlimited. Here is the arithmetic that matters. A free tier is a monthly allowance, and you need to know how much of it you use. Suppose the free plan allows 100 runs a month, and your bookings have used 80 runs so far. Divide 80 by 100 and you get zero point eight. Multiply that by 100 and you get 80 percent of the allowance. Eighty percent is comfortable, but it leaves only twenty runs for the rest of the month.
What happens over the limit. Let's slow down here. Two bars compare what you used with the free limit. In a normal month the used bar stays below the limit, and nothing changes. A busy month can push it higher. Here the used bar rises to 115 runs, which is 15 over a limit of 100. Once you pass the limit, the service follows its over-limit rule. That rule is on the pricing page, not in your workflow. Read it, and the reset date, before you depend on a free tier.
Channels that cost nothing to run. Here is a shortcut many people miss. A Telegram bot costs nothing to create or run, so a client who already uses Telegram can book with you directly. Your own email account can send confirmations too, but most free mailboxes have a daily sending limit, so a busy day can stop the messages. Google Sheets works as a simple free database, holding the bookings in rows you can read on any phone. Pick the channel your clients already use, and you add no new cost.
Test address and production address. The Webhook node shows two addresses, and they behave differently. The test address works while you are in the editor and listening for a test call. Use it while you build and check. The production address is the one your form uses for real, and it answers only when the workflow is switched on as active. So a test can pass while the live address still fails. Build with the test address, then switch the workflow on and use the production address.
The test that hides a dead form. Here is the mistake that loses real bookings. You press test, the call works, and you feel finished. Then you share the production address with your clients. But if the workflow is still switched off, the production address does not answer, and the form shows an error or nothing at all. The booking never reaches your sheet, and nobody tells you. So after every publish, switch the workflow on, send one real booking from a phone, and check that the total goes up.
Three takeaways. Let's pull it together. First, built-in nodes do real work, and many of them need no paid key, only a free account you may already have. Second, a webhook is a web address that waits, so the workflow starts the moment a booking form calls it, and a Respond to Webhook node sends the reply back. Third, every free tier has a limit and a reset date, so measure your use before a busy month does it for you. Together these let Nadia answer the Sunday message while she sleeps.
Your exercise. Now it is your turn. Build a small booking webhook with three free nodes: the Webhook node, a Google Sheets node that adds a row, and a Respond to Webhook node that sends the reply. Test it with the test address first. Then switch the workflow to active and send one real booking to the production address.
Check your share. Last, check your share. The share is the runs used divided by the free limit. Take the runs used, which is 80, and divide them by the free limit, which is 100. Written out, the working is eighty over one hundred, which is zero point eight, and that times one hundred is 80 percent. Follow the same three steps with your own numbers each month.
استكشف الرسوم المتحركة
الرسوم المتحركة نفسها التي في الفيديو، دقيقة وتفاعلية: شغّلها أو أوقفها، أو اسحب المؤشر، أو انتقل إلى أي خطوة بالسرعة التي تناسبك.
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
Loading the animation...
أجب عن كل الأسئلة ثم تحقّق. تنجح بنسبة 70%، ويمكنك إعادة المحاولة كما تشاء.
ملخص الدرس
- القراءة
- مشاهدة الفيديو
- اجتياز الاختبار (70%)
- Built-in nodes need no paid key
- A webhook starts the workflow
- Free tiers have a limit