MolKit logo
Tools

Step 2 of 10

Connect Gmail trigger and filter scope

Configure Zapier to trigger only on emails that belong to your autoresponder workflow, not newsletters, automated notifications, or out-of-scope messages.

Why this matters

The trigger scope determines how many emails enter your workflow. Too broad and you waste processing on newsletters and receipts. Too narrow and legitimate inquiries are missed. Getting the filter right before you build the rest of the workflow saves you from discovering mid-production that your Zap is running on 200 spam emails per day.

Build instructions

Set up a Gmail label for automation scope

Labels are the most reliable way to control which emails enter your Zap. Only emails with the specified label will trigger the workflow.

  1. Step 1

    In Gmail, go to Settings → Labels → Create new label. Name it 'AutoRespond'. Click Create.

  2. Step 2

    Now create a Gmail filter that automatically applies this label to incoming emails matching your scope. Go to Settings → Filters and Blocked Addresses → Create a new filter.

  3. Step 3

    In the filter criteria, specify what qualifies as an in-scope email. Example: To: your-support@yourdomain.com OR Subject: contains 'inquiry'. Click 'Create filter'. Check 'Apply the label: AutoRespond'. Click Create.

  4. Step 4

    Going forward, only emails that match this filter will get the AutoRespond label, and only those emails will trigger your Zap.

Configure the Zapier Gmail trigger

  1. Step 1

    In Zapier, create a new Zap. Set trigger app to 'Gmail'. Choose trigger event 'New Email Matching Search'.

  2. Step 2

    Connect your Gmail account. In the 'Search String' field, type 'label:AutoRespond'. This tells Zapier to only trigger on emails with your AutoRespond label.

  3. Step 3

    Click 'Test trigger'. Zapier will attempt to find a recent email with the AutoRespond label. If no emails have the label yet, apply it manually to one email in Gmail for testing.

Add pre-filters to exclude noisy senders

  1. Step 1

    Click '+' to add a Filter step after the trigger. Add a condition: 'From Email' does not contain 'noreply' AND does not contain 'no-reply' AND does not contain 'mailer-daemon'.

  2. Step 2

    Add a second condition: 'From Email' does not end with common newsletter domains you want to exclude.

  3. Step 3

    These filters run before any AI classification, eliminating obvious noise before spending API calls on it.

Common mistakes

  • Using the 'New Email' trigger without a search string or label filter. This triggers on every email in the inbox, including spam, newsletters, and auto-replies. Your Zap will quickly exhaust its monthly task limit.
  • Not testing the label filter before building further. Apply the AutoRespond label to a test email in Gmail, then click 'Test trigger' in Zapier. If it does not find the email, the label filter is not working and nothing downstream will work.

Pro tips

  • Create a separate Gmail account or alias specifically for this autoresponder (e.g. support@yourdomain.com). Point the automation at that address. This keeps your personal inbox clean and scopes the automation precisely.

Before you continue

Click 'Test trigger' in Zapier and it returns at least one email that has the AutoRespond label. The email shows fields for From, Subject, Body/Snippet, and Thread ID. The filter step correctly blocks a test email from a noreply sender.

Step result

The Zap triggers only on emails that are in scope. Newsletters, automated notifications, and out-of-scope messages are filtered out before any processing begins.