Courses Curriculum Cities Blog Enroll Now
AI Automation No-Code · Day 1 of 5 ~35 minutes

Day 1: Zapier + AI: Automate Your First Workflow

Connect Zapier to an AI model and build a real automation in under 30 minutes — no code, no servers, no configuration files.

1
Day 1
2
Day 2
3
Day 3
4
Day 4
5
Day 5
What You'll Build

A Zapier Zap that watches your Gmail for new emails, sends each one through an AI extraction prompt, and logs the sender, subject, and a one-line summary to Google Sheets — automatically.

1
Section 1 · 8 min

What Is AI Automation?

AI automation means connecting an AI model to your existing apps so that work happens without you initiating it. Zapier handles the routing and connections; the AI handles the thinking.

Before AI, Zapier automations were mechanical: when X happens, copy it to Y. Add a spreadsheet row when a form is submitted. Send a Slack message when a payment lands. Fast, but dumb — they couldn't understand anything.

With AI in the middle, the pattern becomes: when X happens, understand it, then do the right thing. A new email arrives — and now the automation reads it, extracts the key information, decides if it needs action, and routes it accordingly. That's the shift from automation to intelligent automation.

The three-layer model: Every AI automation has a trigger (something that starts it), an AI step (something that thinks), and an action (something that happens as a result). Master this pattern and you can automate almost anything.

2
Section 2 · 10 min

Set Up Zapier + AI Connection

You need two accounts. Both have free tiers that cover everything in this course.

1

Go to zapier.com and create a free account. The free plan gives you 5 Zaps and 100 tasks/month — more than enough to learn.

2

Go to platform.openai.com and create an account. Add $5 of credit — this covers hundreds of AI automation runs at typical usage.

3

In the OpenAI platform, go to API KeysCreate new secret key. Name it "Zapier" and copy it. You'll paste this into Zapier when connecting the OpenAI app.

Alternative: Zapier also integrates directly with Anthropic Claude. If you already have an Anthropic API key, search for "Anthropic" instead of "OpenAI" when adding the AI step. The concepts are identical.

3
Section 3 · 17 min

Build: Email → AI Extract → Google Sheets

In Zapier, click + Create Zap. You'll see a canvas with Trigger and Action blocks. Here's exactly what to build:

Trigger: Gmail — New Email. Click the Trigger block, search for "Gmail," choose New Email as the event. Connect your Google account. To avoid processing every email you receive, create a label in Gmail called "AI-Process" and in Zapier, filter to only watch that label. You then drag emails you want processed to that label.

AI Step: OpenAI — Send Prompt. Click + to add a step. Search "OpenAI," choose Send Prompt (under ChatGPT/GPT-4). Connect your API key. In the prompt field, write:

textExtraction Prompt
Extract the following from this email. Return JSON only, no other text:
{
  "sender_name": "full name or Unknown",
  "sender_company": "company or Unknown",
  "needs_reply": "yes or no",
  "summary": "one sentence max"
}

Email:
{{body_plain}}

The {{body_plain}} is a Zapier variable — it inserts the actual email text from the trigger. Zapier's variable picker makes this point-and-click.

Action: Google Sheets — Create Spreadsheet Row. Add another step, choose Google Sheets, connect your account, and point it at a spreadsheet with columns: Date, Sender Name, Company, Needs Reply, Summary. Map the OpenAI JSON fields to each column using Zapier's formatter or the built-in JSON parser.

Test each step. After adding the OpenAI step, click "Test step" to run it with a real email. Verify the JSON output looks correct. If it includes extra text before or after the JSON, update the prompt to say "Return ONLY valid JSON. No preamble, no explanation."

What You Learned Today

  • How AI + Zapier workflows are structured: trigger → AI → action
  • How to write extraction prompts that output consistent JSON
  • How to map AI outputs to spreadsheet columns in Zapier
  • The variable system Zapier uses to pass data between steps
Your Challenge

Go Further on Your Own

  • Add a 4th step: if needs_reply is "yes," send yourself a Gmail draft with a suggested reply
  • Modify the prompt to also extract a priority field: high/medium/low based on urgency signals in the email
  • Change the trigger from Gmail to a Google Form submission — useful for contact form automations
Day 1 Complete

Nice work. Keep going.

Day 2 is ready when you are.

Continue to Day 2
Course Progress
20%

Want live instruction and hands-on projects? Join the AI bootcamp — 3 days, 5 cities.

Finished this lesson?