Create Stripe draft invoices from Adafruit IO usage
When a device reports billable usage, let Notis prepare the invoice while you keep the final review.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Create an invoice
Creates a new draft stripe invoice for a customer; use to revise an existing invoice, bill for a specific subscription (which must belong to the customer), or apply detailed customizations.
Why this helps
Transferring device usage into customer invoices by hand is easy to postpone and hard to reconcile.
- Reduce manual usage-to-invoice work.
- Keep invoices in draft for review before sending.
- Use the customer and billing rules named in your instruction.
Setup
Build it in a few focused steps.
- 1Connect Adafruit IO and Stripe once in the Notis portal.
- 2Create an automation in the portal or tell Notis from any channel.
- 3In one instruction, explain how the webhook payload identifies the customer and billable usage, and ask Notis to create a draft invoice.
- 4Pick the webhook trigger and choose where run reports go.
- 5Test with one real usage webhook and review the draft invoice.
Questions about this workflow
Does this send the invoice to the customer?
No. This workflow creates a draft invoice for review; sending it requires a separate step.
What must the webhook include?
Include enough information to identify the Stripe customer and describe the usage to bill. State your billing rules in the instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Adafruit IO to Stripe. A trigger fires from one place; an action lands in another.
Adafruit IO triggers
Stripe actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Cancel subscription
Cancels a customer's active stripe subscription at the end of the current billing period, with options to invoice immediately for metered usage and prorate charges for unused time.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Confirm payment intent
Confirms a stripe paymentintent to finalize a payment; a `return url` is necessary if the payment method requires customer redirection.
Create Customer
Creates a new customer in stripe, required for creating charges or subscriptions; an email is highly recommended for customer communications.
Create an invoice
Creates a new draft stripe invoice for a customer; use to revise an existing invoice, bill for a specific subscription (which must belong to the customer), or apply detailed customizations.
Create payment intent
Creates a stripe paymentintent to initiate and process a customer's payment; using `application fee amount` for a connected account requires the `stripe-account` header.
Create a price
Creates a new stripe price for a product, defining its charges (one-time or recurring) and billing scheme; requires either an existing `product` id or `product data`.
Create product
Creates a new product in stripe, encoding the request as `application/x-www-form-urlencoded` by flattening nested structures.
Create Refund
Creates a full or partial refund in stripe, targeting either a specific charge id or a payment intent id.
Connect any two apps with Notis in the middle.
Adafruit IO and Stripe, 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 Stripe.