Sync Gmail Labels with External Systems
Your external system sends a webhook asking 'what labels do you have?' and Notis responds with the full list, keeping systems in sync.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
List Gmail labels
Retrieves a list of all system and user-created labels for the specified gmail account.
Why this helps
External automation systems need to reference Gmail labels but can't access them, causing sync errors and mismatched data
- Keep external systems updated with current Gmail labels
- Prevent errors from referencing deleted or renamed labels
- Reduce manual label data entry across systems
Setup
Build it in a few focused steps.
- 1Connect Gmail to Notis.
- 2Tell Notis: 'When external systems webhook me asking for labels, return the current list.'
- 3Notis provides a webhook URL for your external system to call.
- 4Your external system calls the webhook and receives the label list.
- 5Test by calling the webhook and verifying the label list is returned.
Questions about this workflow
How often are labels refreshed in the response?
Real-time. Every webhook call returns the current labels in your Gmail account.
Can I filter which labels are returned?
Yes. Tell Notis to return only custom labels, or exclude system labels like 'Sent' and 'Draft.'
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Jira to Gmail. A trigger fires from one place; an action lands in another.
Jira triggers
Gmail actions
New Issue
Fires when a new issue is created in the Jira project you configure. Only issues created in that project produce an event.
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).
New Project
Triggered when a new project is added in Jira
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.
Updated Issue
Fires when an existing issue is changed in the Jira project you configure — for example its status, assignee, or any other field on the issue is updated. Only issues in that project produce an event. It does not fire on comment activity: adding, editing, or deleting a comment on an issue will not produce an event from this trigger.
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.
Not just Jira 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.