Mark build notifications after review
Keep the email trail aligned with the CircleCI result you checked.
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
It is easy to review a build in CircleCI and forget which inbox notification it came from.
- Make reviewed notices distinguishable from unread work.
- Connect the build review to its related email.
- Keep a lightweight audit trail in Gmail.
Setup
Build it in a few focused steps.
- 1Connect CircleCI and Gmail once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it Label Reviewed Build Notifications.
- 3Tell Notis to review the CircleCI result referenced by the request, find its related Gmail notification, and apply the existing label you specify when a match is clear.
- 4Choose a webhook trigger, select where run reports should go, and test with one real example.
Questions about this workflow
What if no matching email is found?
Instruct Notis to report that no match was found and leave Gmail unchanged.
Can it use a label that does not exist yet?
No. Create the Gmail label first, then specify it in the instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Circleci to Gmail. A trigger fires from one place; an action lands in another.
Circleci triggers
Gmail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
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).
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
Create label
Creates a new label with a unique name in the specified user's gmail account.
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`.
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.
Fetch emails
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
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`.
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`.
Connect any two apps with Notis in the middle.
Circleci 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.