Skip to content
Notis

Webhook-triggered email thread replies

Your server logs an important event. Notis instantly sends a reply in the relevant Gmail thread so everyone's notified in context.

Trigger

Webhook received

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

Action

Reply to email thread

Sends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.

Why this helps

Events happen in your backend but your team doesn't know. Information lives in logs instead of in email conversations where people actually see it.

  • Team stays informed in the context of the conversation they care about
  • No separate emails—replies thread with existing conversations
  • Easier to follow a decision's full history
  • One less place to check (notifications stay in Gmail)

Setup

Build it in a few focused steps.

  • 1Connect Gmail to Notis.
  • 2Tell Notis: "When you receive a webhook with event data, find the related Gmail thread and send a reply with the update."
  • 3Set the trigger to "Notis Webhook" and Notis provides a webhook URL.
  • 4Configure your backend to POST event data to that URL.
  • 5Test by triggering an event and confirm the reply appears in the Gmail thread.

Questions about this workflow

How does Notis find the right thread to reply to?

You tell Notis how to match the webhook data to a thread (e.g., search for the customer name or project ID).

Can I customize the reply message based on the webhook data?

Yes. Tell Notis how to format the reply using the incoming event data.

What if the thread doesn't exist yet?

Notis can create a new thread or notify you manually—you decide.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Whatsapp triggers

Gmail actions

Message Status Updated

Triggers when a WhatsApp message status changes. IMPORTANT LIMITATION: WhatsApp Cloud API does not provide a native polling endpoint for message status. Status updates are ONLY delivered via webhooks in real-time. This trigger cannot directly poll the WhatsApp API for status updates. This trigger will return empty results as WhatsApp does not support this operation. To track message status updates, you must: 1. Set up a webhook endpoint to receive status notifications from WhatsApp 2. Store the webhook data in your own database 3. Use a different mechanism to query your stored webhook data For more information, see: - https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks

TriggerPolling

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

New Message Received

Triggered in real time when your WhatsApp Business number receives an inbound message from a customer (text, media, location, or contact). Delivered via the Cloud API webhook.

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

Interactive Reply Received

Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.

TriggerInstant

Create label

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

ActionInstant

Message Template Status Update

Triggered when the review status of a WhatsApp message template changes — for example approved, rejected, or flagged — on your WhatsApp Business Account.

TriggerInstant

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.

Not just Whatsapp and Gmail. Any combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Gmail.