The Toolkit › Your First Scheduled Task
Chapter 16

Your First Scheduled Task

Why this matters

You've understood what automation is. Now let's build one. This is the chapter where you go from "I get the concept" to "I have a thing running in the background that does work for me."

We're starting with the simplest type: time-based automation. Something that runs every day at the same time, like clockwork.

What we're doing

Setting up a Zapier Zap (that's Zapier's word for an automated workflow) that runs automatically every weekday morning and does something genuinely useful for your business.

The task

Here's what we're building: "Every weekday morning at 7am, check my Xero for invoices that are more than 14 days overdue, and draft a reminder email for each one."

Think about that. Every morning, before you've even had your coffee, your system has already checked your books and drafted polite chase-up emails for anyone who hasn't paid. All you do is open Gmail, scan the drafts, and hit send on the ones that look good.

Step by step

Step 1: Open Zapier

Go to zapier.com and log in. If you set up your account back in Chapter 10, you're ready to go. If not, create a free account now.

Step 2: Create a new Zap

Click "Create Zap" (usually a big orange button). This opens the Zap builder, which is where you'll connect the pieces together.

Step 3: Set the trigger

The trigger is what kicks off the automation. In this case, it's a schedule.

  1. Search for "Schedule by Zapier" in the trigger search box
  2. Select "Every Day"
  3. Set the time to 7:00 AM (your local time)
  4. Set it to weekdays only (Monday through Friday)

This means every weekday at 7am, Zapier will wake up and start running through the next steps.

Step 4: Add the Xero action

Now we tell Zapier what to do when the schedule fires.

  1. Click the "+" to add an action step
  2. Search for "Xero"
  3. Select "Find Invoices"
  4. Connect your Xero account (Zapier will walk you through the sign-in)
  5. Set the filter: Status = "Overdue", and Date is more than 14 days ago

This step pulls out every invoice that's been sitting unpaid for more than two weeks.

Step 5: Add the AI step

  1. Click "+" to add another action
  2. Search for "Claude" or "AI by Zapier"
  3. Select "Generate Text"
  4. In the prompt, write something like: "Draft a friendly reminder email for [client name] about their overdue invoice for [amount]. Keep it short and casual. Use a warm, professional tone."
  5. Map the client name and amount from the Xero step (Zapier shows you the available fields)

Step 6: Create the Gmail draft

  1. Click "+" for one more action
  2. Search for "Gmail"
  3. Select "Create Draft"
  4. Map the "To" field to the client's email from Xero
  5. Map the "Subject" and "Body" from the Claude output

Step 7: Turn it on

Click "Publish" or "Turn on Zap." That's it. Tomorrow morning at 7am, it runs.

💡 You're not sending emails automatically

This is important. You're drafting them. Every morning you'll open Gmail, scan the drafts, and hit send on the ones that look good. You're still in control. The AI did the legwork of checking Xero, finding overdue invoices, and writing the emails. You just review and send. Same safety net as before.

⚠️ This will cost Zapier tasks

Each invoice check + Claude call + draft creation = 3 tasks per invoice. If you have 5 overdue invoices, that's 15 tasks per day. Zapier's free plan gives you 100 tasks per month, and the Professional plan gives you 750. For most small businesses, the Professional plan is plenty. Keep an eye on your task count in Zapier's dashboard for the first week.

Testing it

You don't have to wait until tomorrow morning. Zapier lets you test each step individually:

  1. Click "Test" on each step to make sure it connects properly
  2. Check that Xero returns your overdue invoices
  3. Check that the AI draft sounds right
  4. Check that the Gmail draft appears in your Drafts folder

If something doesn't work, Zapier will tell you which step failed and why. Most issues are just a missed field mapping or a disconnected account.

What you just learned

  • How to set up a time-based automation in Zapier
  • How to connect a schedule trigger to real business actions (Xero + AI + Gmail)
  • Your first task that runs without you touching anything
  • How to test each step before going live

Try it yourself

  • Set up the invoice reminder Zap in Zapier
  • Test each step individually
  • Check your Gmail Drafts folder the next morning
  • Review the draft emails and send the ones that look good