Carry an explicit cleanup request to Agent mail
When a cleanup decision is recorded, use a specific thread reference to carry out the requested removal.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Delete Thread
Permanently delete a thread and all its messages.
Why this helps
A cleanup request can be forgotten when the decision is tracked separately from the conversation it applies to.
- Connect a recorded cleanup request to its thread
- Avoid searching for the selected conversation
- Keep the request and result visible in run reports
Setup
Build it in a few focused steps.
- 1Connect AnyDB and Agent mail once in the Notis portal.
- 2Create an automation in Automations, New Automation, or tell Notis to create it in plain language.
- 3Describe the outcome and require an explicit cleanup request plus the exact thread identifier in the webhook.
- 4Choose the webhook trigger and where run reports should go.
- 5Test the request handling with a non-production example and verify the target thread identifier.
Questions about this workflow
Is deletion reversible?
Delete Thread permanently deletes one thread and all its messages.
Can the workflow choose a thread based on a vague description?
Require a valid thread identifier in the request so the action targets a specific conversation.
What should trigger deletion?
The automation instruction should require an explicit cleanup request and the exact thread reference from the webhook.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link AnyDB to Agent mail. A trigger fires from one place; an action lands in another.
AnyDB triggers
Agent mail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Message
Retrieves the full details of an email message from an inbox.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Draft
Create a draft and optionally schedule its automatic delivery.
List Messages
Lists messages in an inbox.
Create Inbox
Create an inbox for sending and receiving messages.
Send Email
Sends an email.
Create Inbox API Key
Create an inbox-scoped API key; omitting permissions grants all available inbox permissions.
Delete Thread
Permanently delete a thread and all its messages.
Get API Key
Retrieve API key details without exposing its secret.
Connect any two apps with Notis in the middle.
AnyDB and Agent mail, 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 Agent mail.