Skip to content
Recued
Menu
← Back to recipes

Create a Recurly coupon intake

by recued-core v1

Approval-gated Recurly coupon creation. It searches existing coupons and plans for context, then creates one coupon through recued-core.recurly.coupon.create with explicit code, name, discount type, and optional percent or currency discounts. It does not update coupons, expire coupons, create unique codes, mutate redemptions, mutate subscriptions, or call arbitrary Recurly endpoints.

How it works 9 steps

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

Process (9 steps)
coupon_code trim
Trim whitespace from setting code
coupon_name trim
Trim whitespace from setting name
coupons ?
plans ?
has_code compare
Check if coupon code has data
has_name compare
Check if coupon name has data
ready all
Check if all conditions are true
create_coupon ?
skip: step.ready not_equal true
card to_summary
Format results as a summary card
Settings 8 configurable

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

code setting =
name setting =
recurly setting =
currency setting = USD
discount setting = 0
discount type setting = percent
max redemptions setting = 0
discount percent setting = 10

Trust & control

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

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Recurly connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

recurly recurlycoupondiscountpromotionintakeapprovalpack:recurly

Details

9 steps 8 configurable settings recipe_id: create-recurly-coupon-intake