Prepare customer updates when a refund needs attention
Turn a refund follow-up signal into a customer update draft with the relevant payment context.
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
Refund questions often require checking payment details before replying, adding friction to a time-sensitive task.
- Bring invoice context into a customer update draft.
- Keep the response reviewable before it is sent.
- Reduce time spent switching between payment details and email.
Setup
Build it in a few focused steps.
- 1Connect BTCPay Server and Gmail once in Notis.
- 2Create an automation that checks the referenced invoice and drafts a factual customer update based on available refund status.
- 3Choose a webhook trigger and select where run reports go.
- 4Test with one real refund-related notification and verify the status before using the draft.
Questions about this workflow
Does this initiate or issue a refund?
No. The workflow checks available payment information and creates a Gmail draft; it does not issue a refund.
What should the webhook contain?
It should include enough context for Notis to identify the relevant BTCPay invoice or payment.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Btcpay server to Gmail. A trigger fires from one place; an action lands in another.
Btcpay server 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.
Btcpay server 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.