FREE GUIDE 8 CHAPTERS ~15 MIN READ NO CODING NEEDED

Your First OpenClaw Automation (Heartbeat)

A scheduled trigger that runs on its own — every hour, every day, or every week. Free, no coding required.

By the time you finish this guide, you will have a live Heartbeat automation that runs on a schedule, asks AI to generate content, and delivers it to your inbox without you lifting a finger. Fifteen minutes. Free. No tech degree.

Before We Get Started

This guide assumes you already have OpenClaw installed and running. If you do not, follow one of these guides first:

  • OpenClaw installed on your computer (Mac or Windows)
  • OpenClaw dashboard open at localhost:3000
  • At least one AI brain connected (OpenAI, Google Gemini, or another provider)
  • Coding skills — NOT needed
  • Automation experience — also NOT needed

If you have those first three items checked, you are ready. Let us build your first Heartbeat.

What This Costs

OpenClaw is free and open-source. FREE FOREVER Building and running Heartbeat automations costs nothing. The only cost is AI usage if your automation uses an AI step.

FREE WITH LIMITS

AI usage depends on your provider. If you are using OpenAI, each request costs about $0.01–$0.03. A daily Heartbeat that runs once per day costs roughly $0.30–$0.90 per month. Google Gemini has a free tier that covers light usage at no cost.

A Heartbeat that runs once a day with a simple prompt costs less than a cup of coffee per month.

Bottom line: Building the automation is free. Running it costs pennies per day if you use an AI brain. Skip the AI step entirely and it costs nothing forever.

How This Guide Works

Every chapter follows the same pattern: what you are doing, how to do it step by step, and when to use it. By the end of all 8 chapters, you will have a working Heartbeat automation that runs on its own, plus a list of ideas for your next 10 automations.

What's Inside

  1. What Is a Heartbeat Automation?
  2. Set Up Your First Heartbeat
  3. Add an AI Step
  4. Add an Email Step
  5. Test Your Automation
  6. Activate and Monitor
  7. 10 Useful Heartbeat Ideas
  8. Troubleshooting + Tips
Chapter 1

What Is a Heartbeat Automation?

What This Is

A Heartbeat is a scheduled trigger. Think of it like an alarm clock for your AI. You set a time, and it wakes up and does a job. Every hour, every day, every Monday — you pick the schedule.

This is the simplest kind of automation. No waiting for someone to do something. No listening for events. Your AI just runs on its own, on time, every time.

Why Start with a Heartbeat?

There are many types of triggers in OpenClaw — webhook triggers, email triggers, form triggers, and more. But the Heartbeat is the best one to start with because:

Real-World Examples

Who Uses ItWhat the Heartbeat DoesSchedule
Freelance consultantSends a daily summary of tasks and priorities to their inboxEvery morning at 7 AM
Small e-commerce shop (12 people)Pulls sales numbers and emails a report to the ownerEvery day at 9 AM
HR department (150-person company)Sends a weekly Monday reminder about the team standupEvery Monday at 8:30 AM
Individual content creatorGenerates social media post ideas and saves them to a spreadsheetEvery day at 6 AM
IT team (400-person company)Checks server status and alerts the team if something is downEvery hour

Pro Tip: If you find yourself doing the same task at the same time every day or week, that is a Heartbeat. Automate it and get that time back.

When to Use This

Any time you need something to happen on a schedule without you being there to press a button. Daily reports, weekly reminders, hourly checks, monthly summaries. If it has a clock, it is a Heartbeat.

Chapter 1 Complete

  • I understand what a Heartbeat is (a scheduled trigger)
  • I know why it is the best first automation to build
  • I can think of at least one task I do on a schedule
Chapter 2

Set Up Your First Heartbeat

What This Is

In this chapter, you create a new automation in OpenClaw and set the Heartbeat trigger. By the end, you will have a trigger that fires on your chosen schedule. The next chapters will add the actions.

How to Do It

1

Open the OpenClaw dashboard

Make sure OpenClaw is running. Open your browser to http://localhost:3000.

2

Click "New Automation"

In the sidebar, click Automations. Then click the New Automation button.

What you will see: A blank canvas with a starting trigger block.
3

Name your automation

Click the title at the top (it might say "Untitled" or "New Automation"). Type a clear name like "Daily Morning Briefing" or "Weekly Report Email."

4

Select the Heartbeat trigger

Click the trigger block on the canvas. In the list of triggers, find and select Heartbeat (it might also be called "Schedule" or "Cron").

What you will see: A settings panel where you choose how often the automation runs.
Screenshot: The OpenClaw trigger selection panel with "Heartbeat" highlighted
Select the Heartbeat trigger. This tells OpenClaw to run your automation on a schedule.
5

Choose your schedule

Pick how often you want it to run. For your first Heartbeat, we recommend once a day. Pick a time, like 8:00 AM.

ScheduleBest ForExample
Every hourMonitoring, status checksCheck if your website is up
Every dayReports, summaries, remindersMorning briefing at 8 AM
Every weekWeekly digests, planningMonday morning team update
Every monthMonthly reviews, billing remindersFirst-of-month expense summary

Important: Make sure you pick the right time zone. OpenClaw should show your local time zone by default, but double-check in Settings if the times seem off.

Your Heartbeat trigger is set. OpenClaw now knows when to wake up. Next, we will tell it what to do when it wakes up.
When to Use This

Every automation starts with a trigger. You will follow these same steps every time you build a new Heartbeat — just change the name and the schedule.

Chapter 2 Complete

  • Created a new automation
  • Named it something clear
  • Selected the Heartbeat trigger
  • Set the schedule (daily recommended for your first one)
Chapter 3

Add an AI Step

What This Is

Now that your Heartbeat knows when to run, you need to tell it what to do. In this chapter, you add an AI step that generates content every time the Heartbeat fires.

Think of it like setting an alarm (Chapter 2) and then telling your assistant what task to do when the alarm goes off (this chapter).

How to Do It

1

Click the "+" button below the Heartbeat trigger

On the canvas, you will see a + button below your trigger block. Click it.

What you will see: A list of available actions you can add.
2

Search for your AI provider

In the search bar, type OpenAI (or whichever AI brain you connected in the install guide). Click it.

3

Choose the "Generate Text" or "Ask AI" action

Select the action that lets you send a prompt and get a text response back.

4

Write your prompt

This is the instruction you give the AI. For your first Heartbeat, try a daily briefing prompt. Here is a good one for a freelancer:

Steal This Prompt — Daily Briefing (Freelancer)
You are a productivity assistant. Write a short, motivating daily briefing for a freelance designer. Include: 1) A one-sentence motivational opener. 2) Three suggested focus areas for today. 3) One practical tip for staying productive while working from home. Keep the whole thing under 150 words. Write in a warm, casual tone.

Here is another option for a small team lead:

Steal This Prompt — Team Standup Reminder (Small Team)
You are a project manager assistant. Write a brief Monday morning standup reminder for a small marketing team of 8 people. Include: 1) A friendly greeting. 2) A reminder to share what they accomplished last week and what they plan to tackle this week. 3) One team-building question of the week (fun and light). Keep it under 100 words.

And one for a department in a larger organization:

Steal This Prompt — Weekly Digest (Department)
You are an operations analyst. Write a brief weekly operations digest template for the logistics department of a mid-size distribution company (about 200 employees). Include placeholders for: 1) Orders processed this week. 2) On-time delivery rate. 3) Top issue of the week. 4) One suggested process improvement. Keep it professional and under 120 words.
Screenshot: The OpenClaw canvas showing a Heartbeat trigger connected to an OpenAI "Generate Text" step with a prompt entered
Your Heartbeat trigger is connected to an AI step. The prompt tells the AI exactly what to generate.

Quick Win: You just connected a scheduled trigger to an AI brain. Every time the Heartbeat fires, the AI will generate fresh content. No human needs to do anything.

When to Use This

Add an AI step any time you want your automation to generate, summarize, classify, or analyze text. You can also skip the AI step entirely and go straight to an action like "Send Email" or "Post to Slack" with static content.

Chapter 3 Complete

  • Added an AI step after the Heartbeat trigger
  • Selected my AI provider
  • Wrote a prompt (or copied one from above)
Chapter 4

Add an Email Step

What This Is

Your automation now knows when to run (Heartbeat) and what to generate (AI step). Now you need to tell it where to send the result. In this chapter, you add an email step that delivers the AI output straight to your inbox.

How to Do It

1

Click the "+" button below the AI step

On the canvas, click the + button that appears below your AI block.

2

Search for "Email" or "Gmail"

If you connected Gmail in your Connections, search for Gmail. If not, look for a built-in Send Email action.

What you will see: An email configuration panel with fields for To, Subject, and Body.
FREE WITH LIMITS

Gmail is free with limits — you can send up to 500 emails per day on a personal account. If you use Google Workspace (business Gmail), the limit is 2,000 per day. For a daily Heartbeat sending one email to yourself, you will never hit these limits.

A single daily Heartbeat uses 1 of your 500 daily emails. That is 0.2% of your limit.

3

Fill in the email fields

Configure the email:

  • To: Your email address (start by sending to yourself)
  • Subject: Something like "Your Daily Briefing" or "Monday Standup Reminder"
  • Body: This is where you connect the AI output. Look for a variable or data reference from the previous AI step — it might look like {{steps.ai.output}} or you can drag a reference from the AI step's output.
What you will see: The email body field now references the AI output. Every time the automation runs, the email body will contain whatever the AI generated.
Screenshot: The email step configuration showing the To field, Subject line, and Body referencing the AI step's output
The email body pulls in the AI output automatically. You never need to copy and paste anything.
4

Save the automation

Click Save (usually in the top right corner). Your automation now has three parts: a Heartbeat trigger, an AI step, and an email delivery step.

Your automation is fully wired: Heartbeat fires on schedule, AI generates content, email delivers it to your inbox. The whole chain is complete.

Pro Tip: You are not limited to email. You can swap the email step for Slack, Google Sheets, Discord, or any other connected app. Email is just the easiest one to start with because you can see the result immediately in your inbox.

When to Use This

Add an email step any time you want results delivered to an inbox. For team notifications, consider Slack instead. For data storage, try Google Sheets. The pattern is always the same: Trigger, Action, Delivery.

Chapter 4 Complete

  • Added an email step after the AI step
  • Filled in the To, Subject, and Body fields
  • Connected the AI output to the email body
  • Saved the automation
Chapter 5

Test Your Automation

What This Is

Before you turn on the Heartbeat for real, run a manual test. This makes sure every step works — the AI generates content, the email sends, and you receive it in your inbox.

Analogy: You would not set a sprinkler system to run every morning without testing it first. Same idea. Test once, then let it run forever.

How to Do It

1

Click the "Test" button

Look for a Test or Run Once button in the top-right area of the canvas. Click it.

What you will see: The automation runs through each step. You will see green checkmarks appear as each step completes.
2

Watch each step complete

The Heartbeat trigger fires immediately (since this is a manual test). The AI step processes your prompt. The email step sends the message.

3

Check your inbox

Open your email. You should see a new message with the subject line you set and the AI-generated content in the body.

Screenshot: An inbox showing the test email from the Heartbeat automation with AI-generated content in the body
The test email arrived. The AI wrote the content, and OpenClaw delivered it to your inbox. All automatic.
If the email arrived, everything works. Your automation is ready to go live.

If the email did not arrive: Check your spam folder first. Then go to the Runs section in the sidebar to see if any step failed. Click the failed step for error details. Common issues: wrong email address, Gmail connection expired (reconnect it), or AI API key ran out of credits.

When to Use This

Always test before activating. And test again any time you change the prompt, the schedule, or the delivery step. One click to test. Thirty seconds to verify.

Chapter 5 Complete

  • Clicked the Test button
  • Watched all steps complete with green checkmarks
  • Received the test email in my inbox
Chapter 6

Activate and Monitor

What This Is

Your automation tested successfully. Now you activate it so it runs on its own, on the schedule you set. Then you learn how to monitor it in the Runs log.

How to Do It

1

Click "Activate" or toggle the switch

Look for an Activate button or an on/off toggle at the top of the canvas. Turn it on.

What you will see: The automation status changes to "Active" or shows a green indicator. Your Heartbeat is now live.
2

Wait for the first scheduled run

If you set it to daily at 8 AM, wait until 8 AM tomorrow. The email should arrive automatically. If you want to see it work sooner, set the schedule to "every hour" temporarily.

3

Check the Runs log

Click Runs in the sidebar. You will see a list of every time your automation has run. Each entry shows the time, the status (success or failed), and the details of each step.

What you will see: A table with timestamps, status icons, and clickable rows. Click any row to see exactly what happened during that run.
Screenshot: The OpenClaw Runs log showing several successful Heartbeat runs with green checkmarks
The Runs log. Every run is tracked so you always know if your automation is working.

Quick Win: You now have an AI assistant that wakes up on schedule, creates content, and delivers it to you — without you doing anything. A personal assistant that works while you sleep, for free.

Pro Tip: Check the Runs log once a week for the first month. After that, you can trust it and only check if something feels off. If a run fails, OpenClaw will usually show you exactly what went wrong.

When to Use This

Activate your Heartbeat after every successful test. Check the Runs log weekly to make sure things are humming along. If you ever need to pause the automation, flip the toggle back to off — it will not delete anything.

Chapter 6 Complete

  • Activated the Heartbeat
  • Know where the Runs log is
  • Understand how to check if runs succeeded or failed
Chapter 7

10 Useful Heartbeat Ideas

What This Is

Now that you know how to build a Heartbeat, here are 10 real automations you can build today. Each one uses the same pattern: Heartbeat trigger, one or more action steps, and a delivery step. Copy any of these prompts and adapt them to your situation.

For Individuals and Freelancers

Idea #1 — Daily Motivation Email
Write a short motivational message for a freelancer starting their workday. Include one actionable productivity tip. Keep it under 75 words. Warm and encouraging tone.
Idea #2 — Weekly Invoice Reminder
Write a friendly reminder email to myself to send out invoices for the week. List 3 common invoicing mistakes to avoid. Keep it under 100 words.

For Small Businesses (1–50 People)

Idea #3 — Daily Sales Summary
You are a business analyst. Write a daily sales summary template for a small retail shop with 6 employees. Include placeholders for: total sales today, top-selling item, number of transactions, and one suggestion to boost tomorrow's sales. Keep it under 100 words.
Idea #4 — Social Media Post Ideas
You are a social media strategist. Generate 3 Instagram post ideas for a local bakery. Each idea should include: a caption concept, a suggested image description, and 3 hashtags. Mix educational, promotional, and fun content.
Idea #5 — Weekly Team Standup Reminder
Write a short Monday morning standup reminder for a team of 15 people at a small marketing agency. Include a fun question of the week and a reminder of what to share: last week wins, this week priorities, any blockers. Keep it under 80 words.

For Medium Businesses (50–500 People)

Idea #6 — Weekly Department Digest
You are an operations manager. Write a weekly digest email template for the customer support department of a 200-person SaaS company. Include sections for: ticket volume this week, average response time, top 3 reported issues, and one process improvement idea. Professional tone, under 150 words.
Idea #7 — Monthly Expense Check Reminder
Write a first-of-the-month reminder for the finance team of a mid-size company to review and categorize last month's expenses. Include a checklist of 5 things to verify. Professional and concise, under 100 words.

For Departments in Larger Organizations

Idea #8 — Inventory Alert
You are a supply chain assistant. Write a daily inventory check reminder for the warehouse team. Include: a prompt to check 3 key metrics (items below reorder threshold, items arriving today, items pending shipment) and a reminder to update the tracking system. Under 80 words.
Idea #9 — Compliance Check Nudge
Write a weekly compliance reminder for the HR department of a 400-person company. Remind them to review new hire documentation, check expiring certifications, and update the training log. Professional tone, under 100 words.
Idea #10 — Customer Feedback Summary
You are a customer success analyst. Write a weekly customer feedback summary template for the product team. Include sections for: positive themes this week, negative themes, feature requests mentioned more than once, and one recommended action item. Under 120 words.

Action Step: Pick one idea from this list. Build it right now. Copy the prompt, create a new Heartbeat automation, paste the prompt into the AI step, add an email step, test it, and activate it. Ten minutes, start to finish.

When to Use This

Come back to this chapter every time you want to build a new Heartbeat. Each idea follows the same three-step pattern: Heartbeat trigger, AI step with prompt, delivery step. Adapt the prompts to your specific role and business.

Chapter 7 Complete

  • I reviewed the 10 Heartbeat ideas
  • I identified at least one I want to build
  • I understand the pattern: Heartbeat + AI + Delivery
Chapter 8

Troubleshooting + Tips

What This Is

You have a working Heartbeat automation. This final chapter covers the most common issues, pro tips for reliability, and a plan for building your next automations.

Common Issues and Fixes

ProblemLikely CauseHow to Fix It
Heartbeat does not runAutomation is set to "Paused"Check that the toggle is set to "Active." It is easy to accidentally pause it.
Wrong timeTime zone mismatchGo to Settings and verify your time zone is correct. Adjust the schedule if needed.
AI step failsAPI key expired or out of creditsCheck your AI provider account. Top up credits or renew your API key. Reconnect in OpenClaw's Connections page.
Email not receivedSpam filter or wrong addressCheck spam/junk folder. Verify the email address in the automation. Try sending to a different email.
"Run failed" in Runs logA step encountered an errorClick the failed run to see which step broke. The error message usually tells you exactly what went wrong.
Heartbeat runs but nothing happensOpenClaw is not runningMake sure Terminal/PowerShell is still running openclaw start. If your computer restarted, you need to start it again.

Important: OpenClaw must be running for Heartbeats to fire. If you shut down your computer or close Terminal/PowerShell, your Heartbeats will not run until you start OpenClaw again. For 24/7 reliability, keep your computer on or look into running OpenClaw on a cloud server.

Pro Tips for Reliable Heartbeats

Tip 1: Start with longer schedules. Set your first Heartbeat to run once a day. After you confirm it works for a week, you can make it more frequent if needed.

Tip 2: Always test before activating. One manual test takes 30 seconds and saves you from discovering a broken automation days later.

Tip 3: Check the Runs log weekly. Spend 60 seconds once a week scanning for any failed runs. Catch problems before they pile up.

Tip 4: Keep prompts specific. Vague prompts get vague results. Tell the AI exactly who it is, what to write, what format to use, and how long it should be.

Tip 5: Name your automations clearly. When you have 10 automations, "Daily Sales Report" is much easier to find than "Untitled Automation 7."

Your Next Steps Action Plan

Today (Done)

  • Built your first Heartbeat automation
  • Added an AI step and an email step
  • Tested and activated it

Tomorrow

  • Check your inbox for the first automated email
  • Review the Runs log to confirm it worked
  • Tweak the prompt if you want different content

This Week

  • Build a second Heartbeat from the ideas in Chapter 7
  • Try a different delivery method — Slack, Google Sheets, or Discord instead of email
  • Share your automation with a teammate or friend

This Month

  • Build 5+ Heartbeats covering your most repetitive weekly tasks
  • Explore other trigger types — webhook triggers, email triggers, form triggers
  • Calculate how many hours per week your automations are saving you

Action Step: Check your inbox tomorrow morning. When you see that email from your Heartbeat, you will feel the power of automation. That feeling — "I did not have to do anything and it still happened" — is why people get hooked. Build the next one immediately.

When to Use This

Come back to this troubleshooting section whenever a Heartbeat misbehaves. Follow the action plan to build momentum. The people who get the most from automation are not the most technical ones. They are the ones who build one more automation every week.

Chapter 8 Complete

  • I know how to troubleshoot the most common Heartbeat issues
  • I know the 5 pro tips for reliable automations
  • I have a clear plan for this week and this month
Quick Reference

Heartbeat Cheat Sheet

Bookmark this section. The pattern is always the same.

StepWhat to DoTime
1Click New Automation and name it10 seconds
2Select Heartbeat trigger, set the schedule30 seconds
3Add an AI step with your prompt2 minutes
4Add a delivery step (email, Slack, Sheets)1 minute
5Click Test and verify the output30 seconds
6Click Activate5 seconds
7Check Runs log weekly60 seconds/week

Total time to build a Heartbeat: Under 5 minutes once you have done it once.

What's Next

What to Do Next

You built your first Heartbeat automation. Here are three ways to keep building:

Our recommendation: When connecting an AI model to OpenClaw, we recommend Claude by Anthropic. It follows instructions precisely, handles structured data well, and takes your privacy seriously. You're welcome to use any AI tool — ChatGPT, Gemini, Perplexity all work great. But if you want our honest pick, try Claude.

claude.ai (web)  ·  iPhone app  ·  Android app

Ready to Automate Your Work?

Join thousands of people who use CreatorHQ to work smarter, not harder.

Explore CreatorHQ