arrow_back

Development

3 Apr 2024

Why build your own promotion infrastructure?

Christoph Gerber Talon.One Founder & CEO

Christoph Gerber

Founder & CEO

why build your own promotion infrastructure
access_time_filled

5 minutes to read

Being able to use the right tool for the job is more important than… eating breakfast or finding the perfect GIF response. As developers, we are constantly on the lookout for tools that let us get our jobs done faster and safer, with fewer "gotchas" and deployment headaches.

What solution are you using to run promotions?

Does your company rely on a third party promotion solution with limited flexibility (read: frustrating)? Or maybe you're campaigning to finally refactor that legacy code that nobody quite understands anymore? Perhaps you've been trying to find the time to build a promotion engine on your days off which is powerful and flexible enough to manage all the annoying promotional campaign requests from your marketing team?

Why would you build your own promotion engine in-house when you can integrate with Talon.One?

It's true that integrating a third-party service always has some complexity trade-off, but paying the (small) upfront development cost of integrating Talon.One gives great returns over time. If you don't need more flexibility or power than simple coupon-based rebates, Talon.One is probably not the right tool for you, but in our experience, the complexity of promotions (and the software that supports them) only grows over time.

We'd like to demonstrate this with some concrete scenarios, and we'll start with the simplest possible promotion: Applying a fixed discount with a valid coupon code from our free online coupon code generator.

Fixed discount coupons in-house

To support this simple scenario in-house, you would need to do something a bit like this:

  • Extend your model of an order to allow adding adjustments. (There's a good chance you already have this)

  • Create a Coupon entity in your application.

  • Connect that coupon entity to the order entity so that it can add adjustments.

  • Define the business logic for limiting usage.

  • Add UI for customers to enter coupon codes.

  • Validate the coupon and add an adjustment to the order when a coupon is submitted.

  • Add administrative screens for managing coupons.

Fixed discount coupons with Talon.One

To support this use-case with Talon.One, starting from scratch with no integration, you would do something like this:

  • Extend your model of a customers order to allow adding adjustments. (Again, you probably already have this)

  • Set up one of our SDK's with credentials.

  • Implement an effect handler for setDiscount that will add an adjustment to the current order.

  • Implement an effect handler for rejectCoupon that will display a message to your customer when their coupon is invalid.

  • Add UI for customers to enter coupon codes.

  • Integrate a Talon.One API call when a coupon is submitted.

  • Create the campaign in our Campaign Manager.

Even though we've glossed over a lot of complexity in Create a Coupon entity, I'd expect you could get an MVP version of these features built in-house in around the same time it takes to build the Talon.One integration.

image

As promotions get more complex however, the amount of change to your Talon.One integration remains minimal and predictable.

As our next example, let's consider a referral program. Referring a friend gives your friend a percentage discount on their first order, and yourself (the advocate) a coupon credit for a future purchase.

In-house referrals:

  • Create a Referral entity in your application.

  • Connect the referral entity to the Order entity so that it can add adjustments.

  • Add UI for customers to refer a friend.

  • Create a referral when a new referral is submitted.

  • Add UI for customers to enter a referral code (this UI might be invisible, e.g. referral codes in links, but it still needs to be built).

  • Validate referral codes when they are submitted.

  • When they are valid, apply the discount to the friend's order.

  • When the order is completed, create a new coupon for the advocate, and notify them of the new coupon code.

  • Add administrative UI for managing referrals.

Talon.One referrals:

  • Add UI for customers to refer a friend.

  • Integrate Talon.One API calls when a new referral is submitted.

  • Add UI for viewing referrals

  • Integrate Talon.One API calls for fetching current referrals when this UI is viewed.

  • Implement an effect handler for rejectReferral that will display a message to your customer when the referral code is invalid.

  • Implement an effect handler for createCoupon that will send newly created coupon codes to a specified customer.

  • Create the campaign in our Campaign Manager.

Even with this relatively simple promotion, the Talon.One integration starts to pay off right away, and the next time you want a variant on the referral program there's no new integration work to be done at all.

Continued savings

We haven't yet touched on other requirements such as targeting specific customer segments, scheduling promotions, creating and managing gift cards, etc. Any of these require a similarly small & predictable effort to integrate: Simply add an API call to feed the necessary information into Talon.One.

Check out our interactive Quickstart Guide and make your first API calls right from your browser, or read a tutorial on Integrating Talon.One to get a feel for how the integration looks in your codebase.

If you'd like to learn more about the challenges of building or buying your promotional software, we recommend you take a look at our white paper on the topic.

Monthly loyalty newsletter

Join thousands of marketers and developers getting the latest loyalty & promotion insights from Talon.One. Every month, you’ll receive:

check_circle

Loyalty and promotion tips

check_circle

Industry insights from leading brands

check_circle

Case studies and best practises

Newsletter author

Isabelle Watson

Loyalty & promotion expert at Talon.One

Talon.One Logo

The World's Most Powerful Promotion Engine

BERLIN

Wiener Strasse 10
10999 Berlin
Germany

BIRMINGHAM

41 Church Street
B3 2RT Birmingham
United Kingdom

BOSTON

One Boston Place, Suite 2600
02108 Boston, MA
United States

SINGAPORE

1 Scotts Road, #21-10 Shaw Centre
228208 Singapore
Singapore

G2 LogoMach Alliance LogoISO 27001 Logo
CCPA Logo
GDPR Logo

© 2024 Talon.One GmbH. All rights reserved.