๐ฌWhat we learn today โ a short video
โก By the end of the session you will know
- Google Sheets can be a CRM with an upsert by email.
- A search that found nothing = 0 bundles โ an Array aggregator solves it.
- Gmail HTML: inline CSS.
- Drive and Calendar complete it: a folder and a meeting for every lead.
- We built a Google-based CRM end to end.
A silent video of about half a minute: the session topic, the learning goals (also listed in the next section) and the scenario we build today.
๐The story of Etz va'Or (Wood & Light) โ Chapter 5: A CRM without paying for a CRM
The leads are coming in, but they're scattered across emails. Maya wants one organized list in Google Sheets, with no duplicates, a personal email to the customer, a Drive folder for every project and a measuring appointment in the calendar โ all from the form, automatically.
๐งต One story across the whole course: every session solves a real problem for the business. At the end โ a complete system.
๐ฏSession goals
- Connect a Google account to Make and understand OAuth permissions (and what to do when a Client ID is required).
- Work with Google Sheets: Add, Search, Update, Watch rows and Bulk.
- Implement the upsert pattern (search โ update or add) to prevent duplicates.
- Send HTML-formatted emails with Gmail.
- Create folders and copy template documents in Google Drive.
- Create events in Google Calendar with attendees.
- Connect it all into a Google-based CRM that receives leads from the form.
๐๏ธSession agenda (3 hours)
- 00:00โ00:15 Review: the leads API
- 00:15โ00:35 Connecting Google: OAuth and permissions
- 00:35โ01:15 Google Sheets in depth + upsert
- 01:15โ01:30 โ Break
- 01:30โ01:55 Gmail: HTML emails
- 01:55โ02:15 Drive and Calendar
- 02:15โ02:50 Building together: a Google-based CRM
- 02:50โ03:00 Summary and practice
1Connecting Google
Make has a separate app for each service (Google Sheets, Gmail, Google Drive, Google Calendar), and each one creates a connection with OAuth: a Google window opens, you choose an account and approve permissions.
| What happens | What to do |
|---|
| Google shows "Make wants access" | Tick all the permission boxes โ otherwise the module will fail later |
| Gmail on a private @gmail.com account | Sometimes Make requires creating your own Client ID in the Google Cloud Console. The exact instructions are at help.make.com (search for Connecting to Google services using a custom OAuth client) |
| An organizational Google Workspace | The system administrator may need to approve Make as an allowed app |
| The connection expires after a week | The Google Cloud project is in Testing mode โ move it to Production or renew the connection |
๐ก A dedicated accountIn a real organization connect a service account (for example automation@company.com) and not a personal email. When an employee leaves โ the automations keep working.
2Google Sheets as a database
| Module | What it does | Bundles |
|---|
| Watch New Rows | A polling trigger for new rows | A bundle per new row |
| Add a Row | Adds a row at the end | 1 |
| Search Rows | Searches by a filter (column = value) | A bundle per result |
| Update a Row | Updates by row number | 1 |
| Delete a Row | Deletes by row number | 1 |
| Bulk Add Rows / Get Range Values | Batch actions โ they save Credits | 1 |
| Make an API call | Any Sheets API action | 1 |
โ ๏ธ The header row is the contractMake maps by the column names in the first row (Table contains headers: Yes). Renamed a column? The mapping may break. Added a column in the middle? Open the module and click Refresh.
๐ฐ Bulk saves CreditsAdding 100 rows one by one = 100 Credits. Bulk Add Rows with an Array aggregator = one Credit for the module. We learn aggregators in session 6.
3The upsert pattern โ without duplicates
Upsert = update or insert. If the lead already exists (by email) โ update. Otherwise โ add. This is the most important pattern in a CRM.
๐ The trap: a search that found nothingIf Search Rows didn't find a row, it outputs 0 bundles โ and the scenario simply stops there! The Router after it won't run at all. The fix: in the Search Rows settings (or the module settings โ Advanced) โ either Make offers an option to continue even with no results, or you use an Array aggregator after the search (which always outputs one bundle), and check length(array) > 0.
Webhook โ Search Rows (email = {{1.email}}, Limit 1)
โ Array aggregator (Source: Search Rows) โ always one bundle
โ Router
โโ Filter: length(array) > 0 โ Update a Row (Row number = first(array).__ROW_NUMBER__)
โโ Fallback โ Add a Row
4Gmail โ formatted emails
Gmail โ Send an email: To, Subject, Content (HTML), Attachments. There are also Create a draft, Watch emails, Add a label and Reply.
<div style="font-family:Arial,sans-serif;max-width:560px">
<h2 style="color:#6d00cc">Hi {{1.name}} ๐</h2>
<p>Thanks for reaching out! We've scheduled a short intro call for you:</p>
<p style="background:#f2e9ff;padding:12px;border-radius:8px">
๐
<b>{{formatDate(addDays(now; 1); "dddd DD/MM [at] 10:00"; "Asia/Jerusalem")}}</b></p>
<p><a href="{{7.htmlLink}}" style="background:#6d00cc;color:#fff;padding:8px 16px;border-radius:8px;text-decoration:none">Add to calendar</a></p>
<p style="color:#888;font-size:12px">Sent automatically ยท to unsubscribe reply "remove"</p>
</div>
โ ๏ธ Formatting emailsCSS only inline (not <style>) โ Gmail strips some styles. For right-to-left languages put dir="rtl" on the outer div. And don't send hundreds of emails from regular Gmail: there is a daily sending limit, and for mass marketing you move to a dedicated service.
5Google Drive and Calendar
Drive
- Create a Folder โ a folder for each client inside a main folder.
- Copy a File โ duplicate a template document (a quote) into the folder.
- Upload a File โ upload a file (binary) that came from Gmail or HTTP.
- Share a File/Folder โ share with the client.
๐ก Filling a templateTo duplicate and fill a document use Google Docs โ Create a Document from a Template: in the document you write {{{{name}}}}, and Make replaces it with values. Excellent for quotes and contracts.
Calendar
- Create an Event โ title, start/end, attendees, Google Meet.
- Search Events / Watch Events โ for checking availability and for reminders.
- Always state a time zone or a full date with a time zone.
6Building together: a Google-based CRM
Step by step:
- A
CRM sheet with columns: email, name, phone, company, score, status, folder, created, updated. - Webhook (or Tally) โ clean-up + score (from session 3).
- An upsert with Search โ Array aggregator โ Router.
- For a new client: Drive โ Create a Folder โ Add a Row with a link to the folder.
- For leads with score โฅ 80: Calendar โ Create an Event tomorrow at 10:00 + Gmail โ an HTML email with the link.
- History: test a new lead and a returning lead.
๐งชLab: simulations and examples
Three ways to see today's material in action: the scenario canvas runs the session's scenario like Make does (with a Credits count), the race compares manual work with automation, and the function playground shows real mapping examples.
๐ก Why in this order?An Array aggregator after the Search keeps the scenario going even when nothing is found, and we save to the CRM before the email so no lead is lost.
๐ขA real-world case study
"Rhythmos Music School". 4 teachers, 180 students, everything in one sheet that everyone edits. Duplicate registrations, forgotten welcome emails, and trial lessons that never made it into the calendar. A Make scenario: a registration form โ upsert by phone โ a student folder in Drive with a consent form from a template โ a trial lesson in the teacher's calendar by instrument โ an HTML email to the parents. Result: zero duplicates, and about 5 hours a week of the secretary's time freed up.
โFrequently asked questions
Sheets or a real database?
Sheets is excellent up to a few thousand rows and a few users. Beyond that โ Airtable/Supabase (session 8).
Why doesn't Watch New Rows catch a row I updated?
It catches only new rows. For changes โ Watch Changes (requires an add-on) or an updated column and a scheduled check.
Can I send from another address?
In Gmail: if you set up Send mail as in the same account โ yes, in the From field. Otherwise โ a separate connection.
Does Make see my whole Drive?
It can, according to the permissions. That's why a dedicated account.
โ๏ธQuick understanding check
โก๏ธWhat now?
You finished the lecture! Go to the practice page โ multiple-choice questions and tasks that build A Google-based CRM: form โ Sheets (upsert) โ Gmail HTML โ Drive โ Calendar. Stuck? The help guide breaks every task into steps. Only after you have tried, peek at the full solution.