Open paid Aminos agency plans from Lemon Squeezy
Give a new agency client the Aminos panel plan that matches their paid Lemon Squeezy subscription and save the account receipt in MongoDB.
23 stepsSalesOperations
Free to start, no card required.
How it works

When this happens
Receive a new agency subscription
Lemon Squeezy
Step 1 · Code
Map sold tiers to Aminos plans
Step 2
Check the subscription reference
Follows the first path that matches
New subscription received

Step 3 · Lemon Squeezy
Read the new subscription and variant
Step 4 · Code
Check the live tier and customer
Step 5
Check the agency plan mapping
Follows the first path that matches
Live subscription maps to one plan

Step 6 · Lemon Squeezy
Confirm payment for this subscription
Step 7 · Code
Verify payment, buyer and order item
Step 8
Check full payment
Follows the first path that matches
Matching order is paid and unrefunded
Step 9 · Code
Identify the client’s provisioning claim

Step 10 · Lemon Squeezy
Recheck the current subscription
Step 11 · Code
Check for cancellation or tier changes
Step 12
Check the current plan
Follows the first path that matches
Same paid tier is still active

Step 13 · Lemon Squeezy
Recheck the charge before provisioning
Step 14 · Code
Check the order for refunds or edits
Step 15
Check the latest payment state
Follows the first path that matches
Payment remains eligible

Step 16 · MongoDB
Reserve the new client account
Step 17 · Code
Check who reserved the panel account
Step 18
Check for an existing account claim
Follows the first path that matches
First reservation for this client

Step 19 · Aminos
Open the purchased Aminos panel plan
Step 20 · Code
Validate the new panel user ID

Step 21 · MongoDB
Save the client’s new panel user ID
Step 22 · Code
Confirm the saved account receipt
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Before you start
Select one live Lemon Squeezy store and map two subscription variant IDs to distinct numeric plan IDs in your agency’s Aminos One panel. Connect that panel and prepare a private MongoDB collection for new clients, with one purchase and one panel login per billing email. Review a reserved receipt or existing account in the panel before retrying an uncertain creation.
Accounts to connect
Similar templates
See all 144 in Sales- Close the clinic’s appointment day in MongoDBArchive yesterday’s appointment outcomes page by page, using booking references and excluding patient details.Uses Schedule, Clínica nas Nuvens, MongoDB9 steps · Operations
- Capture incident work notes for a service handoverRegister the existence of an internal work note on the incident and assign a handover review. Keep the note text inside ServiceNow.Uses ServiceNow, Weekdone, MongoDB4 steps · Customer support
- Queue generated statements for pre-distribution checksInspect the generated statement before distribution. Record its template and file name so an auditor can locate the original without a temporary download URL.Uses PDFMonkey, TickTick, MongoDB4 steps · Operations
Your first automationstarts with one sentence.
Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.