Review usage records after new pull request commits
A fresh commit is a useful checkpoint for checking whether usage-based billing behavior still lines up with the code.
Trigger
New Commit Added to Pull Request
Triggers when a new commit is pushed to a specific pull request. Monitors all commits on the specified pull request and emits an event for each newly added commit. This covers force-pushes and additional commits pushed to the PR's head branch.
Action
List All Usage Records
Tool to list all usage records. use when you need a paginated list of usage records, optionally filtered by subscription item id.
Why this helps
Usage tracking changes can be reviewed in code while real usage data remains out of sight.
- Connect implementation changes to usage data
- Catch entitlement issues earlier
- Reduce repeated manual lookups
Setup
Build it in a few focused steps.
- 1Connect GitHub and Lemon squeezy to Notis once through the portal.
- 2Tell Notis to list relevant Lemon squeezy usage records whenever a new commit is added to a pull request.
- 3Pick the New Commit Added to Pull Request trigger and choose a channel for reports.
- 4Test it on one active pull request.
Questions about this workflow
Is this only for usage-based products?
Yes, it is most useful when your Lemon squeezy setup uses usage records.
Can the prompt narrow the records?
Yes. State the subscription item or usage context you want Notis to review.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Lemon squeezy. A trigger fires from one place; an action lands in another.
GitHub triggers
Lemon squeezy actions
New Workflow Artifact Created
Triggers when a new workflow artifact is created in a GitHub repository. Monitors for newly created GitHub Actions workflow artifacts. Optionally filters by artifact name to restrict monitoring to specific artifacts.
Create Customer
Tool to create a new customer. use after verifying the store exists and you need to add a customer to it. example: "create a customer john doe with email johndoe@example.com in store 1."
Branch Changed
Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.
List All Affiliates
Tool to list all affiliates. use when you need to retrieve affiliates with optional filters and pagination.
New Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
List All Checkouts
Tool to list all checkouts. use when you need a paginated list of checkouts, optionally filtering by store or variant.
Check Run Status / Conclusion Changed
Triggers when a specific GitHub check run changes its status or conclusion. Monitors a single check run for changes to: status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, and completed_at.
List All Customers
Tool to list all customers. use when you need a paginated list of customers with optional filters.
Check Suite Status / Conclusion Changed
Triggers when a GitHub check suite changes its status or conclusion for a given ref. Monitors all check suites associated with a git reference (branch, tag, or commit SHA) for changes to status (queued, in_progress, completed, etc.) and conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale). Optionally filters by GitHub App ID.
List All Discount Redemptions
Tool to list all discount redemptions. use when you need a paginated list of discount redemptions, optionally filtering by discount or order.
New Code Scanning Alert Created
Triggers when a new code scanning alert is created in a repository. Fires an event for each newly created code scanning alert detected in the configured repository. Alerts can be filtered by Git reference, scanning tool, state, and severity. The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.
List All Discounts
Tool to list all discounts. use when you need a paginated list of discounts after confirming authentication.
New Repository Collaborator Added
Triggers when a new collaborator is added to a GitHub repository. Monitors the full list of collaborators on a repository and fires an event for each newly added collaborator. The payload includes the collaborator's GitHub username, account ID, profile URL, avatar URL, permission flags (pull, triage, push, maintain, admin), and assigned role name.
List All License Key Instances
Tool to list all license key instances. use when you need a paginated list of license key instances, optionally filtering by license key id.
Commit Event
Triggered when a new commit is pushed to a repository.
List All Order Items
Tool to list all order items. use when you need a paginated list of order items, optionally filtered by order, product, or variant.
Connect any two apps with Notis in the middle.
Not just GitHub and Lemon squeezy. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Lemon squeezy.