Session 3 / 15๐Ÿ”Žืขื‘
Session 3 of 15

Functions and Business Logic โ€” Filters, Router and Dates

How to make a scenario "think": filters that stop irrelevant data, a Router that splits into routes, text and date functions, and lead scoring โ€” all without code.

โฑ๏ธ 3 hours๐Ÿ› ๏ธ A smart lead form with scoring and routing (Webhook โ†’ Filter โ†’ Score โ†’ Router โ†’ Telegram)

๐ŸŽฏ Session goals

๐Ÿงช Today's scenario โ€” a live run

๐Ÿ—“๏ธ The agenda

  1. 00:00โ€“00:15 Review: the bots we built
  2. 00:15โ€“00:45 Filters: operator types and complex conditions
  3. 00:45โ€“01:15 Router and the fallback route
  4. 01:15โ€“01:30 โ˜• Break
  5. 01:30โ€“01:55 Cleaning data: text functions and regex
  6. 01:55โ€“02:15 Dates, time zones and switch
  7. 02:15โ€“02:50 Building together: a smart lead form
  8. 02:50โ€“03:00 Summary and practice

Filters โ€” the gate between two modules

Router โ€” splitting into routes

Cleaning and normalizing data

Dates and time zones

if, ifempty and switch

Lead scoring

Building together: a smart lead form

โœ”๏ธ Understanding check

๐Ÿ“Œ To sum up

๐Ÿ‹๏ธ Time to practice!

The session project: A smart lead form with scoring and routing (Webhook โ†’ Filter โ†’ Score โ†’ Router โ†’ Telegram)

To the practice page Back to the lecture