Recued
Menu
← Back to recipes

Renew subscription access order (Lemon Squeezy)

by recued-core v3 44 views

Use “Renew subscription access order (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

Complete workflow

Use Seller Subscription Payment Events (Lemon Squeezy) in Recued for payment observer and provider source truth over Lemon Squeezy subscriptions. It includes 1 related pack in one install.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Renew subscription access order (Lemon Squeezy)
This recipe Background automation

Use “Renew subscription access order (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookrenewalprovider-source-truth
by recued-core pinned v3

Use “Observe seller subscription payment event (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v4

Use “Signal access on payment failure (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Close access on subscription cancellation (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Pause access on subscription pause (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Resume access on subscription resume (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3
Show all 7 recipes

Use “Swap tier on subscription change (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3
View pack details, dependencies, and permissions →
How it works 83 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (83 steps)
■ door_id trim
Trim whitespace from setting door id
■ door_id_present compare
Check if door id has data
◆ webhook_event core.webhook.event.get
Get webhook event
■ profile_exact compare
Check if webhook event delivery profile id is one of lemonsqueezy.webhook.v1
■ decoded_schema_exact compare
Check if webhook event delivery decoded schema id is one of lemonsqueezy.webhook.v1
■ transport_exact compare
Check if webhook event delivery transport assurance is one of authenticated
■ source_truth_policy_exact compare
Check if webhook source truth policy is one of provider_readback_required
■ payload_event_type_exact compare
Check if webhook event payload meta event name is one of webhook event event provider event type
■ payload_resource_id_exact compare
Check if webhook event payload data id is one of webhook event event provider resource id
■ payload_resource_type_exact compare
Check if webhook event payload data type is one of subscription-invoices
■ envelope_shared_valid all
Check if all conditions are true
■ event_type_supported compare
Check if webhook event event provider event type is one of subscription_payment_success
■ invoice_id template
Generate text from a template
■ invoice_id_present compare
Check if invoice id has data
■ invoice_id_truncated truncate
Truncate invoice id to a max length
■ invoice_id_bounded compare
Check if invoice id is one of invoice id truncated
■ invoice_envelope_valid all
Check if all conditions are true
◆ invoice_read recued-core.seller-lemonsqueezy.subscription_invoice.read
Read subscription invoice on seller lemonsqueezy
skip: step.invoice_envelope_valid equal false
■ invoice_id_matches compare
Check if invoice read result data id is one of invoice id
■ invoice_type_exact compare
Check if invoice read result data type is one of subscription-invoices
■ invoice_subscription_id template
Generate text from a template
■ invoice_subscription_id_present compare
Check if invoice subscription id has data
■ invoice_subscription_id_truncated truncate
Truncate invoice subscription id to a max length
■ invoice_subscription_id_bounded compare
Check if invoice subscription id is one of invoice subscription id truncated
■ invoice_customer_id template
Generate text from a template
■ invoice_customer_id_present compare
Check if invoice customer id has data
■ invoice_customer_id_truncated truncate
Truncate invoice customer id to a max length
■ invoice_customer_id_bounded compare
Check if invoice customer id is one of invoice customer id truncated
■ subscription_read_allowed all
Check if all conditions are true
◆ subscription_read recued-core.seller-lemonsqueezy.subscription.read
Read subscription on seller lemonsqueezy
skip: step.subscription_read_allowed equal false
■ subscription_id_exact compare
Check if subscription read result data id is one of invoice subscription id
■ subscription_type_exact compare
Check if subscription read result data type is one of subscriptions
■ subscription_customer template
Generate text from a template
■ subscription_customer_matches_invoice compare
Check if subscription customer is one of invoice customer id
■ subscription_read_valid all
Check if all conditions are true
■ claimed_workflow_key default
Apply default
■ claimed_workflow_key_present compare
Check if claimed workflow key has data
■ claimed_workflow_key_prefix starts_with
Check if claimed workflow key starts with ord:
■ claimed_workflow_key_truncated truncate
Truncate claimed workflow key to a max length
■ claimed_workflow_key_bounded compare
Check if claimed workflow key is one of claimed workflow key truncated
■ claim_read_allowed all
Check if all conditions are true
◆ acquisition_order_read core.seller.order.get
Get seller order
skip: step.claim_read_allowed equal false
■ acquisition_found compare
Check if acquisition order read order exists
■ acquisition_provider_matches compare
Check if acquisition order read order provider is one of lemonsqueezy
■ subscription_order_id template
Generate text from a template
■ subscription_order_matches_acquisition compare
Check if subscription order id is one of acquisition order read order provider payment id
■ subscription_is_ours all
Check if all conditions are true
■ invoice_paid compare
Check if invoice read result data attributes status is one of paid
■ invoice_billing_reason_renewal compare
Check if invoice read result data attributes billing reason is one of renewal
■ invoice_net_amount math
Calculate invoice read result data attributes subtotal minus invoice read result data attributes discount total
■ invoice_currency_lower lowercase
Convert invoice read result data attributes currency to lowercase
■ subscription_live compare
Check if subscription read result data attributes status is one of active,on_trial
■ period_end_ms date_parse
Parse subscription read result data attributes renews at as a date
■ period_end_present compare
Check if period end ms exists
■ acquisition_order_key default
Apply default
■ subscription_proof_valid all
Check if all conditions are true
■ acquisition_entitlement default
Apply default
■ acquisition_names_tier compare
Check if acquisition entitlement has data
■ acquisition_recurring compare
Check if acquisition order read order pricing kind is one of recurring
■ renewal_open_allowed all
Check if all conditions are true
◆ renewal_order_open core.seller.order.open
Open seller order
skip: step.renewal_open_allowed equal false
■ renewal_order_opened compare
Check if renewal order open order exists
■ renewal_already_complete compare
Check if renewal order open order phase is one of complete
■ renewal_confirm_eligible compare
Check if renewal order open order phase is one of draft
■ renewal_resume_fulfilment compare
Check if renewal order open order phase is one of paid,fulfilling
■ renewal_confirm_allowed all
Check if all conditions are true
◆ confirm_renewal core.seller.order.confirm-renewal-payment
Confirm renewal payment seller order
skip: step.renewal_confirm_allowed equal false
■ confirm_advanced compare
Check if confirm renewal order phase is one of paid
■ fulfil_eligible_any any
Check if any of the conditions are true
■ fulfil_allowed all
Check if all conditions are true
■ phase_before_fulfilment coalesce
Use the first available value from: confirm renewal order phase, renewal order open order phase
■ revision_before_fulfilment coalesce
Use the first available value from: confirm renewal order revision, renewal order open order revision
■ needs_fulfilling_transition all
Check if all conditions are true
◆ to_fulfilling core.seller.order.transition
Transition seller order
skip: step.needs_fulfilling_transition equal false
■ revision_before_issue coalesce
Use the first available value from: to fulfilling order revision, revision before fulfilment
◆ issue_access core.seller.customer-access.issue
Issue seller customer access
skip: step.fulfil_allowed equal false
■ issued_customer_present compare
Check if issue access customer customer id exists
■ link_and_close_allowed all
Check if all conditions are true
◆ link_customer core.seller.order.link-customer
Link customer seller order
skip: step.link_and_close_allowed equal false
◆ to_complete core.seller.order.transition
Transition seller order
skip: step.link_and_close_allowed equal false
■ renewal_advanced compare
Check if to complete order phase is one of complete
■ acquisition_unresolved all
Check if all conditions are true
■ event_summary to_summary
Format results as a summary card
▼
Output
summary event_summary
Settings 1 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

door id setting = main

Uses (9 operations)

Webhooks Get webhook event core.webhook.event.get
Pack operation Read subscription invoice on seller lemonsqueezy recued-core.seller-lemonsqueezy.subscription_invoice.read
Pack operation Read subscription on seller lemonsqueezy recued-core.seller-lemonsqueezy.subscription.read
Selling Get seller order core.seller.order.get
Selling Open seller order core.seller.order.open
Selling Confirm renewal payment seller order core.seller.order.confirm-renewal-payment
Selling Transition seller order core.seller.order.transition
Selling Issue seller customer access core.seller.customer-access.issue
Selling Link customer seller order core.seller.order.link-customer

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read Webhooks core.webhook.event.get read-only
Read Selling core.seller.order.get read-only
Write Selling core.seller.order.open external change
Write Selling core.seller.order.confirm-renewal-payment external change
Write Selling core.seller.order.transition external change
Write Selling core.seller.customer-access.issue external change
Write Selling core.seller.order.link-customer external change

2 more aren't listed here. You'll see them at install.

Data it touches

SurfacesWebhooksSelling
Warehousedata.iddata.typedata.attributes

About

Tags

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookrenewalprovider-source-truthcustomer-accesssellersubscriptionprovider:lemonsqueezyd-196

Details

83 steps 1 configurable settings recipe_id: renew-subscription-access-order-lemonsqueezy