How to Make Your Phone Cha-Ching using Gmail Every Time You Make A Sale with Freemius, EDD, or WooCommerce
A 5-min step-by-step configuration tutorial to make your (Android based) phone “Cha-Ching!” every time your plugin makes a sale, without any special apps, nor Zapier, using just Gmail. This’ll work whether you are using Freemius, EDD (Easy Digital Downloads), WooCommerce or any other sales solution.
Backstory
A few months ago I participated in WordCamp Toronto and heard my friend Brian Messenlehner, a co-founder & CTO at WebDevStudios, mentioning a very cool feature he had set on his iPhone. Every time they make a sale of one of their plugins, his mobile device makes a Cha-Ching sound. I thought to myself: “Isn’t that awesome?!”.
Why not use apps?
There are a bunch of ‘Ka-Ching’ apps on the App Store and the Google Play market but they all require an email account access using your actual credentials (not an OAuth). Too shady if you ask me. Also, having another app running on my device just for that sound didn’t make sense.
Why not use Zapier or IFTTT?
After doing some online research I found a way to make that automation with Zapier and IFTTT. Zapier’s free plan is limited to 100 automated actions per month. If you make more than 100 sales, you’ll have to pay. IFTTT is free, but after reading the following tutorial, I learned it requires installing additional apps, while Gmail allows setting up a custom sound notifications per label, and that’s enough for creating a platform-agnostic sound notification.
Cha-Ching Sound Notification Steps for Gmail
Just a heads up before you start: this configuration will not work with Google’s Inbox app. If you are using Inbox, you’ll have to install Gmail in parallel.
Also, if following written instructions isn’t your thing, we’ve additionally prepared a cool video guide (scroll down to find it :) )
- Run Gmail on your desktop computer.
- Type a rule that will match your sales emails in the search box.
- For Freemius payment emails, the rule looks like this:
from:([email protected]) AND subject:(you received a payment)
- If you are selling with EDD or WooCommerce PayPal gateway, the Gmail rule looks like that (both for one-time payments and for automatic renewals):
from:([email protected]) AND (subject:(received payment) OR subject:(automatic payment))
- If you are selling with EDD or WooCommerce Stripe gateway, the emails rule looks like this:
from:([email protected]) subject:(payment from) Charge - Click enter and you should see all your sale emails in the search results.
- Click on the small arrow next to the search button:
It will open up the filter set up box, just click on the “Create filter with this search” link:
5. Next, check the “Apply the label:” and select an existing label or create a new label for all the sale emails:
IMPORTANT: Do not use nested labels or labels with “/” in their name, apparently Gmail won’t work in that case (trust me, I wasted an hour figuring this out). Here are a few names you can use for your label:
- FS_Payments (for all Freemius payments)
- EDD_Payments (for all EDD payments)
- WC_Payments (for all WooCommerce payments)
- PayPal_Payments (for all PayPal payments)
- Stripe_Payments (for all Stripe payments)
6. Click on “Create filter” to finalize the filter creation.
7. Launch Gmail on your mobile phone (if it was already running, restart the app).
8.
Click the hamburger menu icon located at the top left-hand side of the app.
9. Scroll to the bottom until you see the “Settings” button and click it.
10. Click on your email account (the same inbox you used for creating the label).
11. Make sure the “Notifications” checkbox is checked, otherwise, all notifications will be off.
12. Scroll to the bottom till you see the “Manage labels” option and click it.
13. Scroll down until you find the newly created label, and click it.
14. Check the “Label notifications” and “Notify for every message” checkbox.
15. While you are still on your mobile device, download the Cha Ching sound from here (Personal Use Only), or Google “cha-ching sound” to find dozens of other versions.
16. Now click on the “Sound” button in the label settings.
17. At this point, your device will present a list of default sounds to choose from. To be able to browse further and choose your ‘Cha Ching’ sound file you may need to have the ES File Explorer app installed.
18. Browse to your ‘Downloads’ folder and select the downloaded mp3 ‘Cha-ching’ file.
19. Done!
You can repeat those steps to set up custom sound notifications for different plans, or even add an “Oh no” sound notifications when someone cancels a subscription.
If you have any other cool ideas for custom sound notifications, share them with us in the comments below.
Happy cha-chinging!
Originally published at freemius.com on November 23, 2016.