Recued
Menu
← Back to recipes

Create a Recurly coupon intake

by recued-core v2 24 views

Use “Create a Recurly coupon intake” in Recued. It runs the Recurly coupon creation with approval before changes are made.

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 recued-core.recurly.coupon.search
Search coupon on recurly
◆ plans recued-core.recurly.plan.search
Search plan on recurly
■ 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 recued-core.recurly.coupon.create
Create coupon on recurly
skip: step.ready not_equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
json coupons.result
json create_coupon.result
Settings 7 configurable

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

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

Uses (3 operations)

Pack operation Search coupon on recurly recued-core.recurly.coupon.search
Pack operation Search plan on recurly recued-core.recurly.plan.search
Pack operation Create coupon on recurly recued-core.recurly.coupon.create

Trust & control

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

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 7 configurable settings recipe_id: create-coupon-intake-recurly