> ## Documentation Index
> Fetch the complete documentation index at: https://help.coachiq.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Your First Automation

> Create a welcome email that sends automatically when someone joins—in under 5 minutes

<Info>
  **Where to find this**: Tools → Automations → + New Automation
</Info>

By the end of this guide, every new member will automatically receive a welcome email with instructions to [book their first session](/scheduling/overview). You'll also [tag](/people/tags-filters) them as an "Active Member" so you can easily find them later.

No templates, no shortcuts—we're building from scratch so you understand how it works.

## What You're Building

| Trigger      | Condition         | Actions                                 |
| ------------ | ----------------- | --------------------------------------- |
| New Purchase | Is a subscription | 1. Send welcome email with booking link |
|              |                   | 2. Add "Active Member" tag              |

***

## Step-by-Step Instructions

<Steps>
  <Step title="Open the Automation Builder">
    From your dashboard, navigate to **Automations** and click **Create Automation**.

    You'll see a blank canvas with a prompt to choose your trigger.

    <Frame>
      <img src="https://mintcdn.com/coachiq/JP6Y4u9cVKKcd5yb/images/create-new-automation.png?fit=max&auto=format&n=JP6Y4u9cVKKcd5yb&q=85&s=26b037d565af84dba98cc07cf0583da4" alt="CoachIQ automation builder blank canvas with trigger prompt" width="3462" height="1598" data-path="images/create-new-automation.png" />
    </Frame>
  </Step>

  <Step title="Choose Your Trigger">
    Click **Select Trigger** and choose **New Purchase**.

    This trigger fires whenever someone buys any [product](/payments/product-overview)—memberships, credit packs, camps, or one-time sessions.

    <Frame>
      <img src="https://mintcdn.com/coachiq/t0r9cjm0Rx9xJoHY/images/trigger-options.png?fit=max&auto=format&n=t0r9cjm0Rx9xJoHY&q=85&s=e2f37d68fa3aa9ca22c2f082c0130fef" alt="CoachIQ automation trigger selection menu showing available triggers" width="1498" height="1148" data-path="images/trigger-options.png" />
    </Frame>
  </Step>

  <Step title="Add a Condition">
    We only want this automation to run for new members, not every purchase. Let's add a filter.

    Click **Add Condition** and select **Is a subscription**.

    Now this automation will only fire when someone purchases a subscription product—not one-time buys like camps or drop-in sessions.

    <Frame>
      <img src="https://mintcdn.com/coachiq/pVtDE0YddygGyYMh/images/condition-options.png?fit=max&auto=format&n=pVtDE0YddygGyYMh&q=85&s=b919671f0877c2f70c07f1a80a9f3fe3" alt="Adding the subscription condition" width="1510" height="1392" data-path="images/condition-options.png" />
    </Frame>

    <Tip>
      Conditions are optional, but they help you target the right people. You can add multiple conditions to get more specific.
    </Tip>
  </Step>

  <Step title="Add Your First Action — Send Email">
    Click **Add Action** and select **Send an Email**.

    Fill in the fields:

    | Field              | What to Enter                                    |
    | ------------------ | ------------------------------------------------ |
    | **To**             | User from trigger (this is automatic)            |
    | **Subject**        | `Welcome to the team, {{field.user.firstName}}!` |
    | **Message**        | See template below                               |
    | **Attach Session** | Select your main training session                |

    Here's a welcome email you can copy and paste:

    ```
    Hey {{field.user.firstName}},

    You're officially part of the team! 🎉

    Here's how to get started: book your first session using the link below. 
    If you have any questions, just reply to this email—I'm here to help.

    See you soon,
    [Your Name]
    ```

    <Note>
      **Dynamic fields** like `@User.FirstName` automatically insert each member's actual name. Your email stays personal without extra work.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/coachiq/JXXmA_QvX_9KCgui/images/automation-actions.png?fit=max&auto=format&n=JXXmA_QvX_9KCgui&q=85&s=d0c9a9f122a24db992d5315ecef566be" alt="Configuring the send email action" width="1566" height="1858" data-path="images/automation-actions.png" />
    </Frame>
  </Step>

  <Step title="Add a Second Action — Add Tag">
    Let's also tag new members so you can target them with future automations.

    Click **Add Action** and select **Add a Tag to a User**.

    | Field    | What to Enter                                |
    | -------- | -------------------------------------------- |
    | **User** | User from trigger                            |
    | **Tag**  | Select "Active Member" (or create a new tag) |

    Now every new subscriber automatically gets tagged, making it easy to send announcements or check engagement later.

    <Frame>
      <img src="https://mintcdn.com/coachiq/t7IbJ7SAz9G5Mnrk/images/add-tag-action.png?fit=max&auto=format&n=t7IbJ7SAz9G5Mnrk&q=85&s=1b9b51c2dfea976637f93a60aa83c269" alt="Adding a tag to the user" width="1560" height="958" data-path="images/add-tag-action.png" />
    </Frame>
  </Step>

  <Step title="Name and Activate">
    Give your automation a clear name like **New Member Welcome**.

    Click **Save** and toggle the automation **ON**.

    <Check>
      **That's it!** Your automation is now live. The next person who purchases a subscription will automatically receive your welcome email and get tagged as an Active Member.
    </Check>
  </Step>
</Steps>

***

## Verify It's Working

A few ways to confirm your automation is running:

* **Check the automation log**: Most automations show a history of recent runs
* **Make a test purchase**: Use a test account to subscribe and see if the email arrives
* **Wait for your next signup**: You'll see it appear in the automation history

***

## What You Just Learned

You now understand the three building blocks of every automation:

* **Triggers** start automations when something happens (a purchase, booking, [form submission](/forms/overview))
* **Conditions** filter who it applies to (only subscriptions, only first-time buyers)
* **Actions** are what CoachIQ does automatically (send [messages](/inbox/inbox-overview), add tags, manage credits)

Every automation in CoachIQ—no matter how complex—uses this same pattern.

***

## What's Next?

<CardGroup cols={2}>
  <Card title="Automation Playbook" icon="book" href="/automations/automation-playbook">
    Browse ready-to-use automations for trial conversions, member retention, credit reminders, and more.
  </Card>

  <Card title="Scheduled Automations" icon="calendar" href="/automations/scheduled-automations">
    Learn how to run automations on a schedule—like weekly check-ins for inactive members or credit expiration alerts.
  </Card>
</CardGroup>

## Related articles

<CardGroup cols={2}>
  <Card title="Forms Overview" icon="file-lines" href="/forms/overview">
    Build forms that trigger automations on submission
  </Card>

  <Card title="Creating Your First Scheduler" icon="calendar" href="/scheduling/creating-your-first-scheduler">
    Set up the sessions your automations will reference
  </Card>

  <Card title="Inbox Overview" icon="inbox" href="/inbox/inbox-overview">
    Where automated emails and in-app messages are delivered
  </Card>

  <Card title="Tags and Filters" icon="users" href="/people/tags-filters">
    Organize members with tags that automations can add or remove
  </Card>
</CardGroup>
