Use cases

Notify your backend of an app purchase

Use case

Want to have you backend updated with minimal effort?

There are some type of events that you need to have in your backend. Use Liquid to update automatically every time something you need to know occurs.

Notify your backend of an app purchase

Formula

When you use Liquid's Formulas, you'll select the audience, the action and the time.

Notify your backend of an app purchase

Audience

All users

Action

WebHook - Notify backend and update user

Time

Activity based on Purchase Credits

Step by step guide
  1. 1. Navigate to the Formulas page.
  2. 2. Click New Formula in the upper-right corner of the screen.
  3. New Formula Button
  4. 3. Set up each step as follows:
Audience

Select “All users” in the Audience screen.

Formula audience to Notify your backend of an app purchase
Action

Select WebHook as the action and past the WebHook url to it.

Formula action to Notify your backend of an app purchase
Time

Make the action Activity-based and select the option that is triggered by the “buy_product” event.

Formula time to Notify your backend of an app purchase
  1. 4. When you're done click on Activate Formula, choose a meaningful name, and you're done!
  2. Activate Formula Button
Ready to try Liquid Formulas with your app?
Simple and fast integration for iOS and Android