Skip to content
Notis

Apply a Chatfai decision to Gmail labels

Let Chatfai decide the category and keep Gmail organized automatically.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

Modify email labels

Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).

Why this helps

Manual labeling breaks down when messages arrive faster than you can sort them.

  • Applies consistent labels to selected messages
  • Keeps classification tied to your reasoning
  • Reduces inbox sorting effort

Setup

Build it in a few focused steps.

  • 1Connect Chatfai and Gmail once in the Notis portal.
  • 2Create the automation and describe the labeling decision and conditions.
  • 3Pick the Chatfai webhook trigger and choose a report destination.
  • 4Test with one message ID and existing Gmail label IDs.

Questions about this workflow

Do labels need to exist first?

Yes. Use existing valid Gmail label IDs, which you can find with the list labels action.

Can it remove labels too?

Yes. The action supports adding and removing specified labels.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Chatfai to Gmail. A trigger fires from one place; an action lands in another.

Chatfai triggers

Gmail actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Modify email labels

Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create email draft

Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.

ActionInstant

Create label

Creates a new label with a unique name in the specified user's gmail account.

ActionInstant

Delete Draft

Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.

ActionInstant

Delete message

Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.

ActionInstant

Fetch emails

Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.

ActionInstant

Fetch message by message ID

Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.

ActionInstant

Fetch Message by Thread ID

Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.

ActionInstant

Connect any two apps with Notis in the middle.

Chatfai and Gmail, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Gmail.