Prepare a follow-up draft when an IoT device goes offline
Keep device outages from becoming another task to reconstruct. Get a draft with the supplied outage details ready for review.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
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.
Why this helps
When a device stops reporting, identifying it and writing a useful update can add another interruption to an already busy day.
- Gather the supplied device and outage details in one draft.
- Review wording and recipients before sending.
- Make outage communication easier to pick up after an interruption.
Setup
Build it in a few focused steps.
- 1Connect Adafruit IO and Gmail once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3In one instruction, ask Notis to draft an email summarizing the supplied offline-device notice for review.
- 4Choose the webhook trigger and send the notice to that webhook.
- 5Choose a report channel, then test with one real offline notice.
Questions about this workflow
Will this send the message automatically?
No. This workflow creates a Gmail draft for you to review and send.
What details should the webhook request include?
Include whatever is available, such as a device identifier, last reported time, and outage notice. Notis cannot infer missing device history.
Can Notis determine how long the device has been offline?
Only if the request includes the relevant timestamps or duration. Otherwise, the draft can report the outage notice without claiming a duration.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Adafruit IO to Gmail. A trigger fires from one place; an action lands in another.
Adafruit IO 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.
Adafruit IO 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.