Clear a Bolt Signal When Its Drive File Is Removed
Clear a defined digital output when its associated file is removed, without relying on someone to remember a separate device step.
Trigger
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Action
Bolt IoT Digital Write
Tool to set a digital pin high or low on a specified bolt device. use when controlling actuators or leds via digital output.
Why this helps
Removing a file can leave its related device signal active unless someone remembers to clear it in another tool.
- Tie a defined digital output reset to file removal.
- Reduce forgotten cleanup steps across Drive and Bolt IoT.
- Receive a run report for the deletion-triggered action.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Bolt IoT once in the Notis portal.
- 2Create an automation named for clearing the file's device signal.
- 3Tell Notis to set a specified Bolt device's digital pin low when the related Drive file is trashed or deleted.
- 4Choose the Google Drive File Deleted or Trashed trigger and select where run reports should go.
- 5Test with one real file removal and confirm the specified pin is set low.
Questions about this workflow
Does the event distinguish trashing from permanent deletion?
The listed trigger covers a file moved to trash or permanently deleted. The workflow should handle either as the removal signal.
Can the automation restore the file or reverse the pin change?
No. This action sets a digital pin high or low; it does not restore Drive files or provide an automatic undo.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Bolt iot. A trigger fires from one place; an action lands in another.
Google Drive triggers
Bolt iot actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Analog Read
Tool to read the analog value from a specified pin on a bolt device. use when you need sensor readings (0–1023) after confirming the device is online.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Bolt IoT Digital Write
Tool to set a digital pin high or low on a specified bolt device. use when controlling actuators or leds via digital output.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Check Bolt device online status
Tool to check whether a specified bolt device is online. use when you need to verify device connectivity before sending commands (e.g., control signals). example: 'check if device bolt1234567 is online.'
File Created
Triggers when a new file is created in Google Drive.
Bolt IoT Digital Write
Tool to set a digital pin high or low on a specified bolt device. use when controlling actuators or leds via digital output.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Bolt IoT Serial Read
Tool to read incoming serial data from a bolt device. use when you've initialized uart with serialbegin and need to retrieve serial data.
File Shared (Permissions Added)
Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.
Bolt IoT Serial Write
Tool to send serial data to a bolt device. use when you need to transmit ascii data over uart after initializing uart with serialbegin.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Bolt IoT Serial Write & Read
Tool to send serial data and read the response on a bolt device. use when you need to transmit ascii data over uart and capture its reply immediately.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Connect any two apps with Notis in the middle.
Google Drive and Bolt iot, 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 Bolt iot.